Solved

AutoCad Properties

Posted on 2004-09-02
4
1,238 Views
Last Modified: 2008-02-01
Hi

I am trying to access the file properties of an autocad dwg, but autocad installs its own file attributes section. When you right click it you see two summary pages a custom page and statistics. Is there anyway to access this information from vb .net

Thanks
Adam
0
Comment
Question by:adam_pedley
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 4

Author Comment

by:adam_pedley
ID: 11970468
Just another bit of info,

If you put information in the summary section of the file it can't be accessed by the normal means of getting file attributes in vb.
0
 
LVL 27

Expert Comment

by:planocz
ID: 11971881
I do not know if this will help but,
I had to use the micro$oft reference file DSOleFile.dll to get to to the file properties.
 It might work with AutoCad but I have not tried it.
0
 
LVL 4

Accepted Solution

by:
Javert93 earned 500 total points
ID: 11978382
The "summary" pages you are referring to are a custom property page, which is implemented by a shell extension, and therefore does not exist in the file attribute table or the embedded FileVersion resouce. Chances are, the data you are looking for is a part of the file itself (probably towards the front in a file header, as in Word's case), and is read by the shell extension when it displays the property page. If you can identify the internal file format, you can read the attribute values you are looking for using a binary reader.
0
 
LVL 4

Author Comment

by:adam_pedley
ID: 11988028
yep, you were right, it was stored in the file itself, i couldnt quite qork out the file structure but all i need to do is search for the text.

thanks
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question