Process-starting Inventor

Process-starting Inventor

pemXK4RJ
Explorer Explorer
136 Views
0 Replies
Message 1 of 1

Process-starting Inventor

pemXK4RJ
Explorer
Explorer

In the below link, there is an example on process-starting Inventor. I have converted to Visual Basic,  modified it slightly and used it to prevent the Inventor application from continuing to run invisibly after closing. It has worked for a long time. But now fails on the line with invDoc.Parent.MainFrameHWND.

 

Dim i As Integer

i = invDoc.Parent.MainFrameHWND

 

https://adndevblog.typepad.com/manufacturing/2016/06/access-a-specific-inventorapplication-object.ht...

 

Does anyone know what I need to do? I use Inventor 2021.

0 Likes
137 Views
0 Replies
Replies (0)