General information
Category:
ActiveX controls in VFP
Environment versions
Network:
Windows 2003 Server
I just ran into a similar problem, where turning off the UAC would have helped but I learned a new trick that also worked. You may want to give it a try.
This was a 32-bit DLL on a 64-bit machine.I noticed there was a problem when I tried to register the ActiveX DLL and got a "regsvr32 module was loaded but call to dllregister failed" or somesuch.
Here's what worked:
1. Press the Win keyboard key (Start button).
2. Type cmd into the Start Search textbox.
3. Press Ctrl+Shift+Enter keyboard shortcut. Ctrl-Shift-Enter is the general keyboard shortcut that triggers elevation to “Run as Administrator”. You have to do this even if you have "Administrator" rights, unless UAC is shut off.
4. Press Alt+C or press Continue to confirm the UAC elevation warning prompt. (I actually didn't have to do this step).
You'll notice your CMD window now starts with "Administrator:"
Then run
C:\Windows\System32\RegSvr32 "[fully pathed filename of your .DLL here]"
>My 2 cents, on the windows 7 machine turn off UAC and try running the application again after the reboot.
>
>>Experts,
>>
>>I just did an application which requires an ActiveX control for fingerprint scanner equipment which came with a CD. I installed it in my machine, developed the application. Runs fine. And now I am ready to deploy.
>>
>>Over at my client site, I installed using the same CD, then installed my application. But, when the form containing the ActiveX control is run, it generates a 2005 error. How do I properly install the ActiveX (OCX) file? Help!
>>
>>I do not know if this is an issue, but I developed in an XP machine, while the target client machine is in WIn7.
>>
>>TIA
>>Dennis
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only