Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to run an application in my program?

Status
Not open for further replies.

NTFS

Member level 3
Member level 3
Joined
Apr 6, 2004
Messages
66
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Activity points
565
Hi all

I am writing a program with VC++ .NET ( in windows form application in visual studio)

now I want to know how can I run a PDF file ( or an .exe file ) in my program?



Thanks.
 

look into the system() call and execv() and execl() calls. I know that is what the normal G++ and C++ uses
 

hi
you can use system fuction for running any command compatible to command prompt so by giving the path of file as argument in the system function u can make all the files which are recognised by os to start.


cheers
bye
 

I found one line code to do that.

I can do it because of your help.



System::Diagnostics::process::Start( "myProg.pdf" );
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top