473,809 Members | 2,580 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to call outside application in C#

Hi don't know where to post this, please help me.

I have a third party application that I need to launch inside my C#
application. how can I do this?

thanks.
May 24 '06 #1
3 1407
C# application is a web based or Desktop windows form??? same question
for Third party application. What is exact scenario

May 24 '06 #2

public void WindowsLaunchAp plication(strin g app)
{

Process p=null;
try
{
p= new Process();
p.StartInfo.Fil eName = app;
p.Start();

p.WaitForExit() ;
}
catch (Exception ex)
{
Console.WriteLi ne("Exception Occurred :{0},{1}",
ex.Message,ex.S tackTrace.ToStr ing());
}
}

cecille wrote:
Hi don't know where to post this, please help me.

I have a third party application that I need to launch inside my C#
application. how can I do this?

thanks.

May 24 '06 #3
Hi.

My application is a desktop based application.. the third party apps that I
will be launching from my apps is also desktop based except that I can
launch the application hidden in the background..

Is using the process class the only way that I can launch the 3rd party
apps?? and how do I exit the rd party apps since it is running in the
background?

thanks
"BizWorld" <mo**********@g mail.com> wrote in message
news:11******** **************@ j55g2000cwa.goo glegroups.com.. .
C# application is a web based or Desktop windows form??? same question
for Third party application. What is exact scenario

May 24 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
6270
by: Oleg Konovalov | last post by:
Hi, We have an application which is a Java/JSP security wrapper to control access to the contents of the external corporate training Web site (courses). It is a Java/JSP/Struts application which was originally developed on Windows and deployed on Tomcat4.1. As of today, the contents (HTML/Flash) is residing inside
8
2296
by: | last post by:
In global.asa I have some code outside all the Subs. I have some confirmation that it is being executed OnStart. Yet I can's see if it is executed OnEnd. The literature I have says that OnEnd the Sub Application_OnEnd is executed, but is does not say that anything else is executed Actually I even can't understand if global.asa is permited to have any code outside the Subs
3
2288
by: Mo | last post by:
Hi, I have a webform which has vb.net code behind it and I would like it to submit the entries in the fields into a sql server db using a stored procedure. I have a central .vb file in my application that has all the stored proc calls in it. in the Submit_Click Sub in my form.vb file, I reference the function in my central .vb file which calls the stored proc. The problem that I am having is that when I submit my form, it just...
2
1205
by: Oleg | last post by:
I need to configure my web application to see a folder outside it's root. I know I need to configure my web.config file, but don't know how. Can you help?
10
24090
by: bienwell | last post by:
Hi, I have a question about file included in ASP.NET. I have a file that includes all the Sub functions (e.g FileFunct.vb). One of the functions in this file is : Sub TestFunct(ByVal strInput As String) return (strInput & " test") End Sub
2
2527
by: gurnandank | last post by:
Hi, I have a web application which uses SSL on one the folders. When I developed application the set up was webroot and under that folder called 'secure'. My ISP has provided a folder called 'secure' on the server which has shared SSL and is sitting outside of the web root, hence the set up called 'secure' and then at the same level a folder called web root. Now, I have two issues:
7
2029
by: Alessandro Benedetti | last post by:
Hi. I'm calling two methods of a .NET Webservice (A) from another Webservice (B). The A Webservice is made like this: public class WSA: System.Web.Services.WebService { private int X = 0;
2
2209
by: Michael Tissington | last post by:
I have converted an application to asp.net 2.0. a C# file in my App_Code folder calls a C++ DLL that is in my BIN folder. In the previous version of .NET this worked correctly. However in a hosted environment I'm now getting a a security error when I try to call the external dll. --- Security Exception
7
6807
by: archana | last post by:
Hi all, I am having application in which i am doing asynchronous call.I am using manualresetevent to wait for asynchronous call to complete. I want to stop asynchronous call after certain period of time. I want something like thread.abort for aborting aynchronous call. Can someone tell me way of aborting asynchronous call.
0
1242
by: =?Utf-8?B?TWlrZQ==?= | last post by:
We have a legacy application that has to be integrated with new .net 2.0 our library. We marked our .net assemply as COM-visible and registered it. We are using a custom configuration manager that reads config file using location of the corresponding .net dll. Our requirement is that VB application should be in a separate folder from the .net class library. When we try to get our custom configuration section from .net that is being called...
0
9721
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9603
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10640
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10376
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10387
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7662
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5689
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4332
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3861
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.