Solved

Visual Basic 6 Executable does not run on some XP machines

Posted on 2008-09-30
13
243 Views
Last Modified: 2013-11-26
I have been developing a Visual Basic 6 program for about 7 years.
I had compiled a new version yesterday and had installed it on several computers which have had the previous version running successfully.

I now have 2 computers that this executable will not run.
I have uninstalled my program and have repackaged it and reinstalled it but still will not run.
I find that if I rename the program it runs fine on these 2 machines but will not run once I rename it back to the original name.

Any suggestions would be appreciated.

Thank you
0
Comment
Question by:msilka
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 6
13 Comments
 
LVL 41

Expert Comment

by:graye
ID: 22605621
Spooky....   So, what's the name of the program?
0
 

Author Comment

by:msilka
ID: 22605643
Nothing that should bring up red flags.

It's an inventory management program: HIDI2002.exe
0
 
LVL 41

Expert Comment

by:graye
ID: 22608646
So, you don't have any software restriction policies in a GPO (I'd assume not... since otherwise you would have looked there first!)
I'd check the virus logs to see if somehow that application got flagged on those 2 PCs
0
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 

Author Comment

by:msilka
ID: 22608662
I did check the virus logs and nothing was quarantined nor restricted.
I also ran antivirus and malware checks and everything is fine.
0
 
LVL 41

Expert Comment

by:graye
ID: 22608698
So, what kind of error message (or event log entry) do you get when you try to lauch the application?
I'd also consider re-installing the VB6 SP6 runtime files on those 2 PCs :http://support.microsoft.com/kb/290887
0
 

Author Comment

by:msilka
ID: 22613161
I have uninstalled and reinstalled the app.
No error messages are recorded when the app runs.
0
 
LVL 41

Expert Comment

by:graye
ID: 22613211
I wasn't talking about re-installing the application.... I was suggesting that you re-install the VB6 Runtime files
0
 

Author Comment

by:msilka
ID: 22613598
Aren't the vb Runtime files installed when you run the package and deployment?
0
 
LVL 41

Expert Comment

by:graye
ID: 22614030
No, not really... (well, kinda... but it's not the entire runtime package)
Besides, I figured by now you'd be up to the idea of swinging a dead chicken counterclockwise over the possessed PCs :)
0
 

Author Comment

by:msilka
ID: 22614425
I had thought of the dead chicken idea but was more partial to the idea of dropping a holstein cow onto the computers.
0
 
LVL 41

Expert Comment

by:graye
ID: 22619628
Oh, are they Gateway computers?
0
 

Author Comment

by:msilka
ID: 22622926
Ha!  No they aren't.
I did happen to try the compatibility mode and changed it to Win 2000 and it worked but why does it happen on just those 2 pcs?  Both are Win XP with SP3 on them.  I made sure they were updated to the latest Microsoft patches.

It is boggling my mind!
0
 

Accepted Solution

by:
msilka earned 0 total points
ID: 22780602
Mystery has been solved!

These machines are the oldest ones in the company.
I checked out the program directory in the program files directory and found a manifest file.
Once I removed that file the program ran!!
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

738 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