![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Oct 2007
Posts: 2
Rep Power: 0
![]() |
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. |
|
|
|
|
|
#2 |
|
Programmer
Join Date: May 2006
Location: The US duhhhhh!
Posts: 42
Rep Power: 0
![]() |
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
__________________
Work Hard... Play Harder! |
|
|
|
|
|
#3 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
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.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#4 |
|
Newbie
Join Date: Oct 2007
Posts: 2
Rep Power: 0
![]() |
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. |
|
|
|
|
|
#5 |
|
Programmer
Join Date: May 2006
Location: The US duhhhhh!
Posts: 42
Rep Power: 0
![]() |
Re: Need help. (Writing text into command prompt)
Not really wrong, just not completely informative, you learned your lesson.
__________________
Work Hard... Play Harder! |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Writing to a text file. | BungalowBill | Java | 2 | Mar 19th, 2007 8:09 AM |
| [perl] graphical text editor | glimmy | Existing Project Development | 0 | Aug 6th, 2006 11:47 PM |
| How to detect cursor location and insert text??? | syntax-error | C# | 3 | Jun 30th, 2005 1:42 AM |
| Over writing text in a .txt file? | cloud- | Visual Basic | 1 | Apr 13th, 2005 12:43 PM |