Message 1 of 24
Access DWG SummaryInfo Custom Properties

Not applicable
03-08-2007
03:17 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi
Would really appreciate any help that anybody can give me on this.
I'm trying to programatically access the Custom Properties of a DWG's SummaryInfo, but am constantly coming up against various errors.
From the examples I've found and the other posts I've come across I have to create a new Database object (Autodesk.AutoCAD.DatabaseServices.Database) but when I do I get the following message.
Dim DB as New Database(False, True)
'AccessViolationException was unhandled'
'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.'
As you might have guessed I'm new to .NET having done all my previous work in VBA.
Any help will be very much appreciated.
Cheers
G
Would really appreciate any help that anybody can give me on this.
I'm trying to programatically access the Custom Properties of a DWG's SummaryInfo, but am constantly coming up against various errors.
From the examples I've found and the other posts I've come across I have to create a new Database object (Autodesk.AutoCAD.DatabaseServices.Database) but when I do I get the following message.
Dim DB as New Database(False, True)
'AccessViolationException was unhandled'
'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.'
As you might have guessed I'm new to .NET having done all my previous work in VBA.
Any help will be very much appreciated.
Cheers
G