identifying textboxes

B

blah

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!
 
N

Nicholas Paldino [.NET/C# MVP]

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.
 
B

blah

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top