TurboCAD Forums

The Ultimate Resource for TurboCAD Knowledge

The purpose of these forums is to discuss TurboCAD.  Please keep the discussion of other products to compatibility issues or how the other software’s can be used with TurboCAD.

Error Making Drawing Active Using VB.NET
Read 2807 times
* January 25, 2012, 11:10:24 AM
Does anyone know how to activate a specific drawing using VB.NET. I have examined the basic steps written in the SDK documentation but it does not work. I believe drawing objects are identified by a number. If I try to call the App.Drawings.Activate method and pass it the number of a drawing, I get an error from the compiler that says the method does not take any arguments. Also, the code-completion does not even show an "Activate" method for the drawings object. Please see the attached pdf of my IDE.


* February 06, 2012, 02:42:20 PM
Off the top of my head, try Drawings.Item(0).Activate