Link to home
Start Free TrialLog in
Avatar of AndrewBanfer
AndrewBanfer

asked on

Unexpected Error when running Program on Windows 98

I have a program written in Visual Basic 6 that has been in existence for a decade that runs on all Windows operating systems from Windows 98 and above.  

I still have a client running Windows 98 because they are running an old analytical instrument and can't upgrade the Operating System in fear that their analytical instrument will no longer work.  

I can install my program on other Windows 98 systems and it works fine but with one PC I get a "Unexpected Error" as soon as I attempt to run my program.  Does anyone know what this may be?

Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

It's probably missing one of the runtime libraries required for your program.
Avatar of vinden
vinden

I would go with Dave's comment.
-You might also check if it the machine is as up to date as the other workstations.
-Or check Add/Remove Programs / Windows Components to see if people didn't turn off a feature you're program relies on.

Avatar of AndrewBanfer

ASKER

Dave and Vinden,

I downloaded the Visual Basic Runtime Libraries from Microsoft "vbrun60sp6.exe" and installed it on the Windows 98 machines that are getting the Unexpected Error but I still get the same error.  I also checked the other Windows 98 workstations that are working and check the to see if anything was off in the Add/Remove Programs/Windows Components.  Do you have another recommendation?

Thanks!
I'd be looking for dll's that were used.  I don't know if "vbrun60sp6.exe" would include everything you needed.
Care to share the program code ?
Or tell waht it is supposed to do, so we can determin what it might rely on ?
Dave and Vinden,

Sorry for not getting back to you sooner.  I determined that all dll's are present.  I'm starting to think I should reinstall Windows 98.  Any other thoughts would be appreciated.

Vinden,

I can send the Setup.lst file to you that shows the dlls that are installed.  Describing the program would be quite wordy because it does quite a bit.  Is there something I should focus on in the description?  The Program Code is way too large 200,000+ lines of code.

Thanks,
ASKER CERTIFIED SOLUTION
Avatar of vinden
vinden

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks very much!