Multiple tab in one IE object

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

Multiple tab in one IE object
multiple tab on one IE browser object messed up my IE addon bar 
Jack Nerman


Guest


Hallo,

I have one one example addon by which I can click on one button and it changes the addon bar's background color.

Now when I open a new tab I still have that old background color.

So how should I handle multiple tab from my addon programming so that GUI changes of my IE addon keep same GUI on each tab ?

Jack
Posted 17 Jun, 2011 07:04:23 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Jack,

You need to save your changes in a file or the system registry. When a new tab is openned, the code should search for the new settings and apply them automatically.
Posted 17 Jun, 2011 07:11:20 Top
Jack Nerman


Guest


Do I have to generate a new registry for my addon or it is automatically generated by add-in express ?

If I have to generate a new registry for particular addon then How should I o that ?

And after successfully generate new addon registry how to add set particular values ?
Posted 17 Jun, 2011 07:16:09 Top
Andrei Smolin


Add-in Express team


Posts: 18833
Joined: 2006-05-11
Please check the manual, it's located in {Add-in Express}\Docs\adie.pdf on your PC:

Register the add-on and restart IE. To register the add-on, choose Register Add-in Express Project in the Build menu.


Yes, Add-in Express creates all registry keys required for your add-on ti be loaded by IE.


Andrei Smolin
Add-in Express Team Leader
Posted 17 Jun, 2011 07:22:17 Top
Jack Nerman


Guest


in documentation its not clearly defined that where actually addon make registry.

for example if I want registry for IE, here is the example code line for that.
RegistryKey registry = Registry.CurrentUser.OpenSubKey("Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings", true);
registry.SetValue("ProxyEnable", 0);

But how should I get registry for my addon. Where it is located ?

Jack
Posted 17 Jun, 2011 07:41:29 Top
Andrei Smolin


Add-in Express team


Posts: 18833
Joined: 2006-05-11
Hi Jack,

It isn't located in a single registry key. Instead, it is mentioned in several registry locations.

Can you describe your goals?


Andrei Smolin
Add-in Express Team Leader
Posted 17 Jun, 2011 08:15:34 Top
Jack Nerman


Guest


As I have described before,

When I open multiple tab in IE, GUI of my addon should look same.

User case,

1) user open IE. Default background of my addon toolbar is white. From addon toolbar user clicks on a button and background image of toolbar changed from white to yellow.

2) Now user open second tab in IE. I would like that background image of toolbar should be yellow not white.

3) foe each new tab design off addon should be consistence.

Jack
Posted 17 Jun, 2011 08:44:15 Top
Andrei Smolin


Add-in Express team


Posts: 18833
Joined: 2006-05-11
Posted 17 Jun, 2011 08:59:43 Top
Jack Nerman


Guest


Hi Andrei,

I have tried using this code but it looks like this code is a part of full code so I can not see actually how its working.

Can you please provide ma a sample code with is working using "AddinExpress.IE.ADXIESharedMemory class".

Jack
Posted 20 Jun, 2011 06:27:32 Top
Andrei Smolin


Add-in Express team


Posts: 18833
Joined: 2006-05-11
Hi Jack,

The download links are located at the bottom of that page in the section Available downloads.



Andrei Smolin
Add-in Express Team Leader
Posted 20 Jun, 2011 06:32:35 Top