News:

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.

Main Menu

Error Making Drawing Active Using VB.NET

Started by fdc, January 25, 2012, 11:10:24 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

fdc

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.

kchapman

Off the top of my head, try Drawings.Item(0).Activate