By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,709 Members | 2,116 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,709 IT Pros & Developers. It's quick & easy.

Question about registering ActiveX in Vista.

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a
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

P: n/a
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.