|
![]() |
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,481
Rep: 164
![]() ![]() Unique Rep: 3
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) | |||||||||||||
|
The Project Keeper
|
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.
__________________
Rocket 3 down-payment fund: [|||||||||] $6k e6750 @ 3.2 Ghz (400x8) - 7k ppd GPU+SMP
|
|||||||||||||
|
|
|
|
#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 (TF2 Themed mod / case from scratch) [mod2modding] All Modding Projects by CattleRustlerMake your Worklogs using WorklogCreator <--click here!! (v 1.0.0.7) An app I wrote that lets you visually build worklogs quickly, 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 : 09-01-08 at 09:40 PM. |
|||
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|