Home All Groups Group Topic Archive Search About

how to not use VB.net

Author
11 May 2006 5:58 AM
Alain Roger
Hi,

I have visual studio 2005 and i need to create a VB application.
However, i do not want to use dotnet features because it will force me
to delivery also the dotnet framework to each application user.

how can i be sure that components i used in my application are not from
dotnet package ?

thanks a lot,

Alain

Author
11 May 2006 6:10 AM
Steven Nagy
>> I have visual studio 2005 and i need to create a VB application.

.... don't write it in VB.NET.
Write it in VB6 instead.

>>  However, i do not want to use dotnet features

They aren't "features"... they're a necessity in VB.NET applications.
Any .NET app needs the CLR to run, which is part of the .NET Framework,
which as you know, needs to be installed on the target machine.

If you want to write an app that doesn't need the .NET framework, then
learn VB6 or C++ or Cobol or Pascal or Fortran or PHP or C or .....
etc.

Of course there will be people who contribute to the thread saying that
its possible to pack the framework with your application (which it is),
its not very viable for most developers. There is software around that
can do it for you. But I think it costs over $10,000 from memory...
Author
11 May 2006 6:45 AM
Cor Ligthert [MVP]
Steven,

Right text but maybe next time to Add.
>
> If you want to write an app that doesn't need the .NET framework, then
> learn VB6 or C++ or Cobol or Pascal or Fortran or PHP or C or .....
> etc.
>
Which needs all there own version bounded runtime and probably some extra
DLL to distribute.

Cor
Author
11 May 2006 11:52 AM
Phill W.
Alain Roger wrote:

> I have visual studio 2005 and i need to create a VB application.
> However, i do not want to use dotnet features because it will force me
> to delivery also the dotnet framework to each application user.

The only way to do this is to write "UnManaged" code in C++ (or,
/possibly/, C#).  There is *no way* to avoid the Framework if you're
using Visual Basic.

Regards,
    Phill  W.
Author
11 May 2006 12:24 PM
Jay B. Harlow [MVP - Outlook]
Phill,
C# requires the Framework also. I suspect you are thinking C#'s unsafe code.
Unsafe code is still managed code.

--
Hope this helps
Jay B. Harlow [MVP - Outlook]
..NET Application Architect, Enthusiast, & Evangelist
T.S. Bradley - http://www.tsbradley.net


Show quoteHide quote
"Phill W." <p-.-a-.-w-a-r-d@o-p-e-n-.-a-c-.-u-k> wrote in message
news:e3v8cq$5hl$1@yarrow.open.ac.uk...
| Alain Roger wrote:
|
| > I have visual studio 2005 and i need to create a VB application.
| > However, i do not want to use dotnet features because it will force me
| > to delivery also the dotnet framework to each application user.
|
| The only way to do this is to write "UnManaged" code in C++ (or,
| /possibly/, C#).  There is *no way* to avoid the Framework if you're
| using Visual Basic.
|
| Regards,
|    Phill  W.
Author
13 May 2006 10:04 PM
Galen Somerville
Show quote Hide quote
"Phill W." <p-.-a-.-w-a-r-d@o-p-e-n-.-a-c-.-u-k> wrote in message
news:e3v8cq$5hl$1@yarrow.open.ac.uk...
> Alain Roger wrote:
>
>> I have visual studio 2005 and i need to create a VB application.
>> However, i do not want to use dotnet features because it will force me to
>> delivery also the dotnet framework to each application user.
>
> The only way to do this is to write "UnManaged" code in C++ (or,
> /possibly/, C#).  There is *no way* to avoid the Framework if you're using
> Visual Basic.
>
> Regards,
>    Phill  W.

But I use Visual Basic and there is no Framework. Visual Basic has been
around for years. I think you meant Visual Fred

GalenS
Author
15 May 2006 12:02 PM
Phill W.
Galen Somerville wrote:
Show quoteHide quote
> "Phill W." <p-.-a-.-w-a-r-d@o-p-e-n-.-a-c-.-u-k> wrote in message
> news:e3v8cq$5hl$1@yarrow.open.ac.uk...
>> Alain Roger wrote:
>>
>>> I have visual studio 2005 and i need to create a VB application.
>>> However, i do not want to use dotnet features because it will force me to
>>> delivery also the dotnet framework to each application user.
>> The only way to do this is to write "UnManaged" code in C++ (or,
>> /possibly/, C#).  There is *no way* to avoid the Framework if you're using
>> Visual Basic.
>>
>> Regards,
>>    Phill  W.
>
> But I use Visual Basic and there is no Framework. Visual Basic has been
> around for years. I think you meant Visual Fred

I was, indeed, referring to Visual B-blunt (now I've actually tried this
latest "offering", even "B#" isn't appropriate).

However, you /cannot/ integrate VB "Proper" (that's v6 or earlier) with
Visual Studio 2005 - they are totally disparate products.

If you use the "Visual Basic" that comes with VS'2005, you will be
writing Managed Code that requires the 20MB+ Framework.
If you are writing in VB "Proper", you will be writing unmanaged code
that only needs around 6MB of Run-Time libraries but which is considered
Dean and Buried by Our Friends in Redmond.

Regards,
    Phill  W.
Author
11 May 2006 2:43 PM
Steve C. Orr [MVP, MCSD]
VB.NET requires the .NET framework.
There is no way around that.
If you don't want to require the .NET framework then you shouldn't be
developing with the .NET framework.  However, these days pretty much every
language has some kind of library that must be distributed along with it...

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net


Show quoteHide quote
"Alain Roger" <noemail@nospam.com> wrote in message
news:OBK5GAMdGHA.3632@TK2MSFTNGP05.phx.gbl...
> Hi,
>
> I have visual studio 2005 and i need to create a VB application.
> However, i do not want to use dotnet features because it will force me to
> delivery also the dotnet framework to each application user.
>
> how can i be sure that components i used in my application are not from
> dotnet package ?
>
> thanks a lot,
>
> Alain
Author
19 Oct 2006 7:46 AM
ek
You can't use VB without its runtime or .net toolkit

It uses it to draw windows, paint controls, communicate with the low-level
stuff in windows etc.

You would have to write this program in C or Assembler and make sure (if in
C) it is UNMANAGED and there is only ONE code file

Show quoteHide quote
"Alain Roger" <noemail@nospam.com> wrote in message
news:OBK5GAMdGHA.3632@TK2MSFTNGP05.phx.gbl...
> Hi,
>
> I have visual studio 2005 and i need to create a VB application.
> However, i do not want to use dotnet features because it will force me to
> delivery also the dotnet framework to each application user.
>
> how can i be sure that components i used in my application are not from
> dotnet package ?
>
> thanks a lot,
>
> Alain