Using VB6 and developing on XP pro SP2. I am a newbie. I can write an exe
that will work on my pc. However once I complie it and email it to someone
else the exe won't work on their pc. Why? Or maybe I should ask, is there
a way to write an exe that will work on someone elses pc without having to
do a package and installation?
J
Ken Halter - 31 Jan 2005 16:29 GMT
> Using VB6 and developing on XP pro SP2. I am a newbie. I can write an
> exe that will work on my pc. However once I complie it and email it to
> someone else the exe won't work on their pc. Why? Or maybe I should ask,
> is there a way to write an exe that will work on someone elses pc without
> having to do a package and installation?
The only way to make sure is to build a setup package. There's no guarantee
that VB runtimes will be installed on anyone's PC. Starting around NT4, SP6,
VB runtimes (just the basics) are preinstalled but it's still a good idea to
build a setup package.... the good news is... if you were doing the same
thing with .Net, you'd need to build a much... much larger package.

Signature
Ken Halter - MS-MVP-VB - http://www.vbsight.com
Please keep all discussions in the groups..
Veign - 31 Jan 2005 16:29 GMT
Without an installation then you may want to look into VB PowerWrap:
http://www.moonlight-software.com/vbpower.htm

Signature
Chris Hanscom - Microsoft MVP (VB)
Veign's Resource Center
http://www.veign.com/vrc_main.asp
--
> Using VB6 and developing on XP pro SP2. I am a newbie. I can write an exe
> that will work on my pc. However once I complie it and email it to someone
[quoted text clipped - 3 lines]
>
> J
Bob O`Bob - 31 Jan 2005 21:49 GMT
> Without an installation then you may want to look into VB PowerWrap:
> http://www.moonlight-software.com/vbpower.htm
Cleomaceae by any other name ...
Jeff Johnson [MVP: VB] - 31 Jan 2005 19:30 GMT
> Or maybe I should ask, is there a way to write an exe that will work on
> someone elses pc without having to do a package and installation?
Practical answer: no.
More involved answer: if you buy a commercial product like Veign indicated,
yes.