Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: Setting and retrieving the focus


Message #1 by "Jordan Schwell" <JSchwell@I...> on Mon, 21 May 2001 09:22:22 -0400
I have dealt with a similar problem when moving between VB and PDF.  The
solution is to minimize then maximize and then setFocus.  Ugly, but it
works (Jordan works here so we tested it on his program and it also
works).  I did at one point work out why this works, but can no longer
remember the explanation.

Yehuda

-----Original Message-----
From: Jordan Schwell
Sent: Wednesday, May 23, 2001 9:40 AM
To: professional vb
Subject: [pro_vb] Re: Setting and retrieving the focus


Not yet. Another programmer here has looked into this before and I need
to modify his code so the we can get the text from the emulator from a
broader range of other programs. Initially we used AppActivate in place
of LAPI (which they are working on). But that didn't seem to work when
called from an invisible executable. When the project comes active again
I'll look into DDE's.

thanks,
Jordan

> -----Original Message-----
> From: Chris Ellegood [mailto:jcellegood@h...]
> Sent: Wednesday, May 23, 2001 9:34 AM
> To: professional vb
> Subject: [pro_vb] Re: Setting and retrieving the focus
>
>
> Well, after looking at the website, it looks as though they have a dde
> interface for interacting with the emulator (as opposed to
> HLLAPI or an
> object).  Have you investigated how this dde interface works?
>
> Thanks.
>
> Chris Ellegood, ATP,  xxx-xxx-xxxx
>
> ----- Original Message -----
> From: "Jordan Schwell" <JSchwell@I...>
> To: "professional vb" <pro_vb@p...>
> Sent: Wednesday, May 23, 2001 8:19 AM
> Subject: [pro_vb] Re: Setting and retrieving the focus
>
>
> Our client is using TN3270 Plus.
>
> > -----Original Message-----
> > From: Chris Ellegood [mailto:jcellegood@h...]
> > Sent: Tuesday, May 22, 2001 4:55 PM
> > To: professional vb
> > Subject: [pro_vb] Re: Setting and retrieving the focus
> >
> >
> > Just Curious, What emulator are you using?
> >
> > Thanks.
> >
> > Chris Ellegood, ATP,  xxx-xxx-xxxx


  Return to Index