VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

How to use ShellWindows to get access to the HTML document in every instance of Internet Explorer (

jjo  (5 Submissions)   Internet/HTML   VB 6.0   Unknown Difficulty   Wed 21st July 2004   Mon 8th February 2021

How to use ShellWindows to get access to the HTML document in every instance of Internet Explorer (or Explorer or Mozilla). Uses a listbox to

API Declarations


' number of things:
'
' 1)
' Add the CWinInet_URL class to your project. You can
' find it here:
' http://www.vbip.com/wininet/wininet_url_class_01.asp
' It is used to combine a relative path and a base href.
' If you cant find it there is many variations found out
' there. Look for "CombineUrl", "CrackUrl" or the like
' on the internet.
'
' 2)
' Make a reference to shdovw.dll (MS internet controls)
' and mshtml.tlb (MS HMTL Object Library)
'
' 3)
' Drop three command buttons and listbox onto a form.
' Remember to set the listbox sorted!!!

' Declarations
Option Explicit
Option Compare Text

Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long
Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)

Private Const LB_ERR = -1
Private Const LB_ADDSTRING = &H180
Private Const LB_FINDSTRINGEXACT = &H1A2

Private stop_ As Boolean
Private line_ As String
Private pathToBrowser As String
Private Const APP_TITLE = "LINKCATALOGUE"
Private Const LB_NOT_FOUND = LB_ERR


Rate How to use ShellWindows to get access to the HTML document in every instance of Internet Explorer ( (1(1 Vote))
How to use ShellWindows to get access to the HTML document in every instance of Internet Explorer (.bas

How to use ShellWindows to get access to the HTML document in every instance of Internet Explorer ( Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters