471,627 Members | 1,683 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,627 software developers and data experts.

identifying textboxes

Hello, if I try to send text to textboxes in a different application
with SendMessage, how do I identify 2 different textboxes if the class
names and captions are the same? Im not able to use SendKeys for this
for some reason, and at this point I think API would even be easier.
thanks!

Feb 13 '06 #1
2 1125
blah,

Why are you using SendMessage between two different .NET applications
(at least, that is my impression of what is going on).

Why not just use remoting (a named pipe channel, perhaps) to send a
message to the second application?

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"blah" <so********@yahoo.com> wrote in message
news:11**********************@g44g2000cwa.googlegr oups.com...
Hello, if I try to send text to textboxes in a different application
with SendMessage, how do I identify 2 different textboxes if the class
names and captions are the same? Im not able to use SendKeys for this
for some reason, and at this point I think API would even be easier.
thanks!

Feb 13 '06 #2
Im using API because I have no knowledge of remoting whatsoever, and Im
a beginner at c# as well. right now Im not doing anything complicated,
mostly just my simple app trying to communicate with IE or outlook,
etc. Im trying to automate certain things I do every time I use the
Internet, like check certain sites and get info from them, and for this
I need to put info into textboxes, but if there are more than one Im
not sure how to do it.

Feb 13 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.