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?
 

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

Back
Top