Register for your free account! | Forgot your password?

You last visited: Today at 03:43

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



C# SendKey

Discussion on C# SendKey within the .NET Languages forum part of the Coders Den category.

Reply
 
Old   #1
 
{:€P^P_}'s Avatar
 
elite*gold: 0
Join Date: May 2011
Posts: 11
Received Thanks: 4
Question C# SendKey

Hi Leute, Ich brauch mal ne idee und zwar Convertiere ich einen ReadKey in einen bool und dazu brauche ich volgende zeile.

Code:
ConsoleKeyInfo consoleKeyInfos = Console.ReadKey(true);
Das blöde ist mei programm stopt dadurch bis zu einem Tastendruck.
Meine idee wäre es ihn zu simulieren, nur weiß ich nicht wie?
Das mit dem SendKey funktion wie es in google beschrieben wird wollte in der ConsolenApplication nicht so recht funktionieren.
Oder gibt es noch eine andere lösung?
{:€P^P_} is offline  
Old 07/14/2011, 21:39   #2
 
elite*gold: 5
Join Date: Mar 2008
Posts: 460
Received Thanks: 436
was genau willst du machen?
SwarN is offline  
Old 07/15/2011, 11:40   #3
 
elite*gold: 0
Join Date: Nov 2009
Posts: 343
Received Thanks: 45
Ja man kann es lösen und zwar mit Multi-Threading.

MfG
yihaaa is offline  
Old 07/15/2011, 20:21   #4
 
{:€P^P_}'s Avatar
 
elite*gold: 0
Join Date: May 2011
Posts: 11
Received Thanks: 4
Quote:
was genau willst du machen?
Worauf ist das bezogen aufs Convertieren oder umgehen des problems

Quote:
Ja man kann es lösen und zwar mit Multi-Threading.
Ich weiß, nur bekomme ich das mit dem SendKey nicht in der ConsolenApplication hin. Ob das ein fehler von mir ist (mit dem SendKey) oder ob das einfach nicht funktioniert weiß ich nicht.
{:€P^P_} is offline  
Reply


Similar Threads Similar Threads
[VB6/c++]Taste simulieren ohne sendkey?
10/03/2005 - C/C++ - 4 Replies
Gibts ne Möglichkeit nen tastendruck zu simulieren ohne sendkey?



All times are GMT +1. The time now is 03:47.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.