AutoCad Properties

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
LVL 4
adam_pedleyAsked:
Who is Participating?
 
Javert93Connect With a Mentor Commented:
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
 
adam_pedleyAuthor Commented:
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
 
planoczCommented:
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
 
adam_pedleyAuthor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.