VB6.0 OCX running problem
I have made an ocx . It includes the Winsock and the Timer controls . But the problem is that when I try to use the ocx in the application on some other computer the application gives error about the using the correct version of the OCX. Now when I place the ".ctl" file along with the ocx , it works fine . Now It is really annoying as i have to install complete visual basic setup on the client PC so that ".ctl" file works with ocx as app does not run only on vb runtime. Please suggest the solution.
Re: VB6.0 OCX running problem
The CTL file probably contains LICENSING information.
Re: VB6.0 OCX running problem
Re: VB6.0 OCX running problem
Or let's extend this question: Have you made an install package with the Package and Deployment Wizard? This should usually resolve all dependancies and make a setup pack with all necessary files.
Re: VB6.0 OCX running problem
All you guys Thanks for replying,
I have registered the OCX at the client machine . It registers successfully but app still not run , when ctl file is placed with the OCX , it runs fine.
There is no licensing information in the ctl.
:sick:
Re: VB6.0 OCX running problem
So far the Package and deployment option , i have tried that one too but in vain .
Re: VB6.0 OCX running problem
First Create setup for your ocx. Install in your system where you develop your apllication.
Open your apllication project go to refrences option in project menu, Verify the path for your user control(ocx) normally it shoud be the path where you installed your ocx or c:\windows\system32, if path is different, uncheck the selected path and by clicking Browse button select the correct path(it is not the ocx file which is in your ocx project folder).
Recompile your application and create a new setup for the same.
Uninstall the appllication which is currently running client system. Install the newly created setup for you application. Hope this solves your problem.
Re: VB6.0 OCX running problem
Another idea:
If the ctl file was not automatically put into the Deployment Package by the wizard, you can add the file manually. You can also enter the destination path for the file manually so as it would turn up in the same folder as the ocx on the target machine.
Re: VB6.0 OCX running problem
Quote:
Originally Posted by
ComITSolutions
First Create setup for your ocx. Install in your system where you develop your apllication.
Open your apllication project go to refrences option in project menu, Verify the path for your user control(ocx) normally it shoud be the path where you installed your ocx or c:\windows\system32, if path is different, uncheck the selected path and by clicking Browse button select the correct path(it is not the ocx file which is in your ocx project folder).
Recompile your application and create a new setup for the same.
Uninstall the appllication which is currently running client system. Install the newly created setup for you application. Hope this solves your problem.
I am sorry, it is not refrences option, go to componets option.