Results 1 to 4 of 4

Thread: problem with registering some ocx files

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2006
    Posts
    2

    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.

  2. #2
    Fanatic Member
    Join Date
    Jul 2006
    Location
    nasik,india
    Posts
    909

    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

  3. #3

    Thread Starter
    New Member
    Join Date
    Nov 2006
    Posts
    2

    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 ?

  4. #4
    Fanatic Member
    Join Date
    Jul 2006
    Location
    nasik,india
    Posts
    909

    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
  •  



Click Here to Expand Forum to Full Width