Author Topic: Reference for Application.get_DocumentManager  (Read 1122 times)

0 Members and 1 Guest are viewing this topic.

nobody

  • Swamp Rat
  • Posts: 861
  • .net stuff
Reference for Application.get_DocumentManager
« 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.
« Last Edit: March 30, 2013, 04:15:49 PM by Alien »

Jeff_M

  • King Gator
  • Posts: 4078
  • C3D user & customizer
Re: Reference for Application.get_DocumentManager
« Reply #1 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

nobody

  • Swamp Rat
  • Posts: 861
  • .net stuff
Re: Reference for Application.get_DocumentManager
« Reply #2 on: March 30, 2013, 04:59:14 PM »
Aw...that was the trick. Thanks!