-
February 18th, 2010, 09:46 AM
#1
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.
-
February 18th, 2010, 06:41 PM
#2
Re: VB6.0 OCX running problem
The CTL file probably contains LICENSING information.
-
February 19th, 2010, 02:30 AM
#3
Re: VB6.0 OCX running problem
Encourage the efforts of fellow members by rating
Lets not Spoon Feed and create pool of lazy programmers
- ComIT Solutions
-
February 19th, 2010, 08:07 AM
#4
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.
-
February 23rd, 2010, 11:52 PM
#5
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.
-
February 23rd, 2010, 11:53 PM
#6
Re: VB6.0 OCX running problem
So far the Package and deployment option , i have tried that one too but in vain .
-
February 24th, 2010, 12:17 AM
#7
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.
Encourage the efforts of fellow members by rating
Lets not Spoon Feed and create pool of lazy programmers
- ComIT Solutions
-
February 25th, 2010, 01:29 AM
#8
Re: VB6.0 OCX running problem
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.
Encourage the efforts of fellow members by rating
Lets not Spoon Feed and create pool of lazy programmers
- ComIT Solutions
-
February 24th, 2010, 09:43 AM
#9
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.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|