How to make a stand alone application.
> I know that this is probably a stupid question, but how do i make an
> application that does not need the vb runtime files?
Answer: Write it in Delphi. <g>
Seriously, it's not a stupid question. Many programmers ask this question.
Unfortunately, VB requires the use of dynamically-linked runtime libraries.
It does not currently have an option to "staticly" link those routines into
the EXE you build. If you build an EXE or even an OCX or DLL with VB, it
will require distribution of the VB core runtime files in order for it to
run on a given system.
While this may seem a major problem, it does have the advantage of allowing
you to create smaller EXEs, since the bulk of the code is in the runtime (in
many cases). I just wish Microsoft would ship the VB runtime(s) (4,5,6,
etc.) with the operating systems, so we VB programmers could "assume" that
they'd be there. Of course, as soon as a new rev of VB came out, you
couldn't assume its runtime would be present until the next OS came out...
Sorry, maybe VB7 will offer static linking - of course, if they do, don't be
surprised if you start getting 3 MB "hello world" programs!
Software with Brains, Inc.
Visual Basic Controls and Components
SWBTracker - Value-Priced Defect Management Software