Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB.NET
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 1st, 2004, 04:41 PM
Authorized User
 
Join Date: Dec 2003
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

 
Old March 1st, 2004, 05:03 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
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.
 
Old March 1st, 2004, 05:10 PM
Authorized User
 
Join Date: Dec 2003
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

 
Old March 1st, 2004, 06:00 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
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.
 
Old September 23rd, 2010, 12: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.
 
Old September 23rd, 2010, 01:27 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 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 05:04 AM..
The Following User Says Thank You to Imar For This Useful Post:
sathis (September 23rd, 2010)





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 07: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 10: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 12:57 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.