PDA

Click to See Complete Forum and Search --> : ActiveX issue with Vista


HoraShadow
Apr 19th, 2007, 09:59 PM
Hello guys,

I have an ActiveX that streams audio and video.
Since Vista came out, I can no longer use the ActiveX as a normal user. I have to launch IE7 with administrator privileges, or the ActiveX will crash, most likely when it tries to access the USB port of the camera.

Only the top versions of Vista have the option to right click over a shortcut and launch as admin. This makes the ActiveX not work with the home basics and premium users.

Any ideas on how can I make the ActiveX work under Vista?

Thanks,
HoraShadow

RobDog888
Apr 19th, 2007, 11:33 PM
Try going over these two articles from MS on Vista and security/UAC

http://technet2.microsoft.com/WindowsVista/en/library/00d04415-2b2f-422c-b70e-b18ff918c2811033.mspx?mfr=true

http://msdn2.microsoft.com/en-us/library/aa480150.aspx

HoraShadow
Apr 20th, 2007, 11:27 AM
Thanks a lot Yoda, I'm pretty sure the solution is in the first link, using the Application Compatibility Toolkit.

I'll give it a try and see what happens.

HoraShadow

RobDog888
Apr 20th, 2007, 11:34 AM
Note that its only for unmanaged code (vb 6 / APIs) and not .NET managed code

HoraShadow
Apr 20th, 2007, 02:09 PM
Hello,

Yeah, that did the trick.

What I had to do to get the ActiveX control to run under Internet Explorer on Vista, was to create a compatibility fix to launch Internet Explorer (iexplorer.exe) with the highest available user.

Now, the ActiveX works fine. But each time I try to launch IE 7, even to check emails, it prompts for user interaction whether they want to launch the app or not. Every single time.

I can only target .exe files, so I cannot target the ActiveX itself.

Any ideas on what can I do to prevent this?

This Vista is damn complicated...

Thanks,
HoraShadow