How do I create a command window/console?
-
I was just wondering if anyone knew how to create a command window or console as found in VS.net? I have had a look arround and there dont seem to be any tutorials or even any references to them. If there arnt any examples does anyone have any hints or tips on creating one? Thanks Tim
-
I was just wondering if anyone knew how to create a command window or console as found in VS.net? I have had a look arround and there dont seem to be any tutorials or even any references to them. If there arnt any examples does anyone have any hints or tips on creating one? Thanks Tim
You're question is a little confusing. Are you asking how to make a console application (i.e. an application with no graphical UI)? What command windows/console in VS .NET are you referring to? -Matt ------------------------------------------ The 3 great virtues of a programmer: Laziness, Impatience, and Hubris. --Larry Wall
-
You're question is a little confusing. Are you asking how to make a console application (i.e. an application with no graphical UI)? What command windows/console in VS .NET are you referring to? -Matt ------------------------------------------ The 3 great virtues of a programmer: Laziness, Impatience, and Hubris. --Larry Wall
i dont want to make a console application i want to make a windows application with a console in it (as seen in VS.net if you go... View> Other windows> Command Window. or on the keys... Ctrl+Alt+A) I will use the console in a seperate window to my main app to perform some program specific functions and to allow users to write and run scripts of multiple operations. Hope this helps clarify things?
-
i dont want to make a console application i want to make a windows application with a console in it (as seen in VS.net if you go... View> Other windows> Command Window. or on the keys... Ctrl+Alt+A) I will use the console in a seperate window to my main app to perform some program specific functions and to allow users to write and run scripts of multiple operations. Hope this helps clarify things?
I see. OK. Well this really depends are your exact needs. Frankly, I'm not sure how they implement the expanding and contracting thing because I've never tried it (and I know that that is not what you're concerned about), but it occurs to me that no matter how you implement your user interface (e.g. splitters, separate windows, etc.) as long as you have a way of getting input (e.g. a text box), you should be able to just read the commands whenever the enter key is pressed inside of that edit area. This probably doesn't really help you much, but I guess I'm not sure what the big mystery is. I'm probably over simplifying, so tell me what else I need to know to get to the heart of the issue. -Matt ------------------------------------------ The 3 great virtues of a programmer: Laziness, Impatience, and Hubris. --Larry Wall
-
I see. OK. Well this really depends are your exact needs. Frankly, I'm not sure how they implement the expanding and contracting thing because I've never tried it (and I know that that is not what you're concerned about), but it occurs to me that no matter how you implement your user interface (e.g. splitters, separate windows, etc.) as long as you have a way of getting input (e.g. a text box), you should be able to just read the commands whenever the enter key is pressed inside of that edit area. This probably doesn't really help you much, but I guess I'm not sure what the big mystery is. I'm probably over simplifying, so tell me what else I need to know to get to the heart of the issue. -Matt ------------------------------------------ The 3 great virtues of a programmer: Laziness, Impatience, and Hubris. --Larry Wall
-
I see. OK. Well this really depends are your exact needs. Frankly, I'm not sure how they implement the expanding and contracting thing because I've never tried it (and I know that that is not what you're concerned about), but it occurs to me that no matter how you implement your user interface (e.g. splitters, separate windows, etc.) as long as you have a way of getting input (e.g. a text box), you should be able to just read the commands whenever the enter key is pressed inside of that edit area. This probably doesn't really help you much, but I guess I'm not sure what the big mystery is. I'm probably over simplifying, so tell me what else I need to know to get to the heart of the issue. -Matt ------------------------------------------ The 3 great virtues of a programmer: Laziness, Impatience, and Hubris. --Larry Wall
Im not worried about the expanding and contracting at the minute, i can sort that out at a later date as i need that in other parts of the application. Im not to worried about the GUI at the minute either, it will be in a box similar to that in VS.net but thats not essential. What i was wondering is if there was any implimentation of it as ive used languages that have it (ie TCL/TK) and i think java has one? i dont know how id go about calling commands "dynamically" though? would i just have to have switch/case statements for every posible command that could be run or is there a way of calling methods "on the fly"? I dont think you are over simplyfying it at all i think i needeed your imput to see that i was over complication the whole thing. My only worry is about the fact that some characters will need to be read-only, others writeable etc. do you have any ideas on how i could deal with that? Thanx
-
i implemented a really simple console app for my text editor..if you would like i can email you the source so you can get a general idea....(its easy to do you will see) Jesse M The Code Project Is Your Friend...
if you could email it to me id be most greatful, and it would help me a great deal. My mail is blue@nildram.co.uk