Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C++ and Visual C++ > Visual C++ 2005
|
Visual C++ 2005 For discussion of Visual C++ 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual C++ 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 December 29th, 2008, 07:17 PM
Registered User
 
Join Date: Dec 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ok here both exes

http://rapidshare.com/files/177982377/BACKUP.zip

I changed the second exe into a programm which choose between 1 or not 1 :D so you can see if your code works.
Dont think this is the program what i want to start :)
And thank you alot for your help


e// dude i think i got it, it works.
Has to test it at my other computer

I wrote a batch with following in it.

start echo 1 | tr.exe

and it works, need to test it

Last edited by manu123; December 29th, 2008 at 07:22 PM..
 
Old December 29th, 2008, 07:37 PM
Registered User
 
Join Date: Dec 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ok i tested it.

It looks like that

Code:
C:\Documents and Settings\manu\Desktop\bi>start echo 1   | birth.exe

[1] - Start
[2] - Exit
and a second dos window is open with this

Code:
 1

C:\Documents and Settings\manu\Desktop\bi>
And when i tip 1 on my keyboard it starts the Program

So i think that i hast to start the programm and then use echo 1
I tryied but it doesnt work.
How can i write the echo after start tr.exe?
 
Old December 30th, 2008, 03:08 AM
Authorized User
 
Join Date: Dec 2008
Posts: 50
Thanks: 1
Thanked 5 Times in 5 Posts
Default

Quote:
Originally Posted by manu123 View Post
Ok i tested it.

It looks like that

Code:
C:\Documents and Settings\manu\Desktop\bi>start echo 1   | birth.exe

[1] - Start
[2] - Exit
and a second dos window is open with this

Code:
 1

C:\Documents and Settings\manu\Desktop\bi>
And when i tip 1 on my keyboard it starts the Program

So i think that i hast to start the programm and then use echo 1
I tryied but it doesnt work.
How can i write the echo after start tr.exe?
try this

Code:
C:\Documents and Settings\manu\Desktop\bi>echo 1   | birth.exe
should work fine.

i tried the exe files you sent but they are not valid exe files, i have .net framework installed but it shows error.

thanks

Last edited by zeronexxx; December 30th, 2008 at 03:11 AM..
 
Old December 30th, 2008, 06:13 AM
Registered User
 
Join Date: Dec 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

... What an ****************. Maybe when all works on your computer can you send me the .exe file because i need that .exe.
This would be amazing, and so much thank for your help.


My msdos log:
Code:
F:\Documents and Settings\sl\Desktop\mysql\prsl\nothingtohit>bi>echo 2 | kxcjsb.exe
'bi' is not recognized as an internal or external command,
operable program or batch file.
 
Old January 1st, 2009, 02:44 PM
Registered User
 
Join Date: Dec 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ok i got some erors with include windows.
So i installed SDK from windows.
But your code doesnt work, how can i save a .exe.
I allways goes into the projects directory and take the .exe from debug order.
is this correct?

If it works on your computer could you send me the code or the .exe this would be amazing.... :D





Similar Threads
Thread Thread Starter Forum Replies Last Post
Create Check Boxes/Option buttons/Option Group hewstone999 Access VBA 1 March 14th, 2008 07:25 AM
Membership: aspnet_sql.exe -> aspnet_regsql.exe ricpue BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 2 August 9th, 2006 11:40 PM
problem creating .exe from MFC AppWizard(exe) c++ method Visual C++ 0 July 7th, 2006 03:28 AM
How to start an EXE on remote machine Nalin General .NET 0 February 24th, 2005 05:39 AM
PHP5 and php.exe php-cgi.exe php-win.exe freddo Beginning PHP 1 August 16th, 2004 09:28 AM





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