getting vb.net program to run on pc without .net framework

Sharky Forums


Results 1 to 6 of 6

Thread: getting vb.net program to run on pc without .net framework

  1. #1
    Reef Shark
    Join Date
    Jun 2001
    Location
    Allen Park
    Posts
    366

    getting vb.net program to run on pc without .net framework

    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

  2. #2
    Catfish jbarreto's Avatar
    Join Date
    Nov 2003
    Location
    Florida
    Posts
    132
    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.
    Last edited by jbarreto; 09-11-2004 at 01:04 PM.

  3. #3
    NullPointerException rock's Avatar
    Join Date
    Sep 2000
    Location
    York, PA
    Posts
    6,203
    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.

    Open Source is free like a puppy is free.

    It's only when you look at an ant through a magnifying glass on a sunny day that you realise how often they burst into flames.

    Understanding Evolution

  4. #4
    Expensive Sushi
    Join Date
    Jul 2004
    Location
    Washington, D.C.
    Posts
    7

    Yah...

    Definitely easier to just get the runtime. .Net compiles to MSIL, whereas VB6 compiled to binary. Notice I said "compiled?"

  5. #5
    Sushi
    Join Date
    Nov 2007
    Posts
    1
    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/Pr.../Overview.aspx

  6. #6
    . ksuohio's Avatar
    Join Date
    Oct 2001
    Location
    Atlanta, GA
    Posts
    2,721
    Just install the framework. A lot of other programs use it anyways.
    ---------------------------------------------------------------
    - Asus M50 Laptop - C2D T9300 - 4 gig RAM - Radeon HD 3650 - Vista x64 Ultimate

    - Intel i7-3770K - Asus P8Z77-V DELUXE - 32gig RAM - Radeon HD7970 Ghz - Plextor M3 256GB/120GB OCZ Vertex3
    - LG BluRay - Razor Blackwidow Ultimate Keyboard - Logitech G9x
    - HP ZR2740w/Asus LCD - W7 Ultimate

    ---------------------------------------------------------------

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •