Solved

AutoCad Properties

Posted on 2004-09-02
4
1,236 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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Suggested Solutions

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

733 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