Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C++ and Visual C++ > Visual C++
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 5th, 2006, 09:29 AM
Registered User
 
Join Date: Sep 2006
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.

 
Old October 10th, 2006, 08:39 PM
Registered User
 
Join Date: Oct 2006
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
 
Old October 18th, 2006, 11:58 AM
Registered User
 
Join Date: Oct 2006
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






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





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