473,508 Members | 4,753 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1168
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
6134
by: David | last post by:
I know that identifying the user IP address with HTTP_SERVER_VARS; is reliant on the browser agent but I have stumpled upon the following code which I have tried to understand but failed! ...
11
3099
by: ian.davies52 | last post by:
Is there anything I can do about the apparent limit on the number of textboxes that have calculations as their control source on a form or report in ms-access? I have a query that pulls together...
2
1296
by: Jeff Williams | last post by:
I have a windows form which contains various controls like textboxes, comboboxes, checkboxes etc. When the user clicks the ok button I would like to determine if the data has changed in one or...
10
4479
by: Frankie | last post by:
It appears that System.Random would provide an acceptable means through which to generate a unique value used to identify multiple/concurrent asynchronous tasks. The usage of the value under...
0
7228
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7128
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7393
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7058
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7502
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5635
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5057
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4715
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3191
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.