|
-
Mar 6th, 2002, 07:23 PM
#1
Thread Starter
Hyperactive Member
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
-
Mar 6th, 2002, 07:35 PM
#2
You have to create an Active X plugin for IE that you interface through.
Unfortunately, this is way out of my league.
Need to re-register ASP.NET?
C:\WINNT\Microsoft.NET\Framework\v#VERSIONNUMBER#\aspnet_regiis -i
(Edit #VERSIONNUMBER# as needed - do a DIR if you don't know)
-
Mar 6th, 2002, 10:09 PM
#3
Thread Starter
Hyperactive Member
Mine too but thanks anyway.
-
Mar 7th, 2002, 11:37 AM
#4
Black Cat
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
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
-
Mar 8th, 2002, 07:03 AM
#5
Thread Starter
Hyperactive Member
Thank you. I'll see if I can figure out how to use it. Appreciate the help
-
Mar 12th, 2002, 03:41 PM
#6
PowerPoster
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
this is good code but how do I detect which IE is the active window?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|