Community
Hi All,
I am using Inventor 2014 API for the automation using VB.Net code .hre I using vb.net code for start an instance of an inventor.the code is
inventorApp = CreateObject("Inventor.Application", "") inventorApp.Visible = True
But using this ,when we start visual studio ru as administrator the createobject having some error.
My Question is, is it possible any other way to start an Instance of an inventor.??
What operating system are you using?
If it is Windows 8, Inventor API is not compatable when you run an application as Administrator.
Also, I use inventorApp = CreateObject("Inventor.Application") without the empty quotes you have for the server name.
You also may consider this .NET style:
Dim inventorAppType As Type = System.Type _ .GetTypeFromProgID("Inventor.Application") Dim oApp As Inventor.Application = System _ .Activator.CreateInstance(inventorAppType) oApp.Visible = True
cheers,