Find method in Advanced Search sample code does not work

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

Find method in Advanced Search sample code does not work
If I select All windows, All tabs, it does not work. 
David R.




Posts: 55
Joined: 2010-07-22
Hi,

I downloaded "Sample Internet Explorer add-on: Advanced Search".

If I select "All window, All tabs" It does not work. and I debugged the code, the return module count is 0.
ArrayList modules = AddinExpress.IE.ADXIEModule.GetModulesByTypeName(typeof(IEAdvancedSearch).FullName);

If I don't select either of them, it works.

I hope someone can help me to find out how to handle the DOM on other tabs and windows too.

Windows 7 - Internet explorer 11

Thanks.
Posted 14 Jun, 2017 09:43:26 Top
Andrei Smolin


Add-in Express team


Posts: 18821
Joined: 2006-05-11
Hello David,

The project works for me in IE 11 on Windows 10; if I open two tabs and select "All window, All tabs", that ArrayList isn't empty. Have you restarted IE after you enabled the add-on? Did you choose to replace the loader files when registering the project for the first time?


Andrei Smolin
Add-in Express Team Leader
Posted 16 Jun, 2017 02:42:52 Top
David R.




Posts: 55
Joined: 2010-07-22
Hi Andrei,

I registered it throw VS 2015, but it did not ask me about "Replace the loader files when registering"

How can I do that?

Thanks.
Posted 16 Jun, 2017 09:44:34 Top
Andrei Smolin


Add-in Express team


Posts: 18821
Joined: 2006-05-11
Hello David,

Open the Loader folder of your project in Windows Explorer, right click adxloader.dll and check its File Version property. It should be equal to the Add-in Express version installed on your machine (the last version is 9.4.6126). If it isn't so, unregister and then register your project anew.


Andrei Smolin
Add-in Express Team Leader
Posted 19 Jun, 2017 01:27:14 Top