registering .ocx files


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 5 of 5

Thread: registering .ocx files

  1. #1
    Join Date
    Aug 2005
    Posts
    3

    registering .ocx files

    Hi,
    I tried to register some .ocx files and although I copied these files succesfully to C:\WINDOWS\System32 and registered them with regsvr32.exe C:\WINDOWS\System32\plot.ocx I got the error "Registering C:\WINDOWS\System32\plot.ocx failed; file not found" (plot.ocx being one of these files). What can be wrong and how can I correct it?
    Thanks for your help.

    Jan

  2. #2
    Join Date
    Nov 2003
    Posts
    4,118
    Dres this error occur only with that specific file whereas other files are successfully registered? Also, can you find this entry in the registry afterwards?

    This error can mean many things: this ocx file is already installed, or that it isn't registered in the right place in the registry, or the file itself is corrupt...
    Danny Kalev

  3. #3
    Join Date
    Aug 2005
    Posts
    3

    registering .ocx files

    Danny,
    Thanks for your respons. This error occcurs not with every .ocx file, only with a few. It also happens with some .dll files, e.g. user32.dll, ntdll.dll, mfvcrtd.dll, mfc42d.dll, gdi32.dll. With these files I get "filename.dll has been loaded, but entrypoint DllRegisterServer not found". Does this ring a bell?
    These dll's are dependencies of plot.ocx, so this might be the reason why plot.ocx could not be registered.


    Jan

  4. #4
    Join Date
    Nov 2003
    Posts
    4,118
    It doesn't ring a bell to me but I suspect that it's indeed a dependency problem. All the dll's you mentioned are almost contantly in use so perhaps the registration process fails because these dll files are locked. Anyway, if you find the answer please keep us posted. I'm curious.
    Danny Kalev

  5. #5
    Join Date
    Aug 2005
    Posts
    5
    HI
    Would you please show the line code and relative or position where you inputted the regsrv32.exe?
    Trying to be of help.
    Fred

Similar Threads

  1. How to manage PAK files in vb programs?
    By Melawen in forum VB Classic
    Replies: 6
    Last Post: 04-17-2005, 05:56 AM
  2. XML files vs Database
    By Mansoor in forum Enterprise
    Replies: 2
    Last Post: 09-10-2002, 10:38 PM
  3. XML files vs Database
    By Mansoor in forum XML
    Replies: 8
    Last Post: 08-23-2002, 04:35 PM
  4. Replies: 0
    Last Post: 03-13-2001, 01:54 PM
  5. Replace In Files utility released
    By René Whitworth in forum vb.announcements
    Replies: 1
    Last Post: 04-29-2000, 02:54 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center