An vb.net framework 2 question....
An vb.net framework 2 question....
(OP)
Hi All,
I am currently creating a plugin for a CAD system, which only supports vb.net framework 2!!!!
I need to spawn a task out to '2' command shells, and sendkeys to the individual windows.
eg:-
Dim Test1 as string = shell("cmd.exe", vbnormalfocus)
Dim Test2 as string = shell("cmd.exe", vbnormalfocus)
The Problem which has me scratching my head is, how do i set the focus, so that i send the correct keys to the correct window.
Cheers in advance,
Nxj
I am currently creating a plugin for a CAD system, which only supports vb.net framework 2!!!!
I need to spawn a task out to '2' command shells, and sendkeys to the individual windows.
eg:-
Dim Test1 as string = shell("cmd.exe", vbnormalfocus)
Dim Test2 as string = shell("cmd.exe", vbnormalfocus)
The Problem which has me scratching my head is, how do i set the focus, so that i send the correct keys to the correct window.
Cheers in advance,
Nxj





RE: An vb.net framework 2 question....
RE: An vb.net framework 2 question....
I've used it a few times in my NX journals. Stay away from sendkeys if at all possible! Though I have had to resort to sendkeys on at least 1 occasion.
Do you need to interact with the cmd window or are you just sending a command with arguments?
RE: An vb.net framework 2 question....