Loading ActiveX under Limitted User Account
-
Hi I have a program that loads some activex components. When I run it as an administrator, there is no problem but when I run it in limitted user accounts, the "ActiveX Component Can't Creat Object." error raises. I tried to search group policy to solve this problem for the limitted user groups, but I couldn't find anything helpful. Please help me with that... Is it possible for a program run in a limitted user account, to load activex components? Thanks in advance
-
Hi I have a program that loads some activex components. When I run it as an administrator, there is no problem but when I run it in limitted user accounts, the "ActiveX Component Can't Creat Object." error raises. I tried to search group policy to solve this problem for the limitted user groups, but I couldn't find anything helpful. Please help me with that... Is it possible for a program run in a limitted user account, to load activex components? Thanks in advance
Hi MohammadAmiry, You need to register the activex control in restricted user mode(windows would not allow you to do so). To register the activex control in restricted user mode, pls. refer to the following article. http://www.codeproject.com/w2k/regsvrex.asp[^] OR if you have written the activex control for your program you can modify the registration routine for that using "RegOverridePredefKey" API. >>Is it possible for a program run in a limitted user account, to load activex components? Offcourse it is possible. Happy programming ! Cheers, Vishal