TheSwamp

Code Red => .NET => Topic started by: nobody on March 30, 2013, 04:09:19 PM

Title: Reference for Application.get_DocumentManager
Post by: nobody on March 30, 2013, 04:09:19 PM
Anyone know what i need to reference to get rid of this comment:

Thanks!

I've attached what I've referenced now.
Title: Re: Reference for Application.get_DocumentManager
Post by: Jeff_M on March 30, 2013, 04:34:31 PM
Don't use that format, those are internal accessors. Instead, use the properties and methods exposed by the API:
Code: [Select]
Dim database as Database = Application.DocumentManager.MdiActiveDocument.Database
Title: Re: Reference for Application.get_DocumentManager
Post by: nobody on March 30, 2013, 04:59:14 PM
Aw...that was the trick. Thanks!