<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic WebBrowserDialog Crashes Inventor in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/webbrowserdialog-crashes-inventor/m-p/13069450#M172592</link>
    <description>&lt;P&gt;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?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;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&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 07 Oct 2024 15:09:43 GMT</pubDate>
    <dc:creator>benjamin_nicholas46UJL</dc:creator>
    <dc:date>2024-10-07T15:09:43Z</dc:date>
    <item>
      <title>WebBrowserDialog Crashes Inventor</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/webbrowserdialog-crashes-inventor/m-p/13069450#M172592</link>
      <description>&lt;P&gt;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?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;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&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2024 15:09:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/webbrowserdialog-crashes-inventor/m-p/13069450#M172592</guid>
      <dc:creator>benjamin_nicholas46UJL</dc:creator>
      <dc:date>2024-10-07T15:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: WebBrowserDialog Crashes Inventor</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/webbrowserdialog-crashes-inventor/m-p/13070084#M172606</link>
      <description>&lt;P&gt;I'm not familiar with the "WebBrowserDialog". But maybe you could start the default browser to show your content. Something like this might work.&lt;/P&gt;
&lt;LI-CODE lang="visual-basic"&gt;Dim processStartInfo = New ProcessStartInfo("www.google.nl")
processStartInfo.UseShellExecute = True

Process.Start(processStartInfo)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2024 20:29:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/webbrowserdialog-crashes-inventor/m-p/13070084#M172606</guid>
      <dc:creator>JelteDeJong</dc:creator>
      <dc:date>2024-10-07T20:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: WebBrowserDialog Crashes Inventor</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/webbrowserdialog-crashes-inventor/m-p/13070823#M172613</link>
      <description>&lt;P&gt;I am new to using VBA with Inventor so am a bit lost here, where is the ProcessStartInfo object found? I have looked through the VBA programming documentation and cannot see it anywhere.&lt;BR /&gt;&lt;BR /&gt;I also may not be able to use shell executions due to workplace restrictions which may entirely rule out this as an option, but I am happy to try and see if we can get it to work if possible. I have seen some other examples using the System.IO, but these examples are in Ilogic, I am using VBA editor for Macros instead currently if that makes any difference.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2024 06:26:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/webbrowserdialog-crashes-inventor/m-p/13070823#M172613</guid>
      <dc:creator>benjamin_nicholas46UJL</dc:creator>
      <dc:date>2024-10-08T06:26:09Z</dc:date>
    </item>
  </channel>
</rss>

