1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

Error, missing richtx32.ocx

Discussion in 'Windows XP' started by visee, 2006/11/19.

  1. 2006/11/19
    visee

    visee Inactive Thread Starter

    Joined:
    2006/11/08
    Messages:
    142
    Likes Received:
    0
    Today run small programs ( I think is VB 6.0 write),

    but when exec file, Windows XP SP2 said "
    Component 'richtx32.ocx' or one of its dependencies not correctly registered: a file is missing or invalid


    now, I try download 'richrx32.ocx' to \windows\system32

    and enter
    (1) CMD
    (2) regsvr32 \windows\system32\RICHTX32.OCX

    but Regsvr32 said , ..

    "C:\WINDOWS\SYSTEM32\RICHTX32.OCX" IS NOT EXEC FILE, NO REGISTER THIS FILE TYPE ASS PROGRAMS.


    this word...


    final no work, any method to fix ?

    please!
     
    Last edited: 2006/11/19
  2. 2006/11/20
    PeteC

    PeteC SuperGeek Staff

    Joined:
    2002/05/10
    Messages:
    28,896
    Likes Received:
    389

  3. to hide this advert.

  4. 2006/11/20
    visee

    visee Inactive Thread Starter

    Joined:
    2006/11/08
    Messages:
    142
    Likes Received:
    0
    thank you. Now success registed and run my program.

    But look back my problem, can you some software to check what OCX is registed?

    is crazy?




    because that ascentive.com (Library Files)...many many
    # ascbalon.dll
    # ccrpprg6.ocx
    # ciplImageList.ocx
    # ciplListBar.ocx
    # COMCAT.DLL
    # COMCTL32.DLL
    # COMCTL32.OCX
    # COMDLG32.OCX
    # iphlpapi.dll
    # IPHLPAPI.DLL
    # MSCOMCTL32.OCX
    # Msflxgrd.ocx
    # MSSTDFMT.DLL (error 713)
    # MSVBVM60.DLL
    # MSWINSCK.OCX
    # OLEAUT32.DLL
    # olepro32.dll
    # MFC42.DLL
    # MSCOMCT2.OCX
    # MSCOMCTL.OCX
    # Msstkprp.dll
    # msvcrt.dll
    # MSVCRTD.DLL
    # RICHED32.DLL
    # RICHTX32.DEP
    # RICHTX32.oca
    # RICHTX32.OCX
    # shdocvw.dll
    # shlwapi.dll
    # STDOLE2.TLB
    # TABCTL32.OCX
    # ws2_32.dll
    # .DLL or .OC
     
  5. 2006/11/20
    PeteC

    PeteC SuperGeek Staff

    Joined:
    2002/05/10
    Messages:
    28,896
    Likes Received:
    389
    I do not know of such software, but there is almost certainly some way of checking.

    Wait for others to answer.

    BTW - what are you trying to do?
     
  6. 2006/11/20
    Bill Castner

    Bill Castner Inactive

    Joined:
    2006/08/30
    Messages:
    1,980
    Likes Received:
    0
    COM controls can be checked for their registration in the COM service applet.

    DLLs and OCX control are harder:

    If you know the GUID, you can use the AddFromGUID method. However, you
    can't add references to MDEs, so if that's your intent, you're out of luck.

    Assuming you do have a reference set, how do you declare an object?

    If you've got something like:
    Dim objCurr As XXX.YYY
    Set objCurr = New XXX.YYY

    you can try late binding:

    Dim objCurr As Object
    Set objCurr = CreateObject( "XXX.YYY ")

    and trap for the error that will arise if the DLL or OCX isn't registered.
    (Error 429: ActiveX component can't create object)

    Regards.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.