.NET

Reply
New Member
Posts: 1
Registered: ‎08-12-2008
Message 1 of 2 (1,206 Views)
Accepted Solution

'Open' is not a member of ApplicationServices.DocumentCollection

1206 Views, 1 Replies
04-25-2012 08:40 AM

I have a VB.NET 4.0 app which was working fine with references to ObjectARX 2011.

I have removed these references and added references to ObjectARX2013, and now I get the following error at compile time:

 

'Open' is not a member of 'Autodesk.AutoCAD.ApplicationServices.DocumentCollection'

 

Code:

Dim docs As DocumentCollection
docs = Autodesk.AutoCAD.ApplicationServices.Application.DocumentManager
docs.Open(sDrawingPath, False) 

 

Everything else works fine - if I common out the last line then it compiles fine.

Does anybody have any ideas? 

Moderator
Alexander.Rivilis
Posts: 1,346
Registered: ‎04-09-2008
Message 2 of 2 (1,198 Views)

Re: 'Open' is not a member of ApplicationServices.DocumentCollection

04-25-2012 10:14 AM in reply to: daniel.messenger

DocumentCollectionExtension.Open

P.S.: Also read ObjectARX for AutoCAD 2013 Docs: Managed Class Reference -> Migration Guide->.NET Migration Guide


Пожалуйста не забывайте про Утвердить в качестве решения! Утвердить в качестве решения и Give Kudos!Баллы
Please remember to Accept Solution! Accept as Solution and Give Kudos!Kudos

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Welcome to the new Autodesk Community!
If this is your first visit, click here to get started and make the most of the Community. Let us know what you think of the new experience in the Community Feedback Forum.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community