Hi,

I have loaded a web page using web browser in window form. Now i like to paste the text (Using Text box)in the text field on the web page that i have loaded.

How can i get this....

Thanks in advance....

Recommended Answers

All 3 Replies

Member Avatar for nssltd

So you want to copy all the text from a web page and paste it all in the text field?

Member Avatar for nssltd

if that's so i have some code you may find useful.

this.webBrowser1.Document.ExecCommand("SelectAll", false, null);
            this.webBrowser1.Document.ExecCommand("Copy", false, null);

this is just one way to get the text from a webpage and copy it to the clipboard.

Hope it helps

NSSLTD

Thnks nssltd. It will use to copy text from web page . I like to paste text from the clipboard to webpage. How can i achieve this....

Thnk again.....sorry for delay replay...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.