Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Software, Programming and Coding > Coding and Programming > Application Programming

Reply
 
LinkBack Thread Tools
Old 06-30-08   #1 (permalink)
Overclocker in Training
 
consadrgh's Avatar
 
amd

Join Date: Jun 2008
Location: North Judson
Posts: 4

Rep: 0 consadrgh Unknown
Unique Rep: 0
Trader Rating: 0
Default help with vb.net application

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.
__________________
System: My System
CPU
2 AMD Turion(TM) 64X2 2GHz
Memory
2GB
Hard Drive
Hitach ATA 250GB
Sound Card
Conexant High Def. Smart Audio 221
OS
Windows Vista Home Premium
Monitor
NVIDIA MCP67M
consadrgh is offline   Reply With Quote
Old 06-30-08   #2 (permalink)
AMD Overclocker
 
decompiled's Avatar
 
amd nvidia

Join Date: Feb 2006
Location: Redsox Nation
Posts: 379

Rep: 29 decompiled is acknowledged by some
Unique Rep: 28
Hardware Reviews: 9
Trader Rating: 0
Default

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.

System: Slow Poke
CPU
AMD X2 4400
Motherboard
MSI K8N Diamond +
Memory
3gb TCC5
Graphics Card
eVGA 7900GS
Hard Drive
74gb Raptor + Raid 1 640's
Sound Card
Audigy SE
Power Supply
OCZ 520 PowerStream
Case
Antec P180
CPU cooling
Stock AMD
GPU cooling
Stock eVGA
OS
Vista x64
Monitor
Dell 1905FP
decompiled is offline   Reply With Quote
Old 06-30-08   #3 (permalink)
Using more Linux everyday
 
BiG O's Avatar
 
intel nvidia

Join Date: Jul 2007
Location: University of Virginia
Posts: 1,243

Rep: 137 BiG O is acknowledged by manyBiG O is acknowledged by many
Unique Rep: 111
Trader Rating: 2
Default

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

System: My System
CPU
Q6700
Motherboard
Blood Iron
Memory
8GB Crucial Ballistix DDR2-800 (4x2GB)
Graphics Card
BFG 8800GTS 512MB g92
Hard Drive
2X 500GB Seagate Barracuda 7,200 RPM SATA RAID 0
Sound Card
Razer Barracuda AC-1 7.1Gaming Soundcard
Power Supply
ABS 700W Modular
Case
Antec 900
CPU cooling
Tuniq Tower 120
GPU cooling
Stock
OS
Vista Ultimate x64 SP, openSUSE 11.0, Xubuntu 8.04
Monitor
Hanns-G 28" & Dell Ultrasharp 19" widescreen
BiG O is offline Overclocked Account   Reply With Quote
Old 07-04-08   #4 (permalink)
Programmer
 
Licht's Avatar
 
amd ati

Join Date: Mar 2007
Location: Bel Air
Posts: 8,526
Blog Entries: 3

Rep: 247 Licht is acknowledged by manyLicht is acknowledged by manyLicht is acknowledged by many
Unique Rep: 165
Folding Team Rank: 847
Trader Rating: 0
Default

Quote:
Originally Posted by decompiled View Post
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.
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.

System: AMD-AMD-ATI
CPU
AMD Athlon X2 5200+
Motherboard
Gigabyte 790X AM2+
Memory
2x 1Gb Kingston && 2x 1Gb Wintec
Graphics Card
Saphire HD 3870
Hard Drive
[RAID0] [2X] WD 160GB 7,200RPM
Sound Card
X-Fi Extreme Gamer Fatality Professional
Power Supply
OCZ Game-X-Stream 700w
Case
NZXT Black Steel
CPU cooling
Stock Heatskin & Fan
GPU cooling
Stock Saphire 3870 Cooling
OS
Windows Vista Home Premium x64 SP1
Monitor
Samsung SyncMaster 19" Widescreen
Licht is offline I fold for Overclock.net Licht's Gallery   Reply With Quote
Old 07-05-08   #5 (permalink)
Overclocker in Training
 
consadrgh's Avatar
 
amd

Join Date: Jun 2008
Location: North Judson
Posts: 4

Rep: 0 consadrgh Unknown
Unique Rep: 0
Trader Rating: 0
Default

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?
__________________
System: My System
CPU
2 AMD Turion(TM) 64X2 2GHz
Memory
2GB
Hard Drive
Hitach ATA 250GB
Sound Card
Conexant High Def. Smart Audio 221
OS
Windows Vista Home Premium
Monitor
NVIDIA MCP67M
consadrgh is offline   Reply With Quote
Old 07-08-08   #6 (permalink)
Mmmm! Toast!
 
hometoast's Avatar
 
intel nvidia

Join Date: Sep 2007
Location: Pennsylvania
Posts: 924

Rep: 69 hometoast is acknowledged by some
Unique Rep: 55
Trader Rating: 8
Default

Quote:
Originally Posted by consadrgh View Post
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?

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)

System: Muh Box
CPU
E6750 @ 3.2Ghz
Motherboard
DFI Blood Iron
Memory
4x1G GSkill HZs @960
Graphics Card
eVGA 8800GT 512 @675/950
Hard Drive
2xWD 320 AAKS Raid0 + 74G Raptor
Sound Card
X-Fi XtremeMusic
Power Supply
CM Extreme Power 650W
Case
CM Centurion 5
CPU cooling
AC Freezer 7
OS
Vista Biz 64
Monitor
Samsung 204BW
hometoast is offline Overclocked Account   Reply With Quote
Old 1 Week Ago   #7 (permalink)
PC Gamer
 
-Darkness-'s Avatar
 
Join Date: Apr 2008
Location: Far, far away.
Posts: 17

Rep: 1 -Darkness- Unknown
Unique Rep: 1
Trader Rating: 0
Default

When you debug, u test the app, so yeah its THE app in question....

*but this was already stated *
-Darkness- is offline   Reply With Quote
Old 5 Days Ago   #8 (permalink)
Case Modder
 
CattleRustler's Avatar
 
intel nvidia

Join Date: Apr 2008
Location: NYC
Posts: 1,539

Rep: 155 CattleRustler is acknowledged by manyCattleRustler is acknowledged by many
Unique Rep: 111
Trader Rating: 0
Default

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 1000

Make 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

System: beast (no OC)
CPU
Q9450 1333mhz 45nm 12mb
Motherboard
Asus Maximus Extreme X38
Memory
2x1 GB Corsair 1333mhz (pc3 10600)
Graphics Card
XFX GTX 280 1GB 512bit
Hard Drive
1x500 GB WD Caviar SATA2 3gb/s
Sound Card
Creative X-Fi Xtreme Gamer
Power Supply
Silverstone Decathalon 850 (100% modular)
Case
Cooler Master Cosmos 1000
CPU cooling
TRUE 120 + AS5 (no lap yet)
GPU cooling
Stock + Riva Tuner 2.09
OS
XP Pro 32, sp2
Monitor
Viewsonic VX2255 22" LCD Widescreen
CattleRustler is offline   Reply With Quote
Old 5 Days Ago   #9 (permalink)
Performance...
 
linskingdom's Avatar
 
intel nvidia

Join Date: Jun 2007
Location: In Office
Posts: 8,735

Rep: 2154 linskingdom is a legendlinskingdom is a legendlinskingdom is a legendlinskingdom is a legendlinskingdom is a legendlinskingdom is a legendlinskingdom is a legendlinskingdom is a legendlinskingdom is a legendlinskingdom is a legendlinskingdom is a legend
Unique Rep: 932
Trader Rating: 3
Default

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.

System: QD65D45
CPU
65Q/D&45D
Motherboard
DFI/Asus/Gigabyte

Last edited by linskingdom : 5 Days Ago at 09:40 PM.
linskingdom is offline Overclocked Account linskingdom's Gallery   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools



All times are GMT -4. The time now is 08:32 AM.


Overclock.net is a Carbon Neutral Site Creative Commons License Internet Security By ControlScan

Terms of Service / Forum Rules | Privacy Policy | Advertising | Become an Official Vendor
Copyright © 2008 Shogun Interactive Development. Most rights reserved.
Page generated in 0.16619 seconds with 9 queries