Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

GetDetailsEx File Comment

Status
Not open for further replies.

Quros

Programmer
May 31, 2001
20
GB
Hi,

I would like to retrieve a comment from a file (i.e. the one you can enter under the summary information in explorer).

Is GetDetailsEx the right API to use - has anyone implemented this within Visual Basic? Can I have a few tips please?

Quros. Quros on the web.
 
check out the dsofile.dll (exe) from ms...


Has one bug though...

Say you copy a file from the server to local hard drive. Then use the dsofile.dll to retrieve the properties. Then you want to delete the local copy. This is where the bug comes in. The dsofile.dll will still have a lock on the file even if you have destroyed the object. To get around this set the dsofile.dll to another file and all will be fine.

Good Luck
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top