Solved

AutoCad Properties

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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

763 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

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now