TurboCAD Forums

The Ultimate Resource for TurboCAD Knowledge

Register
 
Interested in some really terrific mobile apps? Visit www.turboapps.com for details.

Error Making Drawing Active Using VB.NET
Read 1554 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.

Logged


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

Logged