Solved

Visual Basic 6 Executable does not run on some XP machines

Posted on 2008-09-30
13
242 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
  • 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
How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

 

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…

830 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