Message 1 of 1
Oddities when booting inventor through an external vb.net program
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hiya ive been noticing some oddites which seem to only occur when i boot inventor using this code
Private Sub _TryAndOpenInventor()
Try
_App = Marshal.GetActiveObject(InventorAppName)
NotifyDriverReport("Inventor Already Open")
Catch
Try
Dim pInventorAppType = Type.GetTypeFromProgID(InventorAppName)
_App = Activator.CreateInstance(pInventorAppType)
NotifyDriverReport("Inventor opened new")
_InventorWasOpenedFresh = True
Catch
End Try
End Try
If _App Is Nothing Then
NotifyDriverReport("Open Inventor Failed")
RaiseEvent OpenAppFailed()
Else
RaiseEvent OpenAppSuceeded()
NotifyDriverReport("Open Inventor Succeeded")
End If
End Sub
stuff like:
- Not being able to save the file using the UI(still seems to work via the API)
- the top ribbon not appearing
- and something i dont really car about anyway but the home tab not being present
Im not quite sure what is causing these, But is their any way to get around them?
HII