Register an OCX
Results 1 to 9 of 9

Thread: Register an OCX

  1. #1
    Join Date
    Apr 2000
    Posts
    1,579

    Register an OCX

    Can somebody help with these questions?

    What does the Loadwc.exe program do?
    Why is it on the task list (CTRL+ALT+DEL) when I boot Windows 95?


    After downloading and installing the Windows Script engine update file mentioned in MSKB 308260, I get the message below when tryingto close the installation window.
    "Windows Script 5.6
    Error registering the OCX C:\WINDOWS\SYSTEM\WSHOM.OCX"

    After clicking OK I get:
    "Windows Script 5.6 is now installed."

    Do I need to register it?
    How do I register WSHOM.OCX?
    (The WSHOM.OCX file is in the C:\WINDOWS\SYSTEM folder)

  2. #2
    Join Date
    Nov 2001
    Location
    Fishbel
    Posts
    2,412

    Re: Register an OCX

    Description of the Loadwc.exe File in Internet Explorer

    ******

    At the C:\WINDOWS\SYSTEM\> prompt, issue the command regsvr32 WSHOM.OCX .

    For more information, check Explanation of Regsvr32 Usage and Error Messages.
    Welcome to the Eclipse(C). The Evolution of an Idea
    Options: DCM3 LCR VMS CVM Sil CPI VMI ANI 648 CA1 SACD500 Att CID RLS TIME DLG

    Version: ECLIPSE 2.0.0 09/09/98 System is BUSY Thu 07-21-05 1:31 pm
    Access Level = 10 Port = 10

  3. #3
    Join Date
    Apr 2000
    Posts
    1,579
    Thankyou
    Open your mind, not your computer.

  4. #4
    Join Date
    Nov 2001
    Location
    Fishbel
    Posts
    2,412
    Glad to help!

  5. #5
    Join Date
    Apr 2000
    Posts
    1,579
    I tried the regsvr32 wshom.ocx command from a command prompt after starting Windows 95 in normal mode, and get the following:
    Regsvr32
    LoadLibrary ("wshom.ocx") failed.
    GetLastError returns 0x0000001f. OK

    According to Microsoft, this is caused by a 16-bit version of the object or some such thing.

    So, i tried to rerun scr56en.exe to recreate the wshom.ocx file after
    I renamed the wshom.ocx to wshom.xco

    I get this again:
    LoadLibrary ("wshom") failed.
    GetLastError returns 0x0000001f. OK
    Open your mind, not your computer.

  6. #6
    Join Date
    Nov 2001
    Location
    Fishbel
    Posts
    2,412
    from Windows Script 5.6 for Windows 98, Windows Millennium Edition, and Windows NT 4.0
    System Requirements
    • Supported Operating Systems: Windows 98, Windows ME, Windows NT
    • Users running Microsoft Windows NT 4.0 must have Microsoft Internet Explorer 3.02 or Internet Explorer 4.0 installed before using these files.
    The error could be related to the more "16-bittedness" of Win95 as compared to Win98 (not that Win98 is that much more 32-bit than Win95, as the Pentium Pro processor will reveal.)

  7. #7
    Join Date
    Apr 2000
    Posts
    1,579
    Yeah,
    That's what I was thinking, also.
    I did notice the requirements before downloading but wanted to try it anyway. (It seems to have fixed my scripting error)

    But, let's say that's the problem.....where can I get the latest Windows 95 scripting engine file update or (install the original from cab files on my hard drive)?
    Thanks
    Last edited by Robert M; June 5th, 2004 at 10:34 AM.

  8. #8
    Join Date
    Apr 2000
    Posts
    1,579
    The link below provides some information.
    http://support.microsoft.com/default...b;EN-US;146219

    How can I
    1. Verify in the Registry that the control has not been registered before?

  9. #9
    Join Date
    Nov 2001
    Location
    Fishbel
    Posts
    2,412
    A registered .OCX will have several Registry entries, unregistering the .OCX may not always remove those entries. Perhaps there are entries that have conflicting version information or something....

    All very 'iffy' information, I'm sure-- you'd think Microsoft could have been more clear. Sometimes, they explain how to go to Device Manager but here they don't explain this seemingly more complicated task...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •