Results 1 to 9 of 9

Thread: regsvr32 /u pulls up an error

  1. #1
    Guest
    it says

    LoadLibrary("myControl.ocx") failed. GetLastError returns 0x00000485.
    any ideas? thanks in advance.

  2. #2
    Guest
    Probably doesn't exist. Try stating the whole ocx's file path.

    Or try unregistering it through api:

    Code:
    Private Declare Function DllUnregisterServer Lib "myControl.ocx" () As Long
    Const ERROR_SUCCESS = &H0
    
    Private Sub Form_Load()
    If DllUnregisterServer = ERROR_SUCCESS Then
        MsgBox "UnRegistration Successful"
    Else
        MsgBox "UnRegistration Unsuccessful"
    End If
    End Sub

  3. #3
    Guest
    ok, follow up question.

    i use that .ocx control on a webpage, but the problem is that other pc's can't see the control, or sometimes their pc's lock up.

    i already recompiled my .ocx control and changed the minor version, cause someone suggested that i do that. but i don't think it helped.

    there's code in the control that'll register it. so do i have to unregister it first, then register it again so the control can be seen in other people's pc's?

  4. #4
    Guest
    You can register it over and over again, it will not affect it at all.

  5. #5
    Guest
    so you're saying that that's not the problem as to why the control won't pull up in other pc's?

  6. #6
    Guest
    Perhaps, Regsvr32.exe may not be on the other people's computers. So you may want to include that with your program and just FileCopy it to the C:\Windows\System directory and then Shell your program to register the controls.

  7. #7
    Guest
    so, you developed an activex control and want to run it on a webbrowser via internet?

    if that's the case, you should use p&d wizzard to produce a webpackage and place the resulting CAB file on your webserver. then the download and registration of your OCX should be handeled for you (no need to include registration code in your OCX).

    good luck

    Sascha

  8. #8
    Guest
    Originally posted by Matthew Gates
    Perhaps, Regsvr32.exe may not be on the other people's computers
    It's shipped with Windows, hence everyone should have it (unless they delete it).

  9. #9
    Guest
    okay, so here's the problem. i did use PDW, and still the .ocx won't show up in other pc's..they sort of hang. i don't know if the installation takes more than 5 minutes, but when i Ctrl-Alt-Del, i have the (Not Responding) message beside my browser.

    what could be wrong with it, then?

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