Solved

Unexpected Error when running Program on Windows 98

Posted on 2010-09-11
9
432 Views
Last Modified: 2012-05-10
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?

0
Comment
Question by:AndrewBanfer
  • 3
  • 3
  • 3
9 Comments
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 33654232
It's probably missing one of the runtime libraries required for your program.
0
 
LVL 3

Expert Comment

by:vinden
ID: 33661978
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.

0
 

Author Comment

by:AndrewBanfer
ID: 33687223
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!
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 33687312
I'd be looking for dll's that were used.  I don't know if "vbrun60sp6.exe" would include everything you needed.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 3

Expert Comment

by:vinden
ID: 33689032
Care to share the program code ?
Or tell waht it is supposed to do, so we can determin what it might rely on ?
0
 

Author Comment

by:AndrewBanfer
ID: 33738837
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,
0
 
LVL 3

Accepted Solution

by:
vinden earned 250 total points
ID: 33741288
Yeah, perhaps reinstalling 98 is your best bet.
You didn't mention checking event viewer btw. Although unlikely, you never know if it shows anything specific.

0
 
LVL 83

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 250 total points
ID: 33741375
If there is nothing personal on these computers, you might clone the hard disk of one of the working machines.  That would bring any Windows updates with it that might be making it work.  Win98 isn't picky like XP.
0
 

Author Closing Comment

by:AndrewBanfer
ID: 33746239
Thanks very much!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft Outlook is not just an email client but it is full featured Personal Information Manager. But sometimes Outlook gets disconnected and you simply can’t access it. What steps can you perform before calling IT support? In this article we will…
Microsoft Outlook provides an easy way to recover permanently deleted items. When you empty the Deleted Items or simply deleted an Outlook data items using shift+Del key then it can be recovered using Registry Key settings.  Caution- Wrong Registry…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now