|
![]() |
Overclock.net - Overclocking.net > Software, Programming and Coding > Coding and Programming > Application Programming | |
help with vb.net application
|
||
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) | |||||||
|
Overclocker in Training
|
Hello. If I write a program on vb.net and I want to launch it from a computer that does not have visual studio, how can i launch this program.
__________________
|
|||||||
|
|
|
|
|
#2 (permalink) | |||||||||||||
|
AMD Overclocker
|
Compile the program into an executable. Move the executable to the computer without Visual Studio. You will need to have the .net SDK installed on the other computer in most cases.
|
|||||||||||||
|
|
|
|
|
#3 (permalink) | |||||||||||||
|
Using more Linux everyday
Join Date: Jul 2007
Location: University of Virginia
Posts: 1,243
Rep: 137
![]() ![]() Unique Rep: 111
Trader Rating: 2
|
Are you trying to edit it? Or just trying to run it? If you're trying to run it, just do what was stated above. If you're trying to edit it, you can use notepad, or textpad, or any number of editors. You just will not have the compiler support. You can also download the express edition on the other computer from here:
http://www.microsoft.com/express/download/default.aspx
__________________
|
|||||||||||||
|
|
|
|
#4 (permalink) | |||||||||||||
|
Programmer
|
He is right with the exception you don't need the .NET SDK you need to have the .NET framework on the PC in question. The .NET framework is an update for Windows XP and is installed on Windows Vista by default.
__________________
|
|||||||||||||
|
|
|
|
#5 (permalink) | |||||||
|
Overclocker in Training
|
The one thing that I did until I got your answer I went to the debug folder and open the application. Do you think it is ok to do that or I should necessary do what you did? How do I compile the program into an executable?
__________________
|
|||||||
|
|
|
|
|
#6 (permalink) | |||||||||||||
|
Mmmm! Toast!
|
Quote:
The file you clicked in the debug folder is the executable - so that's perfectly ok to do.
|
|||||||||||||
|
|
|
|
#8 (permalink) | |||||||||||||
|
Case Modder
|
just make sure the .NET Framework is installed on the target machine, and its the version you are compiling for (2.0,3.0,3.5 w/e)
when you run the app inside of visual studio the exe is compiled and run (in a vshost version for debugging and "edit and continue" ability) The exe will be wherever your project compiles it to (release folder by default iirc) Just copy the exe to the target machine and run it there, it will be JIT compiled and it will run. If it has references and dependencies copy those over as well, or embed them in the exe when you compile it
__________________
[Current Project] The Intelligence [Completed Project] Jessie's Gumdrop (6/08 MOTM 2nd place (curse you CyberDruid )) [Completed Project] Cable Management - Cosmos 1000Make your Worklogs using WorklogCreator <--click here!! (v 1.0.0.7) WorklogCreator is an app that lets you visually build worklogs quickly and easily, then generates the postable output with the click of a button! 3DM06 Score:11377 11921 14933
|
|||||||||||||
|
|
|
|
|
#9 (permalink) | |||
|
Performance...
|
First, need to compile a executable file. Then depending on version of .net you are using, you just make sure the correct .net framework installed on target machine. Use the Redistributable Package instead of the SDK Package to reduce the footprint. Vista has .net 2.0 installed so you don't need install. Net1.1, 3.0 and 3.5 needs to install. This is assuming you don't use third party components. Otherwise, you need to install these components or drop a setup project to the existing project to create a .net setup package. It will incldue all necessary files inside the package.
__________________
Push the limit one more time ... ![]()
Last edited by linskingdom : 5 Days Ago at 09:40 PM. |
|||
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|