Solved

Visual Basic 6 Executable does not run on some XP machines

Posted on 2008-09-30
13
244 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
Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

 

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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 …
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

726 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