Click here to Skip to main content
15,920,005 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Execute EXE Pin
Dave Kreskowiak6-Jul-06 2:34
mveDave Kreskowiak6-Jul-06 2:34 
GeneralRe: Execute EXE Pin
nitin_ion6-Jul-06 17:23
nitin_ion6-Jul-06 17:23 
GeneralRe: Execute EXE Pin
Dave Kreskowiak7-Jul-06 2:01
mveDave Kreskowiak7-Jul-06 2:01 
QuestionControlling other windows from VB.NET application Pin
seamie5-Jul-06 1:03
seamie5-Jul-06 1:03 
AnswerRe: Controlling other windows from VB.NET application Pin
Dave Kreskowiak5-Jul-06 1:34
mveDave Kreskowiak5-Jul-06 1:34 
GeneralRe: Controlling other windows from VB.NET application Pin
seamie5-Jul-06 2:53
seamie5-Jul-06 2:53 
QuestionRe: Controlling other windows from VB.NET application Pin
mr_lasseter5-Jul-06 7:33
mr_lasseter5-Jul-06 7:33 
AnswerRe: Controlling other windows from VB.NET application Pin
Dave Kreskowiak5-Jul-06 8:18
mveDave Kreskowiak5-Jul-06 8:18 
mr_lasseter wrote:
Does this mean SendKeys Cntl-C won't work to copy the values out of the application? I am trying to implement this (using sendkeys), but I am not having any luck. For some reason the copy doesn't work nor do Shift-End or Shift-Home. Do you know the reason why?


It won't work with a Java app because NOTHING in a Java client window is based in Win32. It's all entirely custom drawn by the Java Runtime. Ctrl-C works because it's coded into the standard TextBox controls used by any of the Win32 libraries, even in the .NET world. Since Java's stuff doesn't rely on Win32 at all, you don't get the benefits of the standard functions built into those controls.

The only way it'll work is if the Java control you're app is using exposes an interface/functions that understands that Ctrl-C mean "copy the contents to the Windows clipboard". Since Java is platform independant, this doesn't happen, since not ever platform supports a clipboard.


mr_lasseter wrote:
Can you use a Java app to read from another Java app or is this just not possible all together?


No, you can't, unless the applications involved expose and use some kind of Remoting facility. There's no way to send keystrokes or read the Text property of a Java control from any other application, Java-based or otherwise.


Dave Kreskowiak
Microsoft MVP - Visual Basic

Questiondiffrence between vb exe file and other Pin
zon_cpp5-Jul-06 0:46
zon_cpp5-Jul-06 0:46 
AnswerRe: diffrence between vb exe file and other Pin
Dave Kreskowiak5-Jul-06 1:36
mveDave Kreskowiak5-Jul-06 1:36 
GeneralRe: diffrence between vb exe file and other Pin
zon_cpp5-Jul-06 2:08
zon_cpp5-Jul-06 2:08 
GeneralRe: diffrence between vb exe file and other Pin
Dave Kreskowiak5-Jul-06 2:56
mveDave Kreskowiak5-Jul-06 2:56 
Questionhow to deal with point data? Pin
codeadair4-Jul-06 22:18
codeadair4-Jul-06 22:18 
AnswerRe: how to deal with point data? Pin
Dave Kreskowiak5-Jul-06 1:39
mveDave Kreskowiak5-Jul-06 1:39 
AnswerRe: how to deal with point data? Pin
Jun Du5-Jul-06 4:42
Jun Du5-Jul-06 4:42 
QuestionRunning Pin
Socheat.Net4-Jul-06 21:13
Socheat.Net4-Jul-06 21:13 
AnswerRe: Running Pin
Mekong River4-Jul-06 21:24
Mekong River4-Jul-06 21:24 
GeneralRe: Running Pin
Socheat.Net4-Jul-06 21:40
Socheat.Net4-Jul-06 21:40 
GeneralRe: Running Pin
Guffa4-Jul-06 21:58
Guffa4-Jul-06 21:58 
GeneralRe: Running [modified] Pin
Socheat.Net4-Jul-06 22:33
Socheat.Net4-Jul-06 22:33 
GeneralRe: Running Pin
Marc Soleda4-Jul-06 23:52
Marc Soleda4-Jul-06 23:52 
GeneralRe: Running Pin
Mekong River5-Jul-06 0:18
Mekong River5-Jul-06 0:18 
AnswerRe: Running Pin
Dave Kreskowiak5-Jul-06 1:41
mveDave Kreskowiak5-Jul-06 1:41 
AnswerRe: Running Pin
Dave Kreskowiak5-Jul-06 1:42
mveDave Kreskowiak5-Jul-06 1:42 
GeneralRe: Running Pin
Socheat.Net5-Jul-06 21:07
Socheat.Net5-Jul-06 21:07 

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.