Solved

Visual Basic 6 Executable does not run on some XP machines

Posted on 2008-09-30
13
240 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
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Advice in Xamarin 21 79
Web Form VB.Net  import CSV 4 39
VB.NET Repostiory Pattern 7 37
Example works but why do I need to click twice on button 4 43
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 …
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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…

777 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