From: A.E lover on
Hi all


Assume I write a console application using Visual Basic, I am
wondering if that compiled console application can run alone (without
any need of some additional VB files)?

Thank you.
From: Ralph on

"A.E lover" <aelover11(a)gmail.com> wrote in message
news:dac632f1-dafe-43d5-acdb-2aaf283bff2d(a)2g2000hsn.googlegroups.com...
> Hi all
>
>
> Assume I write a console application using Visual Basic, I am
> wondering if that compiled console application can run alone (without
> any need of some additional VB files)?
>
> Thank you.

No. All VB applications require the VB Runtime which can not be statically
linked. However, since the runtime is a common install with most Windows
Versions, a full install is usually not required.

Installing the VB Runtime directly from MSDN is always a user option. So
they don't have to be package with your app even if required.

-ralph


From: Auric__ on
On Sun, 18 May 2008 21:22:59 GMT, Ralph wrote:

> "A.E lover" <aelover11(a)gmail.com> wrote in message
> news:dac632f1-dafe-43d5-acdb-2aaf283bff2d(a)2g2000hsn.googlegroups.com
> ...
>> Hi all
>>
>>
>> Assume I write a console application using Visual Basic, I am
>> wondering if that compiled console application can run alone
>> (without any need of some additional VB files)?
>>
>> Thank you.
>
> No. All VB applications require the VB Runtime which can not be
> statically linked. However, since the runtime is a common install
> with most Windows Versions, a full install is usually not required.
>
> Installing the VB Runtime directly from MSDN is always a user
> option. So they don't have to be package with your app even if
> required.

There are third-party products that can wrap DLLs into your exe. I can't
name anything specifically; Google is your friend. (The last thing *I'd*
ever do would be wrapping the entire VBRUN/MSVBVM into my app, but you
never know...)

--
Roller skates on the stairs are bad judgment. That was idiotic.