469,640 Members | 1,579 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,640 developers. It's quick & easy.

Question about registering ActiveX in Vista.

I have written a C# program which has an activeX control (abc.ocx) in
Visual Studio 2005, and used the setup and deployment project to
create an setup.exe and setup.msi that act as an installer.

And i found that when i install the setup in Windows XP, it is okey,
the abc.ocx can be installed automatically. But when i try to install
the program in Vista. It has problem in registering the ocx during
installation, even i have clicked Yes when the UAC popped up.

Does anyone know how to solve it?
Also is there anyway to bypass the process of UAC when i click the
setup.exe in Vista without turn off the UAC function. Thanks
Jan 14 '08 #1
2 2068
no, theres no way to bypass the UAC....its a security feature. it would kinda
be pointless if you could bypass security.....
Jan 14 '08 #2
Are you sure that you are registering the ActiveX correctly? There
might be some dependencies that it requires that are on the XP machine that
are not on the Vista machine and it might require more than just registering
the OCX file.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

<li*********@yahoo.com.hkwrote in message
news:ec**********************************@21g2000h sj.googlegroups.com...
>I have written a C# program which has an activeX control (abc.ocx) in
Visual Studio 2005, and used the setup and deployment project to
create an setup.exe and setup.msi that act as an installer.

And i found that when i install the setup in Windows XP, it is okey,
the abc.ocx can be installed automatically. But when i try to install
the program in Vista. It has problem in registering the ocx during
installation, even i have clicked Yes when the UAC popped up.

Does anyone know how to solve it?
Also is there anyway to bypass the process of UAC when i click the
setup.exe in Vista without turn off the UAC function. Thanks

Jan 14 '08 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Stangonline.com | last post: by
1 post views Thread by Raed Sawalha | last post: by
reply views Thread by VB Programmer | last post: by
4 posts views Thread by Brad Markisohn | last post: by
1 post views Thread by Chris Petchey | last post: by
1 post views Thread by Icon Iconoclast | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.