![]() |
Need help. (Writing text into command prompt)
Hello,
I'm quite new to the Delphi, so like I was expecting, ran into some problems. Let's see. 1. Creating a timer - DONE 2. If timer reaches to zero, open command prompt - DONE 3. Copy / Write a text ( a string I suppose )into Command Prompt - FAILED 4. Close program - FAILED Im stuck with subject number 3. Trying to figure this thing out about last five hours or so, seems that i'll need some help. Thanks. |
Re: Need help. (Writing text into command prompt)
Post some code, an I am pretty sure that some people will help. A common quote here is "we aren't mind readers." So please help yourself and others by posting some code
|
Re: Need help. (Writing text into command prompt)
I don't even know what you mean by "write a text into command prompt". Do you mean output to the console? Do you mean change the prompt, itself?
Make your expectations clear. Explain how they are failing to be met. Show the code that is failing to meet them. Show all error messages accurately, as well as indications about where they occur. |
Re: Need help. (Writing text into command prompt)
Thanks for the reply's.
I got it working, it was easy. I can't believe how dumb i was and couldn't figure this out in first 10 seconds. ExecuteShellCommand (' ', True); I just didn't write anything between the ' '. Thats why it wasn't working. Next time, I'll give more information. First time always goes wrong. Peace. |
Re: Need help. (Writing text into command prompt)
Not really wrong, just not completely informative, you learned your lesson.
|
| All times are GMT -5. The time now is 3:32 AM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC