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?

Windows Live Mail

Avatar of undefined
Last Comment
AndrewBanfer

8/22/2022 - Mon
Dave Baldwin

It's probably missing one of the runtime libraries required for your program.
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.

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!
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
Dave Baldwin

I'd be looking for dll's that were used.  I don't know if "vbrun60sp6.exe" would include everything you needed.
vinden

Care to share the program code ?
Or tell waht it is supposed to do, so we can determin what it might rely on ?
AndrewBanfer

ASKER
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,
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
ASKER CERTIFIED SOLUTION
vinden

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
SOLUTION
Dave Baldwin

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
AndrewBanfer

ASKER
Thanks very much!