Hello,
I wrote a simple exe file in VB Express and apparently when you run the exe in a dos box (on a Win2003 server) it prompts that it requires .NET Framework 2.xxxx.
Ain't that mainly for the GUI stuff
And is there a way to compile that file to an non-.NET exe but still being fully working
I wrote a simple exe file in VB Express and apparently when you run the exe in a dos box (on a Win2003 server) it prompts that it requires .NET Framework 2.xxxx.
Ain't that mainly for the GUI stuff
And is there a way to compile that file to an non-.NET exe but still being fully working
the only thing it does it read out the active directory and save the data to a file (even when I comment out all the fso & ldap stuff it prompts that .net requirement)

simple VBS dos/console application req .NET FW2?
JDeas
Hi!
If you develop in .NET Framework - you must install it on client machines. This is not about GUI only, this is about whole program runtime. .NET is the system that runs your program (manage it). So even 20 KB application needs 20MB .NET Framework installed.
HCTwinJava
well, there's no free version of the older ones right
most of the stuff is .vbs scripts, I wanted them as EXE's as some have admin passwords in it.
Carl Rosenberger
The reason the program is so small is because of the .NET framework (however, you could write it in C++ and get it quite small, too). There's a lot which goes on behind the scenes.
Also, if you hard code your passwords in the EXE they may still be viewable: even in Notepad.
If you've gone to the expense of installing and using Windows Server 2003, what is the big issue of installing the .NET framework I ask this seriously, because I've see a few 'complaints' that they don't want to install it.
pkshih
Gimlei
ram1608
well, it seems that I will write bigger applications in the future aswell.
it's not only for the login script, that was just an example to point the disadvantage of a simple .NET program.
So I will go the VB .Net Express way anyway.
jony_cool
...Or you could always just install .NET on the client machine, because as we all know, dotnetrocks...
FrankSp
so if I want to run such small exe during a log on script to create a desktop icons they all need to install .NET 2.x first
this kinda sux, the compiler should check if the .net stuff is used or not and add the needed .NET parts to the exe if needed, well... that's how I should do it