TurboCAD Forums

The Ultimate Resource for TurboCAD Knowledge

Register
 
When posting a problem be sure to include which version you are using.  Give as much information as possible.  If the problem is with a specific file be sure to attache it to your post.

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