Thakns but I think you misunderstood or I am. I want to fill a text box in IE, not my own browser control. The way some submission programs work to fill the fields. Also kind of like that AL Robo Form does
Printable View
Thakns but I think you misunderstood or I am. I want to fill a text box in IE, not my own browser control. The way some submission programs work to fill the fields. Also kind of like that AL Robo Form does
You have to create an Active X plugin for IE that you interface through.
Unfortunately, this is way out of my league.
Mine too but thanks anyway.
Reference "MS Internet Controls" and "MS HTML Object Library".
VB Code:
Dim ie As SHDocVw.InternetExplorer Dim sw As SHDocVw.ShellWindows Dim doc As MSHTML.HTMLDocument Dim inp As MSHTML.IHTMLElement Set sw = New SHDocVw.ShellWindows For Each ie In sw If TypeOf ie.document Is HTMLDocument Then 'it's a HTML document (rather than explorer window) 'you can manipulate it via MS's HTML DOM End If Next Set sw = Nothing
Thank you. I'll see if I can figure out how to use it. Appreciate the help
this is good code but how do I detect which IE is the active window?Quote:
Originally posted by JoshT
Reference "MS Internet Controls" and "MS HTML Object Library".
VB Code:
Dim ie As SHDocVw.InternetExplorer Dim sw As SHDocVw.ShellWindows Dim doc As MSHTML.HTMLDocument Dim inp As MSHTML.IHTMLElement Set sw = New SHDocVw.ShellWindows For Each ie In sw If TypeOf ie.document Is HTMLDocument Then 'it's a HTML document (rather than explorer window) 'you can manipulate it via MS's HTML DOM End If Next Set sw = Nothing