Solved

Getting extended file information

Posted on 2002-04-15
9
244 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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
 
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

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

680 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