Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > C# and C > C++ and Visual C++ > Visual C++
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Visual C++ Questions specific to Microsoft's Visual C++. For questions not specific to this Microsoft version, use the C++ Programming forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual C++ section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 5th, 2006, 09:29 AM
Registered User
 
Join Date: Sep 2006
Location: sofia, , Bulgaria.
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to dex_bg
Default haveing difficulty's executing a exe file

hi everyone.
I'm developing a program and i need to run a exe file noting else
i just need to press a button and run this exe. Can somebody tell me
the command that execute file's.
i'm using MS Visual C++.net 2003 enterprise architect edition.

Reply With Quote
  #2 (permalink)  
Old October 10th, 2006, 08:39 PM
Registered User
 
Join Date: Oct 2006
Location: , , Chile.
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You didn't specify if you want to do this in .NET or native C++.

In native C++ programming, use ShellExecute API function:

http://msdn.microsoft.com/library/de...ellexecute.asp

Nad
Reply With Quote
  #3 (permalink)  
Old October 18th, 2006, 11:58 AM
Registered User
 
Join Date: Oct 2006
Location: Hyd, AP, India.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to chandugsekhar
Default

u can also go with CreateProcess(...........) method

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Executing .vbs file from asp dsmike2008 Classic ASP Professional 0 July 17th, 2008 11:01 PM
executing vb batch file pat933 VB How-To 0 May 14th, 2006 12:22 AM
Executing an .EXE with ASP and capturing the echo Jase Etheridge Classic ASP Basics 3 October 18th, 2005 02:48 AM
Executing asp Include file withing HTML content itHighway HTML Code Clinic 4 August 7th, 2005 01:03 PM
Executing a file when button pressed scoobie Pro PHP 1 May 10th, 2005 05:35 AM



All times are GMT -4. The time now is 09:15 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.