I have made a very tiny program (it puts the date in the clipboard) But when I compile it, icluding the runtime library then it's very, very big (more then 1 Mb).
Is there no other way to keep the program tiny ?
Printable View
I have made a very tiny program (it puts the date in the clipboard) But when I compile it, icluding the runtime library then it's very, very big (more then 1 Mb).
Is there no other way to keep the program tiny ?
Compile it in vb1 or something
You're going to have to come to terms with the fact that VB can't static link and it's minimum run times are quite large.
Either get the runtimes to them in advance and pass people small exe's
Or use another language
If you want a tiny program for distribution you'll
have to write and compile it in C++ or something
besides VB
-----------------------------------------------
I came into this world with nothing and I still have
most of it.
Make sure that you do not have any Project>References or Project>Components checked that you are not actually using.
This is similar to Kedaman's idea, but if you are distributing your Application via the Internet, you could have a seperate section for downloading the Runtime files. So if people already have the VB Runtime files, they don't have to download them.
You could also write the program as an activeX and run it on the web, but this is tough because IE gives a security error. If the user turns his security settings to minimal then that will register the activeX so it's available on the web or desktop on an IE Page whenever. It's really compact but don't ask me to turn down my settings to view it! Also ActiveX can't be viewed on Netscape.
that's because netscape bites.
just send it to people with a batch file to copy it, instead of the other installation (package & deployment)