Solved

Getting extended file information

Posted on 2002-04-15
9
237 Views
Last Modified: 2008-03-03
Is there a way that I can read the comments off of a file using VB? What I want to do is get the file, read the name of the file and if there are any comments in the file's properties.
0
Comment
Question by:mcuevas
  • 5
  • 3
9 Comments
 
LVL 44

Expert Comment

by:bruintje
ID: 6942659
Hi Mcuevas,

What kind of file properties are you looking for and from what kind of file?


this sample is for time etc... but i'm not sure if that's what you're looking for
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q154821

:O)Bruintje
0
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 6942669
Hearing...
0
 

Author Comment

by:mcuevas
ID: 6942688
This is what I am trying to do. I have a directory in which I have several Autocad Drawing files. I'm trying to create an html link to them. I want to automate the process so that the program gets the file name as the link and then adds a description of the file after the link. If you right click on the file in the file explorer and select properties you get an option of adding comments under the summary tab. I want to know how I can access the comments using vb6.
0
 
LVL 44

Expert Comment

by:bruintje
ID: 6942737
this is just an idea, i've no tried it cause i got no Autocad here but if i'm correct Autocad does VBA? Not that it's needed but you can download a little smaple doing it for Office documents comments etc....

http://support.microsoft.com/default.aspx?scid=kb;EN-US;q224351

and just maybe you can use it on Autocad also

else we've to dig deeper...
:O)Bruintje
0
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
LVL 44

Expert Comment

by:bruintje
ID: 6942739
and i should use my spellchecker more often
0
 

Author Comment

by:mcuevas
ID: 6942746
This is what I am trying to do. I have a directory in which I have several Autocad Drawing files. I'm trying to create an html link to them. I want to automate the process so that the program gets the file name as the link and then adds a description of the file after the link. If you right click on the file in the file explorer and select properties you get an option of adding comments under the summary tab. I want to know how I can access the comments using vb6.
0
 
LVL 44

Accepted Solution

by:
bruintje earned 100 total points
ID: 6942769
OK, take a look at this site

http://www.acadx.com/

There are two free components for download AcadXprops and VBXtender that do this, read the properties of the file from VB...

There are also the articles on how to use these components, and it's really straighforward..

HTH:O)Bruintje
0
 

Author Comment

by:mcuevas
ID: 6942877
Those components did the job. Thanks.
0
 
LVL 44

Expert Comment

by:bruintje
ID: 6942887
Glad i could help and thanks for the grade
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

708 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

13 Experts available now in Live!

Get 1:1 Help Now