'Open' is not a member of ApplicationServices.DocumentCollection

'Open' is not a member of ApplicationServices.DocumentCollection

Anonymous
Not applicable
2,581 Views
1 Reply
Message 1 of 2

'Open' is not a member of ApplicationServices.DocumentCollection

Anonymous
Not applicable

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? 

0 Likes
Accepted solutions (1)
2,582 Views
1 Reply
Reply (1)
Message 2 of 2

Alexander.Rivilis
Mentor
Mentor
Accepted solution

DocumentCollectionExtension.Open

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

Відповідь корисна? Клікніть на "ВПОДОБАЙКУ" цім повідомленням! | Do you find the posts helpful? "LIKE" these posts!
Находите сообщения полезными? Поставьте "НРАВИТСЯ" этим сообщениям!
На ваше запитання відповіли? Натисніть кнопку "ПРИЙНЯТИ РІШЕННЯ" | Have your question been answered successfully? Click "ACCEPT SOLUTION" button.
На ваш вопрос успешно ответили? Нажмите кнопку "УТВЕРДИТЬ РЕШЕНИЕ"


Alexander Rivilis / Александр Ривилис / Олександр Рівіліс
Programmer & Teacher & Helper / Программист - Учитель - Помощник / Програміст - вчитель - помічник
Facebook | Twitter | LinkedIn
Expert Elite Member

0 Likes