Bryan,
Yes, it is possible. This app would have to get the window handle of
the text area in notepad (you can use the FindWindow API for this, I
believe). You can also get the text of the window by using the SendMessage
API function, passing the WM_GETTEXT message.
Once you have the text, you can use the same method to call the
SendMessage API function with the WM_SETTEXT message and set the edit area
of the drop down in the address bar. However, if you are trying to get an
instance of Internet Explorer to navigate to a URL, you are better off using
automation to find an open instance of internet explorer, and then setting
the URL to navigate to.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Bryan" <Br***@discussions.microsoft.comwrote in message
news:5B**********************************@microsof t.com...
Is it possible to, for example, have an application grab the data on a
document in Windows note pad, and insert that data in some other
application
such as Internet Explorer's address bar? Any help or direction would be
appreciated. Thanks!