Sorry, I am not too familiar with Infopath, so I'm not sure what its
capabilities are ... but here are some suggestions:
The best solution is to change your program to save its settings to HKCU
instead of HKLM. Or, if you are just reading data from HKLM, specify you
only need read access so the system won't access deny you.
The next best solution is to create an .exe application that does all the
"admin" stuff. This application can be marked as "requiring administrator
privileges" and will prompt the user for permission when it starts. Simply
call that program from your infopath script when you need to do admin stuff.
Finally, you can run Infopath as administrator, and then load your program
from there. If you right-click the link to infopath, you can click Run As
Administrator.
Here's a great resource for developers on the new restrictions in UAC:
http://msdn.microsoft.com/windowsvis...cProtVista.asp
- JB
Vista Support FAQ
http://www.jimmah.com/vista/