your problem is really capturing the key strokes on the web app. it will be
getting those into the program. You will have to get a handle to the window
the keystrokes need to be entered on. I would suggest going over to the
windows side and get help there on how to get wnhnd pointer. Once you have
your handle to the window you will need to walk the windows child stack to
find the text box you want the strokes entered in. Once you have that part
solve there are a number of ways you can caputure the keystrokes. DDE isn't
bad either it begins with DDEInitiated and the command would be given with
DDEExecute. It might actually be easier to use DDE than getting a window
handle. It depends on your skill set. I've done bothe the DDE and the
windows handle back in the day but's been awhile since I have needed to do
either.
- wiz
[quoted text, click to view] "Lucas Tam" <REMOVEnntp@rogers.com> wrote in message
news:Xns95B2AF5214AE0nntprogerscom@140.99.99.130...
> Hi all,
>
> Has anyone done this before? Send client side keystrokes to an application
> from a webpapge? This maybe more of a Javascript question.
>
>
> In short, I have an application on the client's desktop that needs to
> communicate with an ASP.NET application. The only interface into the
> application are keystrokes and DDE.
>
> Is there anyway to raise client side keystrokes or DDE via javascript?
> Perhaps the Win32 PostMessage function might work?
>
> Or could a Winforms control hosted in IE work?
>
>
> Any ideas?
>
> --
> Lucas Tam (REMOVEnntp@rogers.com)
> Please delete "REMOVE" from the e-mail address when replying.
>
http://members.ebay.com/aboutme/coolspot18/