|
-
VB app runs only on the PC it is compiled on.
I am a consultant who inherited a VB6 program utilizing SQL 7.0 for the backend.
The pogram will compile and run. But the moment you try to install it on
another machine, it will not run on that machine. All we here are two quick
beeps. The program does not even get to the first line of code, it dies while
windows is trying to load it.
We moved the cource code to another PC, compiled it and it ran fine. We moved
the executable back to my PC and it will not run. All we hear are the two
quick beeps.
The program is using the data environment variable (which I believe to be
the culprit).
Dev environment is NT4 w/ SP5
Target environment is NT4 w SP5, Win98
Have you ever encountered this before? Any suggestions?
-
Re: VB app runs only on the PC it is compiled on.
Sounds like a typical DLL **** dependency problem. Missing DLL, misregistered
component, obsolete version - anything that might raise a runtime error that would
cause the program to fail.
You might check out our VersionStamper program (www.desaware.com) - it's good for
resolving and preventing that type of problem.
It could also be any number of other configuration problems, but DLL **** would be
my first guess.
Best of luck - these things can be tricky.
Dan
William Henderson wrote:
> I am a consultant who inherited a VB6 program utilizing SQL 7.0 for the backend.
> The pogram will compile and run. But the moment you try to install it on
> another machine, it will not run on that machine. All we here are two quick
> beeps. The program does not even get to the first line of code, it dies while
> windows is trying to load it.
> We moved the cource code to another PC, compiled it and it ran fine. We moved
> the executable back to my PC and it will not run. All we hear are the two
> quick beeps.
> The program is using the data environment variable (which I believe to be
> the culprit).
> Dev environment is NT4 w/ SP5
> Target environment is NT4 w SP5, Win98
>
> Have you ever encountered this before? Any suggestions?
Similar Threads
-
By zac in forum VB Classic
Replies: 0
Last Post: 02-20-2003, 11:32 AM
-
By Pai Li in forum VB Classic
Replies: 0
Last Post: 06-30-2002, 05:23 AM
-
By Sam in forum VB Classic
Replies: 0
Last Post: 08-29-2001, 02:23 PM
-
By pnichols in forum Java
Replies: 5
Last Post: 12-27-2000, 12:25 PM
-
By Mike in forum VB Classic
Replies: 6
Last Post: 04-26-2000, 06:10 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks