Code: Try oInventorApp = System.Runtime.InteropServices.Marshal.GetActiveObject("Inventor.Application") Catch ex As Runtime.InteropServices.COMException
Dim InvProcess As New Process InvProcess.StartInfo.FileName = ("Inventor.exe") InvProcess.Start() InvProcess.WaitForInputIdle() System.Threading.Thread.Sleep(30000) End Try