请问在VB中怎么获得多个autocad实例中的最后一个
如果运行了多个autocad程序,怎么能在VB里连接到最后一个使用的autocad程序呢?<BR>我用通常的getobject方法连接,却往往不是连接到我想要的那个autocad程序,<BR>请问有没有方法可以让VB获得指定的一个autocad程序呢<BR> <P>好像不行啊</P><P>If AutoCAD is running, the GetObject function will retrieve the current AutoCAD Application object. When running multiple sessions of AutoCAD, the GetObject function will return the first instance of AutoCAD in the Windows Running Object Table. See the Mircosoft Visual Basic documentation on the Running Object Table (ROT) and the GetObject function for more information on verifying the session returned by GetObject. </P>
<P>用CREATEOBJECT 试下</P>
页:
[1]