Go Premium for a chance to win a PS4. Enter to Win


wont run on some XP & 2K boxes

Posted on 2004-08-03
Medium Priority
Last Modified: 2010-05-02
Hi All,

I have a VB app that has been in circulation for a while now,
I have done extensive testing on the app, and have many users who have little to no issues with running VB apps on thier pc's.
however, recently I have had 5-6 people come back and say that they can't execute the application on thier computer [few XP Pro boxes, rest 2K]
would there be any reason why a VB app wont run on a PC?

Just to answer the initial questions:
No - the app doesn't use any OCX's that would cause the app not to function correctly
Yes - I have got them to re-download and try again, in case of file corruption
No - there isn't a helpfull and explanitory error that comes up, the app is just blank or doesn't run at all.

its just strange, all users are running the same version [theres only one version out in circulation]
and all the app does is act as a flash player [yes, they all have the correct version of flash on thier PC]....

Any reasons why this would be happening on a handfull of computers, but not all?

Question by:d2kagw
LVL 14

Accepted Solution

Matti earned 1500 total points
ID: 11713848

This app don't have a setup? it's a exe download only.

Tell your user to install VBRun60sp6.exe

LVL 76

Expert Comment

by:David Lee
ID: 11713857
There's not enough information here to make an informed guess as to what the problem is.  I'd create a debugging version, a version that either puts up a dialog box or writes a log file to document what's going on behind the scenes and try it on these machines to see where it's failing at.  Armed with that information we could work toward a solution.  But the description we have now is roughly like, "My car doesn't work.  I have a Toyota and I know other folks who have the same model of Toyota and their's does work.  Why doesn't mine work?"  All we can do is speculate.

Expert Comment

ID: 11721472
Any reasons why this would be happening on a handfull of computers, but not all?
Every computer has had different things installed on it - some of these things are needed by VB and that is allowing the program to run on those systems.

You need to create a setup package using (preferably) INNO - http://www.jrsoftware.org/isinfo.php or VB's Package and Deployment Wizard (which is buggy).
When the user installs the program it needs to install all of the things that the program depends on.

No - the app doesn't use any OCX's that would cause the app not to function correctly
You might not be using any 3rd party .OCX's or references but there are still some there anyway, these references are to the standard VB controls and libraries which need to be shipped with your program (if another program has already installed them on a particular computer then that is likely why it runs on some PC's and not others).

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.


Author Comment

ID: 11722147
I haven't been given much information from the users that are having the issues, and additionaly, don't have access to the computers to test [which is quite a pain].

The application doesn't requre a setup, its actually launched from a CD, I have included all the OCX's that it requres in the app path of the CD [ I tested the application on computers that had a minimal windows install, so im quite sure there should'nt be any issues with missing OCX's
Its not so much the application not functioning correctly, or certain features not processing, its that the application itself just doesn't run at all, and doesn't even return an error.... it just does nothing...
LVL 76

Expert Comment

by:David Lee
ID: 11722708
"... I have included all the OCX's that it requres in the app path of the CD ..."

OCXs have to be registered using REGSVR32 on the computer before they're available to programs on that PC.  You didn't mention in your post whether they've all been registered or not.  Since you didn't use a setup registration wouldn't be done automatically.  Is it possible that these problem computers haven't had the OCXs registered?  If it is possible, then I'd have one of the users who's having problems manually register the OCXs and see if that solves the problem.

Expert Comment

ID: 11723049
I understand that you want to run it from a CD, but VB needs certain things to be/have been installed on a PC in order for a VB program to run on that PC (no matter where it is running from).

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

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…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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…
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…
Suggested Courses

916 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