Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB.NET
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
VB.NET General VB.NET discussions for issues that don't fall into other VB.NET forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old March 1st, 2004, 04:41 PM
Authorized User
 
Join Date: Dec 2003
Location: , , USA.
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to AyatKh
Default Running VB.net EXE file on the server

Hi,
I need to run an VB.net EXE application on the Server. the server doesn't have .net installed on it . When I run the application from my local machin , it works fine but I get error when I run it on the server.
Here is the error: "Application has generated an exception that could not be handled."
For Tracing the error I write to a .txt file. I have my first line for Streamwriter.Writeln() after the Main Sub() in the program. it does not even get to that point.

Do you have any solution for that? Is there anything missing for running an EXE file ? Do I need to install .net framework in the server?

Thanks
Ayat

Reply With Quote
  #2 (permalink)  
Old March 1st, 2004, 05:03 PM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,413
Thanks: 0
Thanked 16 Times in 16 Posts
Default

If you wrote a .NET application, you're going to need .NET to run it. You don't need to install anything other than the .NET runtime however.
Reply With Quote
  #3 (permalink)  
Old March 1st, 2004, 05:10 PM
Authorized User
 
Join Date: Dec 2003
Location: , , USA.
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to AyatKh
Default

thanks
Can you tell me about .net runtime? Is that something that I can download and install?
Also, I have a number of Database connection in my application, Do I need something else that is missing? I have the ADODB.dll Also.
-Ayat

Reply With Quote
  #4 (permalink)  
Old March 1st, 2004, 06:00 PM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,413
Thanks: 0
Thanked 16 Times in 16 Posts
Default

The runtime is what makes .NET work. It IS .NET.

If you have been developing with .NET you have already installed the runtime. To get it on the server you can do a windows update and select the runtime as an update option. Or you could go to the microsoft website and download the installer.

Why are you using ADODB? If you wrote a native .NET application you shouldn't be using the old ADODB classes. Once you have the runtime installed on the server, all you should have to do is put the executable (and any supporting assemblies) onto the machine. You can then run the executable.

As long as the database connections are to database servers that are visible by the server running this program, you shouldn't have to change much.

Peter
------------------------------------------------------
Work smarter, not harder.
Reply With Quote
  #5 (permalink)  
Old September 23rd, 2010, 01:12 AM
Registered User
 
Join Date: Sep 2010
Posts: 1
Thanks: 1
Thanked 0 Times in 0 Posts
Default attach external software in vb.net

hai,
i wnt knw is gt any possibilities to attach a software/exe application running in vb.net?
if gt mean pls tell me hw!!
thanks.
Reply With Quote
  #6 (permalink)  
Old September 23rd, 2010, 02:27 AM
Imar's Avatar
Wrox Author
Points: 67,581, Level: 100
Points: 67,581, Level: 100 Points: 67,581, Level: 100 Points: 67,581, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 16,269
Thanks: 66
Thanked 1,428 Times in 1,408 Posts
Default

Maybe this helps?

http://imar.spaanjaars.com/557/tips-...he-wrox-forums

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!

Last edited by Imar; September 23rd, 2010 at 06:04 AM.
Reply With Quote
The Following User Says Thank You to Imar For This Useful Post:
sathis (September 24th, 2010)
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Running a VB 2005 exe file on a system without VB dilionyi Pro Visual Basic 2005 3 September 21st, 2009 08:37 PM
.exe or .bat file and VB.NET MARY9 Pro VB.NET 2002/2003 1 March 8th, 2007 08:08 AM
Running my VB 2005 exe file dilionyi Visual Basic 2005 Basics 4 August 10th, 2006 11:00 AM
running .exe file in asp.net hotshot_21 ASP.NET 1.0 and 1.1 Basics 0 January 9th, 2006 08:32 AM
Running an external program (.exe) in VB.net webgen VS.NET 2002/2003 1 July 18th, 2005 01:57 PM



All times are GMT -4. The time now is 12:12 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.