Property Page Running in different thread??

Add-in Express™ Support Service
That's what is more important than anything else

Property Page Running in different thread??
How to access variables in Option Page and in Addin 
Thomas Grossen


Guest


Dear Sergey,

I am interested by the solution you give to Michael on the topic ???Property Page Running in different thread???? (17.06.2005), I have encontred the same problem.

Thank you.
Posted 20 Feb, 2006 09:55:00 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Thomas.

Please look at the following example:
http://www.add-in-express.com/projects/olglobalsettings.zip
Let me know if this example doesn't help you.
Posted 20 Feb, 2006 14:21:42 Top
Thomas Grossen


Guest


Yes, this is what I was looking for :)

Thank you,

Thomas
Posted 21 Feb, 2006 05:22:34 Top
Thomas Grossen


Guest


Dear Sergey,

Sorry to come back with this, but I am trying to have more than 1 variable between the Property Page and the Add-in.

Your example works fine with 1 variable, but I did not found how to pass more...

Any idea?

Manny thanks,

Thomas.
Posted 27 Mar, 2006 08:09:27 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Thomas.

You can add any number of variables. It is enough to assign a variable in the SetData method of the application domain.
e.g. ADXAppDomain.SetData("My Variable", MyValue);
Posted 27 Mar, 2006 12:28:26 Top
Thomas Grossen


Guest


:oops: Of course! It is so simple that I couldn???t see it...!

Sorry about that!

Thomas.
Posted 28 Mar, 2006 03:29:04 Top