Link to home
Start Free TrialLog in
Avatar of MartinSchuster
MartinSchuster

asked on

Enter control in ...

How can i enter a control in a form which is not from my Application. (like a Textfield in a Hompage). How i activate and set the focus to the Form, i know already, but i don't know how i can enter a field on the form!
Avatar of BeedleGuis
BeedleGuis

maybe SendKeys?
or are you triing to add a brand new control?
You need to use a windows API call
Declare Function TextOut Lib "gdi32" Alias "TextOutA" (ByVal hdc As Long, ByVal x As Long, ByVal y As Long, ByVal lpString As String, ByVal nCount As Long) As Long

try that, im not sure if itll fit your needs

what it does is sets text on a window at x,y
Avatar of MartinSchuster

ASKER

And how can i find out where the window (control) is?
And how can i find out where the window (control) is?
ASKER CERTIFIED SOLUTION
Avatar of davepcam1
davepcam1

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks