Click here to Skip to main content
15,888,610 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: System Time Format Pin
Richard MacCutchan5-Jan-16 23:02
mveRichard MacCutchan5-Jan-16 23:02 
GeneralRe: System Time Format Pin
dha NAA5-Jan-16 23:21
dha NAA5-Jan-16 23:21 
GeneralRe: System Time Format Pin
Richard MacCutchan5-Jan-16 23:26
mveRichard MacCutchan5-Jan-16 23:26 
GeneralRe: System Time Format Pin
Eddy Vluggen6-Jan-16 3:20
professionalEddy Vluggen6-Jan-16 3:20 
QuestionSendinput to a DOS application. Pin
rderkis29-Dec-15 5:58
rderkis29-Dec-15 5:58 
AnswerRe: Sendinput to a DOS application. Pin
Richard MacCutchan29-Dec-15 6:37
mveRichard MacCutchan29-Dec-15 6:37 
GeneralRe: Sendinput to a DOS application. Pin
rderkis29-Dec-15 6:59
rderkis29-Dec-15 6:59 
GeneralRe: Sendinput to a DOS application. Pin
Eddy Vluggen5-Jan-16 9:06
professionalEddy Vluggen5-Jan-16 9:06 
rderkis wrote:
I am not sure "set focus" is even the right word(s).
It is; there's only one application that has input-focus. SendKeys and SendInput will send information to the current active window, which may be different from your intention. Not only is input-focus limited to a single application, it is limited to a single control; press tab and you see the input change focus. Press alt-tab and you see applications change focus.

If I had to automate a console-application, I'd look into redirecting stdin and stdout instead of sending individual keystrokes.

rderkis wrote:
I am 68 a geek so I don't explaine things clear enough
You're among geeks here and you can always post a new message explaining stuff in detail.

I only know that you want to send input to a console-application, and writing to the input-stream would do that. It would still be a good excercise to write that device-driver though Cool | :cool:
Bastard Programmer from Hell Suspicious | :suss:
If you can't read my code, try converting it here[^]

GeneralRe: Sendinput to a DOS application. Pin
rderkis5-Jan-16 13:26
rderkis5-Jan-16 13:26 
QuestionVB.net 2010 Send Keys To Dos Program - Onscreen Keyboards Pin
rderkis26-Dec-15 9:07
rderkis26-Dec-15 9:07 
AnswerRe: VB.net 2010 Send Keys To Dos Program - Onscreen Keyboards Pin
Dave Kreskowiak27-Dec-15 11:05
mveDave Kreskowiak27-Dec-15 11:05 
GeneralRe: VB.net 2010 Send Keys To Dos Program - Onscreen Keyboards Pin
rderkis27-Dec-15 19:39
rderkis27-Dec-15 19:39 
GeneralRe: VB.net 2010 Send Keys To Dos Program - Onscreen Keyboards Pin
Dave Kreskowiak28-Dec-15 4:00
mveDave Kreskowiak28-Dec-15 4:00 
AnswerRe: VB.net 2010 Send Keys To Dos Program - Onscreen Keyboards Pin
Eddy Vluggen29-Dec-15 1:38
professionalEddy Vluggen29-Dec-15 1:38 
AnswerRe: VB.net 2010 Send Keys To Dos Program - Onscreen Keyboards Pin
rderkis29-Dec-15 5:26
rderkis29-Dec-15 5:26 
GeneralRe: VB.net 2010 Send Keys To Dos Program - Onscreen Keyboards Pin
Dave Kreskowiak29-Dec-15 5:46
mveDave Kreskowiak29-Dec-15 5:46 
GeneralRe: VB.net 2010 Send Keys To Dos Program - Onscreen Keyboards Pin
rderkis29-Dec-15 6:47
rderkis29-Dec-15 6:47 
QuestionVB.net 2010 Send Keys To Dos Program Pin
rderkis25-Dec-15 10:30
rderkis25-Dec-15 10:30 
AnswerRe: VB.net 2010 Send Keys To Dos Program Pin
Richard Andrew x6425-Dec-15 11:31
professionalRichard Andrew x6425-Dec-15 11:31 
GeneralRe: VB.net 2010 Send Keys To Dos Program Pin
rderkis25-Dec-15 12:03
rderkis25-Dec-15 12:03 
GeneralRe: VB.net 2010 Send Keys To Dos Program Pin
rderkis25-Dec-15 12:15
rderkis25-Dec-15 12:15 
GeneralRe: VB.net 2010 Send Keys To Dos Program Pin
Richard Andrew x6425-Dec-15 12:23
professionalRichard Andrew x6425-Dec-15 12:23 
GeneralRe: VB.net 2010 Send Keys To Dos Program Pin
rderkis25-Dec-15 12:50
rderkis25-Dec-15 12:50 
GeneralRe: VB.net 2010 Send Keys To Dos Program Pin
Richard Andrew x6425-Dec-15 13:12
professionalRichard Andrew x6425-Dec-15 13:12 
GeneralRe: VB.net 2010 Send Keys To Dos Program Pin
rderkis25-Dec-15 14:01
rderkis25-Dec-15 14:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.