Access another window?

  • Thread starter Thread starter Henrik
  • Start date Start date
H

Henrik

How do you access another window? For example if u whant
tpo write something in a textbox in an other opwn window?
 
Hi,

You can access the elements of the other window(pop-up) using javascript as:-

window.opener.formname.textboxname.value

Regards,
Bhaskardeep Khaund
 
Another form in the same program? If so it just should be something like
OtherForm.OtherFormsTextbox = ...

If it's another application I think you're stuck with FindWindow to get the
handle and then do SendKeys or so.

And try not to post your question twice.

Yves
 
I would like to access another window from another program
with visual basic.. is that possible?
 
Back
Top