|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
copy and paste into webbrowserI am writing a program to insert text into a textbox on webbrowser. Please let me know if you can help me. Using Visual Studio 2005(Visual Basic) I have a form with many textboxes on left side and webbrowser1 on right side. I will need to copy and paste that are in the form to the textboxes in webbrowser. I can put my cursor and put my cursor active in the textbox in browser. How can I put textbox1.text into currently active location. Here is how I set my cursor. SetCursorPos(950, 285) Mouse_Event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0) Mouse_Event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0) Thanks, Young. Young,
The webbrowser is an Interop to Internet Explorer. You can do everything the same as you can do with Internet Explorer. Which means that you have to reach the document in Internet Explorer. For that is the MSHTML class. The opposite from a fine class to use especially in VB.Net Have a look for that very extended class on MSDN. http://msdn.microsoft.com/library/default.asp?url=/workshop/browser/hosting/hosting.asp I hope this helps a little bit, Cor Show quoteHide quote "Young" <ui_hw***@yahoo.com> schreef in bericht news:1159800941.945079.293300@b28g2000cwb.googlegroups.com... > Hi! > > I am writing a program to insert text into a textbox on webbrowser. > Please let me know if you can help me. > > Using Visual Studio 2005(Visual Basic) > I have a form with many textboxes on left side and webbrowser1 on right > side. I will need to copy and paste that are in the form to the > textboxes in webbrowser. I can put my cursor and put my cursor active > in the textbox in browser. How can I put textbox1.text into currently > active location. > > Here is how I set my cursor. > > SetCursorPos(950, 285) > Mouse_Event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0) > Mouse_Event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0) > > Thanks, > Young. > Hi!
I have many fields that I need to insert into the form in a webbrowser. I would like to do this automatically if possible. Only way I found so far is using a third party software that records my keystrocks and replay when asked. My wish is to press a button that will move all data at once into the webbrowser. I am new to programming and wasn't sure if your suggestion was correct one. thanks, Young. Cor Ligthert [MVP] wrote: Show quoteHide quote > Young, > > The webbrowser is an Interop to Internet Explorer. > > You can do everything the same as you can do with Internet Explorer. Which > means that you have to reach the document in Internet Explorer. For that is > the MSHTML class. The opposite from a fine class to use especially in VB.Net > > Have a look for that very extended class on MSDN. > > http://msdn.microsoft.com/library/default.asp?url=/workshop/browser/hosting/hosting.asp > > I hope this helps a little bit, > > Cor > > > "Young" <ui_hw***@yahoo.com> schreef in bericht > news:1159800941.945079.293300@b28g2000cwb.googlegroups.com... > > Hi! > > > > I am writing a program to insert text into a textbox on webbrowser. > > Please let me know if you can help me. > > > > Using Visual Studio 2005(Visual Basic) > > I have a form with many textboxes on left side and webbrowser1 on right > > side. I will need to copy and paste that are in the form to the > > textboxes in webbrowser. I can put my cursor and put my cursor active > > in the textbox in browser. How can I put textbox1.text into currently > > active location. > > > > Here is how I set my cursor. > > > > SetCursorPos(950, 285) > > Mouse_Event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0) > > Mouse_Event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0) > > > > Thanks, > > Young. > >
CURRENT INDEX of Iteration on ILIST collection ?
1.1 equivalent for Drawing.Icon.ExtractAssociatedIcon? firefox com for winform ? Accessing the Class Name of a Shared Method Help with using bits in an integer Strings, a couple of questions like difference between += and &= new form Set Statement vs Function Error help chm and application.startuppath |
|||||||||||||||||||||||