473,407 Members | 2,315 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

how to launch visual basic exe from c# application

I want to launch the visual basic application from my c#.net. i make use of System.Diagnostics.Process.Start.. It is throwing me error. can anyone help me with this
Nov 30 '12 #1
3 2148
PsychoCoder
465 Expert Mod 256MB
Show us the code you're using and the exact error message you're getting and we can help.

I can say that, more than likely, it has nothing to do with it being a VB.NET application being called from a C# application
Nov 30 '12 #2
Expand|Select|Wrap|Line Numbers
  1. using System.Diagnostics;
  2. using System.Runtime.InteropServices;
  3.  
  4.  
  5. Process process1 = new Process();
  6. process1.StartInfo.FileName = @"C:\Project1.exe";
  7. process1.StartInfo.Arguments = "" + "";
  8. process1.Start();
Dec 5 '12 #3
PsychoCoder
465 Expert Mod 256MB
Ok now we got the code you're using, now for the 2nd part of my request. What is the exact error message you're getting? The code you've shown looks like it will launch Project1.exe located in the C drive.
Dec 5 '12 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Robin Powers | last post by:
PROCESS CONTROLS/VISUAL BASIC PROGRAMMERS SALARY: TO $100,000 LOCATION: LOS ANGELES AREA Our Client has recently acquired process automation systems used to monitor and control their...
2
by: Ermi | last post by:
Hi, i have this problem.... From a visual basic application I must replace the value contained in a column with another one....for example Field1 ------ Alfa Beta Gamma
1
by: Orwell | last post by:
Hi -- I'm writing an installation program to deploy a VB.NET application. I've created a setup project, associated it as part of the solution, and everything works great. My question is this...
2
by: JOSE RIVAS | last post by:
HI PLEASE HELP Im making a program, that makes a process (OCR process) so i reach to automate it in order to open a file ("c:\image.bmp") and then executes the ocr process ok.. it is working...
16
by: Jesse Liberty | last post by:
I am writing a new book on Visual Basic 2005, targeted at VB6 programmers, and to some degree VB.NET 1.x programmers. I'd like to sign up a (limited) number of volunteers to read the book and...
0
by: neon123 | last post by:
i am using a sql loader to load data into oracle 8. i am using vbscript to run the sql loader. i need to pass username and password entered through vbscript ,,into the visual basic application . ...
0
by: tarachandmishra | last post by:
dear all my self tarachand ..iam develping an application in vb with mysql database but iam unable to import the .sql file in to mysql database. i can do it from command window.by passing...
2
by: =?Utf-8?B?Q2F0aA==?= | last post by:
Hi! I'd like to link a Visio diagram with a Visual Basic application. Is it possible ?
1
by: khaledctg | last post by:
I am wondering while working with Oracle Developer 10g. I can design and write code in design mode and it runs from a web browser. Can't I do so with Visual Basic dot Net?
8
by: stuart wieder | last post by:
i have an application containing a header with 5 filters (combo boxes) and 2 search boxes (text boxes). When the search boxes are used and return no records in the detail of the form, the actual...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
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...

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.