Question about registering ActiveX in Vista.

L

linuxfedora

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
 
I

iwdu15

no, theres no way to bypass the UAC....its a security feature. it would kinda
be pointless if you could bypass security.....
 
N

Nicholas Paldino [.NET/C# MVP]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top