Click to See Complete Forum and Search --> : getting vb.net program to run on pc without .net framework
CharvelZeppelin
09-10-2004, 11:26 AM
i just did some programming in vb.net and want to run the program on some friends computers. they dont have .net architecture installed though. is there any way around to run my code without installing that? maybe somehow converting to vb6 from .net. also, i dont have the actual vb6 cds. is there anyway just code in vb6 while using the newest .net version?
also, how would you install .net architecture on win2000?
thanks
jbarreto
09-11-2004, 01:02 PM
The simplest thing to do is to run Windows Update from Internet Explorer on your friend's computer and choose dot Net Framework. Perhaps you can download the dot Net framework onto a CD and take it over, (go to http://www.asp.net/webmatrix/download.aspx?tabindex=4 ). Also, you can create an Installer that automatically goes and gets the dot Net framework for the user.
Note, there's no difference if it's Windows XP or 2K. None.
There are tools to convert VB6 code to .NET code, but not the other way around. VB6 is really just treading water until MS officially kills it.
You have to have the .NET runtime installed to run a .NET applicaction (thing of it similarly to the Java Runtime). It's a 20+ MB download, but certainly easier than trying to convert back to VB6.
mmcdonal@aoc.gov
09-17-2004, 12:14 PM
Definitely easier to just get the runtime. .Net compiles to MSIL, whereas VB6 compiled to binary. Notice I said "compiled?"
SIN28
11-30-2007, 08:38 AM
One alternative is to use a program called SoftInstall.net. It bundles together the parts of the framework you use (not all of it) in with your exe and then it will run on a machine without the framework been installed. You can find it here
http://www.bitfactorysoftware.com/Products/SoftInstallNet/Overview.aspx
ksuohio
12-09-2007, 10:32 AM
Just install the framework. A lot of other programs use it anyways.