Although the VB6 runtime is pretty small (1mb), it also requires
"installing" (which requires admin privileges on the machine). It cannot be
statically compiled into the exe. Your only choice is C++. Even with MFC,
what does it add to the exe? 500K if I remember right. That's not all that
bad.
If you want to go way way way back into time... you could get your hands on
VB3, which required just one 300K dll that could reside in the same folder
as the exe and work just fine without being installed. ;-) VB3 apps run just
fine in Windows today.
P.S.
I do sure wish that MS had found a way to allow you to statically (and
intelligently, incrementally) compile the framework into standalone exe's.
It would have sparked a lot of good shareware development similar to what
happened in the mid to late 90's with MFC and VB3 programs. As it stands
now, .NET apps are only really viable in a corporate environment.... nothing
else.
"rockdale" <(E-Mail Removed)> wrote in message
news:8666c5ce-bb6a-43f3-8d59-(E-Mail Removed)...
most of my end users are not computer literate and may not access to
internet, they may not be able to download CLR for .net or JRE for
Java or unzip anything.
what they want is auto run the appl as soon as they plug in the flash
drive. I did a little bit research,
I can use C or C++, I even can use MFC for my user interface as long
as I set those dlls to static link. It will result a big execuble file
since those functions will be contained in this exe.
I would like to know more about how VB6 can be self contained since my
appl will use forms, dropdown lists... etc
On Jan 3, 11:09 am, "Bob Powell [MVP]" <b...@spamkillerbobpowell.net>
wrote:
> The VB6 runtime is proportionately very small and C++ certainly doesn't
> need
> a runtime unless its managed c++.
>
> Other than that I have no clue as to how the OP might accomplish their
> task.
>
> --
> --
> Bob Powell [MVP]
> Visual C#, System.Drawing
>
> Ramuseco Limited .NET consultinghttp://www.ramuseco.com
>
> Find great Windows Forms articles in Windows Forms Tips and
> Trickshttp://www.bobpowell.net/tipstricks.htm
>
> Answer those GDI+ questions with the GDI+
> FAQhttp://www.bobpowell.net/faqmain.htm
>
> All new articles provide code in C# and VB.NET.
> Subscribe to the RSS feeds provided and never miss a new article.
>
> "Robbe Morris - [MVP] C#" <i...@eggheadcafe.com> wrote in
> messagenews:%(E-Mail Removed)...
>
>
>
> > VB 6 requires its own runtime and I "believe" C++ does as well.
>
> > You are going to have a tough time getting away from a runtime
> > installation.
>
> > You can't just wire up a self extracting zip file and installs .NET 2.0
> > if it isn't there?
>
> > --
> > Robbe Morris [Microsoft MVP - Visual C#]
> > AdvancedXL Server, Designer, and Data Analyzer
> > Convert cell ranges in Excel to rule driven web surveys
> >http://www.equalssolved.com/default.aspx
>
> > "rockdale" <rockdale.gr...@gmail.com> wrote in message
> >news:f1524bd6-4a4c-46f2-b583-(E-Mail Removed)...
> >> Hi, all:
>
> >> I hav been doing C#.net coding for quite a long time, but mostly on
> >> asp.net. now I need to program an application that will save on flash
> >> driver and when the user plug in flash driver, my application will
> >> auto-run. my application contains user interfaces that user can read /
> >> edit/save their data into flash driver. First, I am think of
> >> using .Net windows form, but this requires user download .net 2.0
> >> framework runtime to run the application, isn't it? Is there a way to
> >> compile those DLLs that my application needed together and avoid
> >> asking user to install .Net 2.0 framework runtime. If installation
> >> of .Net 2.0 framework runtime is a must, are there any other language
> >> a better choice , like VB6.0, C++6.0?
>
> >> thanks in advance
> >> -rockdale- Hide quoted text -
>
> - Show quoted text -