PDA

Click to See Complete Forum and Search --> : Copy a text to IE broswer?


bachelor
May 17th, 2001, 05:34 PM
I copied whatever in text1.text to clipboard.
Now how do I paste it to an username or password editbox in the browser( when I right click that editbox and click on paste option)?

sail3005
May 17th, 2001, 05:39 PM
Are you talking about something inside or out of the page?

inside the page


document.formName.textName.value="whatever"


hope that helps!

bachelor
May 17th, 2001, 06:18 PM
Sorry, I haven't explained it clearly.
here is my code,
Clipboard.Clear
Clipboard.SetText text1.text
???? = Clipboard.GetText

???? is an editbox inside a browser, example yahoo_id editbox in yahoo email site.

So what should I replace ???? with

sail3005
May 17th, 2001, 09:17 PM
Are you using Javascript, or VBscript? :confused:

Wynd
May 17th, 2001, 09:18 PM
What exactly are you trying to do? Are you writing a browser or something?

bachelor
May 17th, 2001, 11:55 PM
It's a plain VB that has window browser.
I'm not writing a browser, just trying to bypass typing a long username and password repeatly over and over everytime I want to login to main office.
So anyone can give me a hand?