Thursday, November 11, 2010

How do make my VB application run without it's runtime and dll/ocx files?

I want ppl to run my application without having to install a runtime files.How do make my VB application run without it's runtime and dll/ocx files?
You can't. VB doesn't compile a true executable, it needs the runtime to work.How do make my VB application run without it's runtime and dll/ocx files?
This is tricky, but it can be done, as long as you don't mind the runtime file being there, but not installed. For example, years ago I wrote a program that would run from a CD without being installed. I used only the a form and very basic controls, no OCXs or DLLs. I could put it on a CD root folder with the runtime, and it worked just fine - a way to make an AUTORUN.EXE.

I might still have it around somewhere. If you want to see it, email me and I will look for it.

No comments:

Post a Comment