|
-
Nov 6th, 2006, 02:45 AM
#1
Thread Starter
New Member
problem with registering some ocx files
I recently inherited an old vb6 application which needs to be updated and I'm having some problems with it.
Basically it uses some controls which can be found in the tdbg7.ocx and todg7.ocx files, and if I try to open the project in Visual Basic 6 it complains that it cannot load the two above mentioned ocx files from the source directory - even though the files are definately there !!
I also have the setup file that was last created, and that works fine. It copied the two ocx files to the System32 directory and the binary works no problem, so the files are definately registered ok on the system.
Also if I open a new project in Visual Basic 6 and try and regsiter the ocx files by going to "Project->Components->Browse to the ocx file" a dialog box pops up saying "Component Not Correctly Registered"
Very frustrating ................ does anyone have any idea whats going on ?
By the way running this on a fully patched Win XP system
Thanks
Colm
Last edited by protosbyte; Nov 6th, 2006 at 02:51 AM.
-
Nov 6th, 2006, 03:07 AM
#2
Fanatic Member
Re: problem with registering some ocx files
try this in start-run->
regsvr32 c:\winnt\system32\ -ocx filename
WHETHER YOU SUCCEED OR FAIL IS NOT AS IMPORTANT AS WHETHER YOU TRIED YOUR BEST 
-
Nov 6th, 2006, 03:24 AM
#3
Thread Starter
New Member
Re: problem with registering some ocx files
Thanks for the reply.
I already tried that - A message pops up saying that the ocx has been registered successfully, but VB6 still does not see it ................
Does this sound familiar to anyone ?
-
Nov 6th, 2006, 03:40 AM
#4
Fanatic Member
Re: problem with registering some ocx files
i was having same problem when i used ocx file which was there but file seems to be corrupted and when i replace it from other machine where it was copied then my problem was solved.
WHETHER YOU SUCCEED OR FAIL IS NOT AS IMPORTANT AS WHETHER YOU TRIED YOUR BEST 
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
|