Re: how to turn proected mode of IE off on vista



It would be a security hole to enable you change the setting
programmatically in your toolbar.
If you need to elevate your rights, create an out-of-process COM server in
an elevated process.
reference
http://blogs.msdn.com/vistacompatteam/archive/2006/09/28/CoCreateInstanceAsAdmin-or-CreateElevatedComObject-sample.aspx
http://blogs.msdn.com/ie/archive/2006/02/09/528963.aspx
--
Sheng Jiang
Microsoft MVP in VC++
"tasleem" <tasleem@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:B5DD8359-B1CF-4B09-8EDE-94B922BF2CA3@xxxxxxxxxxxxxxxx
hi all i m using webservice in my toolabr for IE and using C#.it works
fine
on IE 6 7 and XP, but on Vista it gives following exception when i create
the
object of serveice class

here is the message "could not find the part of path C:\\users\\temp\low
etc
that is last word " this message only occur when IE proected mode in
turned
on,which is by default in IE and Vista.i have follwed this code but was
not
working here is the link

http://msdn2.microsoft.com/en-us/library/bb250462.aspx#upm_cfgpm

when i turn the protected mode off it works fine. not that its toolbar for
IE using C#. my question is how to turn protected off.



.