Hallo
Habe ein Problem mit der Deklaration:
Imports System
Imports System.Type
Imports System.Activator
Imports System.Runtime.InteropServices
Imports Inventor
Public Class Form33
Dim _invApp As Inventor.Application
Dim _started As Boolean = False
***Programm Code stammt aus dem Inventor-VBA Forum ***
Dim ThisApplication As Inventor.DesignProjects -> Gibt Error Meldungen
Dim AAAA As String
AAAA = "C:\000000\test\TEST.ipj" --> Der Pfad ist gültig !!!
Dim oProject As DesignProject
oProject = ThisApplication.DesignProjectManager.DesignProjects.ItemByName(AAAA) -> Gibt Error Meldungen
oProject.Activate()
Hinweise zu Software:
Inventor 2015 64 Bit
Visual Studio 2013 Prof
Grüße aus Bochum
Eine Antwort auf diesen Beitrag verfassen (mit Zitat/Zitat des Beitrags) IP