Solved

AutoCad Properties

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

840 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