Home All Groups Group Topic Archive Search About
Author
12 Oct 2005 2:06 PM
DPM
Hello,

First, I apologise if this is the wrong forum for this; please direct me to
the correct one if so.

We have the problem of a compiled VB6 app that will only run if the computer
has the VB6 development tools installed.  When we try to run it on a
computer that doesn't we get "Runtime error 429".  We've run Filemon without
any luck.

Is this a common problem?  Are we compiling the executable incorrectly?  Is
there a tool that will give us a clue as to what we're missing on the target
systems?  This happens on both Win2K and XP.
--
Regards,
Dean

Author
12 Oct 2005 2:16 PM
Ken Halter
Show quote Hide quote
"DPM" <d*@junk.com> wrote in message
news:eVqpGZzzFHA.2212@TK2MSFTNGP15.phx.gbl...
> Hello,
>
> First, I apologise if this is the wrong forum for this; please direct me
> to
> the correct one if so.
>
> We have the problem of a compiled VB6 app that will only run if the
> computer
> has the VB6 development tools installed.  When we try to run it on a
> computer that doesn't we get "Runtime error 429".  We've run Filemon
> without
> any luck.
>
> Is this a common problem?  Are we compiling the executable incorrectly?
> Is
> there a tool that will give us a clue as to what we're missing on the
> target
> systems?  This happens on both Win2K and XP.
> --
> Regards,
> Dean

It's a very common problem and it means that either your setup package
doesn't include everything your app needs to run, or, you've broken binary
compatibility with previous releases of your components. You really should
have error trapping in place that can give you a clue about which
dll/ocx/whatever is causing that error.

--
Ken Halter - MS-MVP-VB - http://www.vbsight.com
DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm
Please keep all discussions in the groups..
Author
13 Oct 2005 8:13 AM
Jan Hyde
"DPM" <d*@junk.com>'s wild thoughts were released on Wed, 12
Oct 2005 10:06:58 -0400 bearing the following fruit:

>Hello,
>
>First, I apologise if this is the wrong forum for this; please direct me to
>the correct one if so.
>
>We have the problem of a compiled VB6 app that will only run if the computer
>has the VB6 development tools installed.  When we try to run it on a
>computer that doesn't we get "Runtime error 429".  We've run Filemon without
>any luck.
>
>Is this a common problem?  Are we compiling the executable incorrectly?  Is
>there a tool that will give us a clue as to what we're missing on the target
>systems? 

Well you could start with the P&DW, it can create a
dependency file which tells you all the files required by
your project.

>This happens on both Win2K and XP.

You *must* create a setup program because VB programs rely
on other files, even a very simple VB program requires
certain files. The only reliable way to ensure these files
are installed is to creat a setup program.

It *is* worth taking a look at what files the project
requires (look at the dependency file once created) and then
finding out why they are needed.



Jan Hyde (VB MVP)

--
"I'm no longer invisible" said Tom Insightfully    

(Jan Hyde)

[Abolish the TV Licence - http://www.tvlicensing.biz/]