Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[C#] Help figuring out this line

Newbie Spellweaver
Joined
Jun 20, 2008
Messages
28
Reaction score
0
Code:
new System.Diagnostics.ProcessStartInfo("cmd", "/c " + "msg * "popupString.text);
This line tells the Windows CMD to run a command (In this case, the command is "msg * [string]"). I'm making a program to use this command to send popup messages (Simple, but this is how I'm learning), and the textbox with the desired string to be displayed is named popupString. How do I do this?
 
Extreme Coder - Delphi
Loyal Member
Joined
Sep 8, 2007
Messages
1,381
Reaction score
39
ProcessStart will start the CMD application, but im not sure on how to get the string into the CMD, maybe make your program make a txt file, like a batch file which your program runs with your desired string.
 
Elite Diviner
Joined
Jan 26, 2006
Messages
483
Reaction score
5
System.Diagnostics.Process.Start(“CMD.exe”,”cd ..”);

at cd .. just type the command you want it to do

if you want a popup with tekst like "Hello World" use the MessageBox.Show("Hello Word");
 
Last edited:
Back
Top