TurboCAD Forums

SDK Corner => Sample SDK Projects => SDK General Discussion => Topic started by: fdc on January 25, 2012, 11:10:24 AM

Title: Error Making Drawing Active Using VB.NET
Post by: fdc on 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.
Title: Re: Error Making Drawing Active Using VB.NET
Post by: kchapman on February 06, 2012, 02:42:20 PM
Off the top of my head, try Drawings.Item(0).Activate