Discussion:
Accessing Autosearch Internet Option from a BHO
(too old to reply)
Ramus Nee
2006-02-27 19:08:29 UTC
Permalink
IE Internet Options include a "Search from the address bar" knob, in the
Advanced category. Users can turn autosearch on or off using that knob (among
other things).

How can my C++ application (an IE BHO) determine whether autosearch is
enalbed? I do not see any relevant flag in the InternetQueryOption call. Are
there some Registry variable that my application should look at?

Thank you.

P.S. I am reposting this question after tweaking account options to help
MSDN software to notice MSDN subscribers.
Wei-Dong XU [MSFT]
2006-02-28 07:13:20 UTC
Permalink
Hi,

Thanks for posting at the newsgroup!

So far as I know, if the registry key "DefaultSearchUrl" exists under the
location:
HKEY_CURRENT_USER\Software\Microsoft\Search Assistant Value Name\

For example, if the key "DefaultSearchUrl" exists under the location above
with the value http://www.google.com/search?q=, then IE will use Google as
the default addressbar search engine. So I'd suggest you can have a
checking on this value whether IE has enabled the autosearch in address
bar.

Besides, the configuration information used by IE regarding search is
stored in the registry. For your development, I'd also suggest you can use
the Regmon registry monitor utility from Sysinternals.com to observe what
key IE has used for the search.
Regmon for Windows NT/9x
http://www.sysinternals.com/Utilities/Regmon.html

Please feel free to let me know if you have any further question on this
issue.

Have a nice day!

Best Regards,
Wei-Dong Xu
Microsoft Online Partner Support
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================
Business-Critical Phone Support (BCPS) provides you with technical phone
support at no charge during critical LAN outages or "business down"
situations. This benefit is available 24 hours a day, 7 days a week to all
Microsoft technology partners in the United States and Canada.
This and other support options are available here:
BCPS:
<https://partner.microsoft.com/US/technicalsupport/supportoverview/40010469>

Others: <https://partner.microsoft.com/US/technicalsupport/supportoverview/>
If you are outside the United States, please visit our International
Support page:
<http://support.microsoft.com/default.aspx?scid=%2finternational.aspx>.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Continue reading on narkive:
Search results for 'Accessing Autosearch Internet Option from a BHO' (Questions and Answers)
4
replies
Help, http://protectionband.com/ is now my web page and it won't go away!?
started 2007-02-27 13:57:24 UTC
security
Loading...