Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Community Discussions (All other subjects)
 Windows File Property Sheets
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

seven
Senior Member

USA
1037 Posts

Posted - 24 January 2003 :  19:00:42  Show Profile  Visit seven's Homepage
Here's a question for all you hard core programmers. I want to know if there is a way to customize the file property sheets for existing file types in windows.
A standard file currently has title, subject, category, keywords, comments, source, author and revision number when you click the advanced button (in Windows 2000).
MS Office documents have more fields with some being read only.
I know there has to be a registry tweak or Windows API method for customizing the fields for different file types.
I need to be able to add a read only field to identify the file without allowing someone to edit or delete the field.

Any thoughts?


Doug G
Support Moderator

USA
6493 Posts

Posted - 24 January 2003 :  19:26:03  Show Profile
Not that I know of.

======
Doug G
======
Computer history and help at www.dougscode.com
Go to Top of Page

sy
Average Member

United Kingdom
638 Posts

Posted - 24 January 2003 :  21:17:47  Show Profile  Visit sy's Homepage  Send sy a Yahoo! Message
Me neither, maybe you could make your own file type (e.g *.foo), edit these fields you need and then make the computer use whatever program you like as default for opening them?

Dunno really :)

The pessimist complains about the wind; the optimist expects it to change; the realist adjusts the sails

Go to Top of Page

HuwR
Forum Admin

United Kingdom
20600 Posts

Posted - 24 January 2003 :  22:27:20  Show Profile  Visit HuwR's Homepage
As far as I know, only MS Office applications support custom file properties.
Go to Top of Page

seven
Senior Member

USA
1037 Posts

Posted - 25 January 2003 :  07:16:42  Show Profile  Visit seven's Homepage
it looks that way... I'll have to figure something else out.

quote:
Originally posted by HuwR

As far as I know, only MS Office applications support custom file properties.


Go to Top of Page

jfitz
Junior Member

USA
345 Posts

Posted - 25 January 2003 :  09:18:57  Show Profile
If you're writing programs, as we are, in Delphi, we can add additional properties to the program file as it's being developed. This has been quite useful to us in our work. The properties are stored in the file itself, so there is probably a way to get to them and make changes, but it would take some type of editing capability. Reading the existing data is relatively easy. Developing a program as a stand-alone to allow you to edit or add to those properties might be a bit more tricky.

--Jördan
It's a wasted day if you don't spend at least part of it flying upside down.

Edited by - jfitz on 25 January 2003 09:22:31
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20600 Posts

Posted - 25 January 2003 :  09:27:32  Show Profile  Visit HuwR's Homepage
this is slightly different, since they are appliations and you can define custom properties when coding, it would be a different matter to add your own custom file properties to say a gif file, since graphics programs would not know about these new custom propeerties and would in all probability assume the file is corrupt. Office is different, the file properties already contain a structure which allows creating custom properties, so programs which read office documents know about them and can take them in to account when processing the files.
Go to Top of Page

seven
Senior Member

USA
1037 Posts

Posted - 25 January 2003 :  10:13:51  Show Profile  Visit seven's Homepage
Makes sense... I wanted to see if there was a way to do this, to be able to track the file even if the filename changes.


quote:
Originally posted by HuwR

this is slightly different, since they are appliations and you can define custom properties when coding, it would be a different matter to add your own custom file properties to say a gif file, since graphics programs would not know about these new custom propeerties and would in all probability assume the file is corrupt. Office is different, the file properties already contain a structure which allows creating custom properties, so programs which read office documents know about them and can take them in to account when processing the files.


Go to Top of Page

HuwR
Forum Admin

United Kingdom
20600 Posts

Posted - 25 January 2003 :  10:32:29  Show Profile  Visit HuwR's Homepage
this may be possible, since some files keep a record of their original name, will see if I can dig out the info.
Go to Top of Page

seven
Senior Member

USA
1037 Posts

Posted - 25 January 2003 :  12:14:01  Show Profile  Visit seven's Homepage
Thanks Huw.



quote:
Originally posted by HuwR

this may be possible, since some files keep a record of their original name, will see if I can dig out the info.


Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.45 seconds. Powered By: Snitz Forums 2000 Version 3.4.07