Results 1 to 5 of 5
  1. #1
    Bronze Lounger
    Join Date
    Feb 2001
    Location
    Escondido, California, USA
    Posts
    1,458
    Thanks
    0
    Thanked 1 Time in 1 Post

    Disaster! (VB 6.0 / W98)

    Well, I'm really in a pickle now. <img src=/S/help.gif border=0 alt=help width=23 height=15> After cleaning out some older versions of a VB 6.0 application (using add/remove programs)I am now getting the following error message when I click on one of the routines in the application:

    Class not registered.
    You need the following file to be installed on your machine. MSSTDFMT.DLL

    However, MSSTDFMT.DLL exists in C: and also in C:WINDOWSSYSTEM on my machine.

    In addition, and even much WORSE <img src=/S/hairout.gif border=0 alt=hairout width=31 height=23>, when I open up my project in VB 6.0 and click on a form I get a "Program has performed an illegal operation and will be shut down" (Details show it is a page fault in VB 6).

    I have tried removing and reinstalling VB 6.0, but the same error exists. I also tried creating an entirely new project, but the error persists.

    I must be missing some critical file or ?? in W98.

    Any suggestions are most warmly accepted. As might be expected, this happened on the morning I was preparing to demonstrate the application, and I'm now in dire straights.

  2. #2
    Gold Lounger
    Join Date
    Feb 2001
    Location
    Dublin, Ireland, Republic of
    Posts
    2,697
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Re: Disaster! (VB 6.0 / W98)

    Chuck,

    It may be that you need to re-register MSSTDFMT.DLL on your system. You can do this with th efollowing command :

    Regsvr32 MSSTDFMT.DLL

    assuming Regsvr is in the active path. It is usually loacted in C:WindowsSystem32. You may have to repeat for some other Dlls.

    Andrew C

  3. #3
    Bronze Lounger
    Join Date
    Feb 2001
    Location
    Escondido, California, USA
    Posts
    1,458
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Disaster! (VB 6.0 / W98)

    Thanks Andrew,

    That was a lifesaver!

    I am forever in your debt.

  4. #4
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    Marietta, Georgia, USA
    Posts
    296
    Thanks
    9
    Thanked 4 Times in 4 Posts

    Re: Disaster! (VB 6.0 / W98)

    Chuck, something similar happened to me a few years ago. Sometimes the registry entries for VB get corrupted. The only way to solve the problem is to delete the entire set of registry entries. Under Windows 95/98/ME, you want to load Regedit.exe, and go to
    HKEY_CURRENT_USERSoftwareMicrosoftVisual Basic6.0

    Under Windows 2000/XP, you want to load Regedt32.exe, and go to
    My computerHKEY_CURRENT_USERSoftwareMicrosoftVisual Basic6.0

    I was not happy about doing it myself , but I had nothing to lose ... and it worked! The next time you run VB, it will recreate the "default" set of registry entries.
    Rick Groszkiewicz
    Life is too short to drink bad wine (or bad coffee!)

  5. #5
    Bronze Lounger
    Join Date
    Feb 2001
    Location
    Escondido, California, USA
    Posts
    1,458
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Disaster! (VB 6.0 / W98)

    Thanks Rick,

    I'll keep that in mind the next time. (Hopefully there won't be a next time, but one never knows with computers!!)

Posting Permissions

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