🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #1925

How do I access Files parameters? Thanks!

#1925
From: Ron
Date: Thu, 07 Jun 2007 10:14
25 lines
1456 bytes

Hi all  :-)

When I right click with my mouse on a file and choose
'Properties' a small panel is display which include all kind of 
parameters that I can change as 'Title', 'Subject', 'Comments' 
and so on, How can I access this parameters from my code and
change them during runtime? I found several codes that try to
explain that but they all looks a little complicated....

What I need is only this function - 

SetFileCommentProperty( "C:\MyFolder\MyFile.dat" );

that will change the 'Comments' parameter of the file to - 

"This is my comment!"

Can you please show me complete code for this function that I 
can Copy-Paste and see the result right away?

I'm using Builder 4.0 (kind of old...)

Thanks very much!
Technical Details
Message-ID: <4667da77$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,f2ed613e937bf2b0,start
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Ron" <MailRon@mail.com>
Sender: "Ron" <MailRon@mail.com>
Reply-To: "Ron" <MailRon@mail.com>
Subject: How do I access Files parameters? Thanks!
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 62.0.27.129     
NNTP-Posting-Host: 207.105.83.66
Message-ID: <4667da77$1@newsgroups.borland.com>
Date: 7 Jun 2007 03:14:15 -0700
X-Trace: newsgroups.borland.com 1181211255 207.105.83.66 (7 Jun 2007 03:14:15 -0700)
Lines: 26
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail