Run OCX in 64 bit ?

Do you often get questions like this ?

Does FoxPro Version 9 (Your Application) can Run on a 64-bit Computer?

Or maybe your users get an error on the application that you created ?

The problem is that some components or OCX/dll modules are not fully registered on Windows 64 bit . 

On Windows 32 bit you can do register the component by using commands on the CMD with Regsvr32 #Your Component

But it would seem odd if you instruct your users to open a DOS commands and typing the code.

An easy way that I often use is to create a batch (*.bat) file and make sure ocx location that will be registered.

On Windows 32 bit , for example you can implement immediately to create a batch file and fill it with the following code :

regsvr32 mscomct2.ocx

Example On Windows 64 bit :

cd\
cd C:\windows\syswow64\
regsvr32 "C:\Program Files\APPBRG\mscomct2.ocx"

0 Response to "Run OCX in 64 bit ?"

Post a Comment

wdcfawqafwef