First of all Hi! I am new on this forum,
I always hope to post in the right section
Then here is my question.. I am not really familiar with vb.net but trying to learn it.. I want to access a dedicated server by a vb.net (2008) program.
So I want to send the 'console key' or tilde to a remote program. I tryed this:
First make the window active and then:
and
Both didnt work well. When I pull up the console by myself and send some random text with sendkeys then I could read it in the console but I want the console to be pulled open by this remote program.
So I gues the dedicated server only responds on the "keypress" and not particular on the tilde.
I found out that maybe SendMessage could help me but I dont really know how to use it.
Thanks in advance
I always hope to post in the right section
Then here is my question.. I am not really familiar with vb.net but trying to learn it.. I want to access a dedicated server by a vb.net (2008) program.
So I want to send the 'console key' or tilde to a remote program. I tryed this:
First make the window active and then:
VB.NET:
SendKeys.SendWait(" {~}")
VB.NET:
SendKeys.SendWait(" `")
Both didnt work well. When I pull up the console by myself and send some random text with sendkeys then I could read it in the console but I want the console to be pulled open by this remote program.
So I gues the dedicated server only responds on the "keypress" and not particular on the tilde.
I found out that maybe SendMessage could help me but I dont really know how to use it.
Thanks in advance