Get data from a inbuilt web browser and paste it into a textbox in vb.net Can it be done?
-
Experts I have an inbuilt web browser with a fairly simple web page. I some text that is needed to go from the web browser onto the vb.net document which the web browser is on. (hopefully that makes sense) I have looked around but can't seem to find anything. Imagine someone highlighting the text presing ctrl c in the web browser and then in the .net doc ctrl v, this is what i want to do but automatically. Any help would be great Cheers Dan
-
Experts I have an inbuilt web browser with a fairly simple web page. I some text that is needed to go from the web browser onto the vb.net document which the web browser is on. (hopefully that makes sense) I have looked around but can't seem to find anything. Imagine someone highlighting the text presing ctrl c in the web browser and then in the .net doc ctrl v, this is what i want to do but automatically. Any help would be great Cheers Dan
You can access the clipboard by using the
My.Computer.Clipboard
object. You would still need an event to use to copy and paste (maybe using buttons). Ctrl-c, and Ctrl-v automatically work as intended on both Browser and Textbox contrtols.