473,387 Members | 1,791 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,387 software developers and data experts.

Start program with excel from "MS Visual Studio"

Hi C-community!

How do I start the program
MyProg.exe with the parameter "Tuesday 2006",
which can be found in the folder "Microsoft Visual Studio"?

I want to use the function excel from process.h!

Does anybody have a solution??

Thanks for your help!

Apr 24 '06 #1
6 2219
Sorry,
it must be of course execl!

Apr 24 '06 #2

Zero wrote:
Hi C-community!

How do I start the program
MyProg.exe with the parameter "Tuesday 2006",
which can be found in the folder "Microsoft Visual Studio"?
Even if this was topical, you did not provide enough information for
someone to help you. Ask yourself: "on what disk is this application of
mine?"
I want to use the function excel from process.h!


These are non-standard. You'd better ask in one of the M$ groups.

For a standard, but still non portable way, look up `system()`
function:

#include <stdlib.h>

system("d:\path\dir\MyProg.exe \"Tuesday 2006\"");

Apr 24 '06 #3
Thanks for your help!

Problem with system:

The console which is opened when running system is visible while the
started program is running.

Apr 24 '06 #4

Zero wrote:
Thanks for your help!
You're welcome, but please quote context. Usenet is not a message board
(regradless of what Google shows), and not all the messages are visible
to all the users all the time.

If posting from Google, click Show Options, and then Reply that becomes
visible.
Problem with system:

The console which is opened when running system is visible while the
started program is running.


As I said, you'll have to ask in the group dealing with your system.
Here, only Standard C (as defined by ISO/ANSI) is discussed.

Apr 24 '06 #5

You can use any of the functions from the exec family. It seems better
to use execlp for your case. I think the microsoft visual studio's
library provides the standard exec functions themselves. Read the msdn
entry for the execlp. You can supply the arguments in the call itself.

Apr 24 '06 #6
arun wrote:

You can use any of the functions from the exec family. It seems
better to use execlp for your case. I think the microsoft visual
studio's library provides the standard exec functions themselves.
Read the msdn entry for the execlp. You can supply the arguments
in the call itself.


Whatever you are talking about it is virtually incomprehensible
lacking context. However there are no such things as "standard
exec functions" in C. The closest thing is the system function.
Microsofts library has nothing to do with standard C, and is
off-topic here.

To post reasonable messages with reasonable quoted context, see my
sig. below.

--
"If you want to post a followup via groups.google.com, don't use
the broken "Reply" link at the bottom of the article. Click on
"show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers." - Keith Thompson
More details at: <http://cfaj.freeshell.org/google/>
Also see <http://www.safalra.com/special/googlegroupsreply/>

Apr 24 '06 #7

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

Similar topics

1
by: nfr | last post by:
An example I am looking at says to "Open a Visual Studio.Net Command Prompt", but I can't find any reference to a VS command prompt under, say "File" or "Tools", etc.
7
by: tcarvin | last post by:
The .NET studio help system seems to use these odd URLs to locate (html) help files to display. But on my system, I get "Server not found" web errors whenever I access Help. What do I have to do...
2
by: Grahammer | last post by:
I don't keep my projects here, yet this folder keeps appearing in My Documents. This folder is cluttered up enough without extra folders being dumped here for no reason. How do I stop Visual...
4
by: jrasmussen | last post by:
I have created an Excel spreadsheet for the web. When it opens in IE 6.0 I get the message that the format is not supported. This is because it is in tab delimited format. Ane when I save the file,...
3
by: Steve Richter | last post by:
here is an error I get when I open my class library project: "The class ResultsTable can be designed, but is not the first class in the file. Visual Studio requires that designers use the first...
2
by: CVerma | last post by:
I'm using an html input control (System.web.UI.HTMLControls.HTMLInputFile) to upload files such as msword, excel, jpg, and pdf. I have the encType property set in the form:...
11
by: Tolga | last post by:
After a very rapid entrance into the Python, I have immediately looked for a good IDE. Komodo and Wing IDE look very good and I think they are enough. But now, I am searching for a Pyhton...
8
by: William LaMartin | last post by:
I just received my Visual Studio upgrade to 2005 and tried to create a new web site via File | New Web Site with location http. Unfortunately I received the following error: "Visual Web...
8
by: olrt | last post by:
Hello, I plan to install Visual C# 2005 Express. I need a source code control system. It seems that there's no express version of Visual Source Safe. What should I do ? Is Visual C# 2005 Express...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: 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?
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
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,...
0
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...

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.