473,378 Members | 1,377 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,378 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 2145
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: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...

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.