Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Getting extended file information

Posted on 2002-04-15
9
Medium Priority
?
254 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
[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
  • 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…
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…
Suggested Courses

660 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