Message 1 of 8
Open a HTM document from Autocad

Not applicable
01-31-2000
11:48 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am launching internet explorer from within cad but I do not know how to
open a specific URL once Internet explorer is up.
I tried:
Public Sub OpenIE()
Dim IE As Object 'IE application object
On Error Resume Next 'Get IE
Set IE = GetObject(, "InternetExplorer.Application") 'Get IE if Open
If Err <> 0 Then
Err.Clear
Set IE = CreateObject("InternetExplorer.Application") 'Launch IE
if not Open
If Err <> 0 Then
MsgBox "Could not load InternetExplorer.", vbExclamation
End
End If
End If
IE.Visible = True 'Bring IEto the front
*******************
I thought this would do it?!
IE.LocationURL = "c:\adt2.htm"
*********************
End Sub
Any comments would be greatly appreciated.
--
Michael LaQuire
Arthur Ruteberg Homes, Inc.
Cad Trainer
mlaquire@arhomes.com
open a specific URL once Internet explorer is up.
I tried:
Public Sub OpenIE()
Dim IE As Object 'IE application object
On Error Resume Next 'Get IE
Set IE = GetObject(, "InternetExplorer.Application") 'Get IE if Open
If Err <> 0 Then
Err.Clear
Set IE = CreateObject("InternetExplorer.Application") 'Launch IE
if not Open
If Err <> 0 Then
MsgBox "Could not load InternetExplorer.", vbExclamation
End
End If
End If
IE.Visible = True 'Bring IEto the front
*******************
I thought this would do it?!
IE.LocationURL = "c:\adt2.htm"
*********************
End Sub
Any comments would be greatly appreciated.
--
Michael LaQuire
Arthur Ruteberg Homes, Inc.
Cad Trainer
mlaquire@arhomes.com