Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 05-16-2012, 04:44 AM
tinfanide tinfanide is offline Late Binding on SHDocVw Windows 7 64bit Late Binding on SHDocVw Office 2010 32bit
Expert
Late Binding on SHDocVw
 
Join Date: Aug 2011
Posts: 312
tinfanide is on a distinguished road
Default Late Binding on SHDocVw

Code:
Option Explicit
Public oIE As SHDocVw.InternetExplorer
Public oSW As SHDocVw.ShellWindows

Sub test()

Set oIE = New SHDocVw.InternetExplorer
Set oSW = New SHDocVw.ShellWindows
oIE.Visible = True
MsgBox oIE.LocationURL

End Sub
I've used Early Binding with reference added to the library objects (HTML Objects & Internet Control)


But I wonder how to do it in Late Binding, especially for SHDocVw.Internet Explorer and SHDocVw.ShellWindows.

Code:
Dim oShell As Object, oShellWindows As Object
Set oShell = CreateObject("Shell.Application")
Set oShellWindows = oShell.windows
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Late Binding on SHDocVw Binding Problems? tinfanide Word VBA 1 02-03-2012 06:15 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:01 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft