Wrox Programmer Forums
|
Visual Studio 2005 For discussing Visual Studio 2005. Please post code questions about a specific language (C#, VB, ASP.NET, etc) in the correct language forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Studio 2005 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 February 19th, 2005, 11:59 AM
Registered User
 
Join Date: Feb 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to anirudhghayal
Default Capture Output in WinExec

hi,

Can someone please tell me how do i caputure the output when i run a executable using WinExec in Vc++.

Anirudh

 
Old April 6th, 2006, 09:22 AM
Registered User
 
Join Date: Apr 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,
Have u tried WinExec(yourprogram.exe,SW_SHOW);? But you have to set the path first, with "cd ...".
For example, if u want to open something with Notepad:
WinExec("Notepad file.txt", SW_SHOWMAXIMIZED);:D






Similar Threads
Thread Thread Starter Forum Replies Last Post
capture URL SKhna ASP.NET 2.0 Basics 1 February 5th, 2008 11:02 AM
capture error logs jemacc SQL Server 2000 1 January 10th, 2007 08:17 PM
Capture Link in Frames itHighway Classic ASP Basics 2 March 28th, 2005 07:50 PM
Which event(s) should be used to capture changes lxu Access 2 April 14th, 2004 09:14 AM





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