Solved

Visual Basic 6 Executable does not run on some XP machines

Posted on 2008-09-30
13
236 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
 

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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
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 …
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
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…

758 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

20 Experts available now in Live!

Get 1:1 Help Now