Message 1 of 3
WebBrowserDialog Crashes Inventor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have tried using the sample program and another version suggested by another user in an old post, however neither are working and as soon as the macro runs it crashes?
Private oWebBrowserDialog As WebBrowserDialog
Sub DismissWebBrowser()
Set oWebBrowserDialog = Nothing
End Sub
Sub WebBrowserDialogSample()
' Create a WebBrowserDialog
Set oWebBrowserDialog = ThisApplication.WebBrowserDialogs.Add("MyBrowser", False)
oWebBrowserDialog.WindowState = kNormalWindow
' Nagigate to a web site
Call oWebBrowserDialog.Navigate("http://www.autodesk.com")
' Play a tutorial video if you have the Interactive Tutorial installed
' Call oWebBrowserDialog.Navigate("C:\Users\Public\Documents\Autodesk\Inventor 2017\Interactive Tutorial\en-US\Fundamentals\Video\Drawings.webm")
' Delete it - commenteted
' oWebBrowserDialog.Delete
End Sub