** RESOLVED ** problem with regsvr32.exe
I am trying to move my programming stuff to a new PC. I have been fairly successful so far. However, I have tried this:
VB Code:
C:\windows\system\regsvr32.exe c:\windows\system32\graph32.ocx
It has worked for all the other OCXs I have come acroos. However, this gives me the message:
VB Code:
load library ("C:\windows\system32\graph32.ocx") failed - the specified module could not be found
I have verified that it is where I said it is.
Re: problem with regsvr32.exe
Are you sure? This happens only when a certain library isn't in it's place. Quite odd... try to un-register it first, with the /u flag.
Btw... if lib is in the System32 folder, you don't need to pass the full path. You can simply do this:
regsvr32 graph32.ocx
Re: problem with regsvr32.exe
I got it. There were a couple things that need to be in that directory also. I copied them over and they worked just fine.
Re: ** RESOLVED ** problem with regsvr32.exe
You are attempting to shortcut the installation process aren't you? You are asking for trouble if that is the case. There is so much you are missing...
Re: ** RESOLVED ** problem with regsvr32.exe
which other files you also add with graph32.ocx ?
i am facing the same problem.
When i open my vb application then i got an error message.
"ssChuwara.ocx could not be loaded--continue loading project?"
I search alot about ssChuwara on net but i havn't recieved a single page about ssChuwara.ocx.
Any reply will be appriciated.
Re: ** RESOLVED ** problem with regsvr32.exe
Were you trying to install VB6 onto windows 7 only to find there are unregistered ocx's and dlls? :bigyello:
Cause this was already in discussion today in another thread :p
http://www.vbforums.com/showthread.php?t=665182
If not, try registering the files as a system administrator. For some reason some old Windows 32 bit files only work in SysWOW64 such as dx8vb.dll and dx7vb.dll so put graph32.ocx there. If not put it in System32. Open Command Prompt as a System Administrator. Type cd <your directory path here of ocx> , like for example:
Code:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Owner>cd c:\windows\syswow64
c:\Windows\SysWOW64>
Then type regsvr32 graph32.ocx and hit enter. Vwola. It should work
Re: ** RESOLVED ** problem with regsvr32.exe
My problem remain same. i download lot of controls, download visual safe source. I install all of them. Even every ocx and dll files register one by one, but my visual studio give me 2 errors.
um.dat is corrupted and sschuwara.ocx could not be loaded.
I check visual studio from cd. Download from net and then check but doesn't solve that problem.
I am using windows server 2003 and vb6 enterprise edition.
If some one help then kindly provide solution.
Thanks Jacob Roman for your reply..................