Click here to Skip to main content
15,178,226 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hi All,

But I want to write an custom attribute(property) to a file storing some information.

The file extension is *.sdf.

Any1,Please guide me if there any way to do.
Posted
Comments
   
It does not look like a sane idea to me. Why? And what could be a problem? http://whathaveyoutried.com?
—SA
Bernhard Hiller 19-Aug-13 3:54am
   
You deserve a +5 for providing that link!
   
Thank you, Bernhard, but this is not my finding. :-)
It's been a pretty usual comment to the question for a while. The referenced article is indeed more than relevant.
—SA
explorerC 19-Aug-13 2:39am
   
Hi Sergey,

Thanks for the reply.I have tried using dsofile.dll ,but it only supports *.docx.So was wondering if there is any other way to accomplish this.
   
I have no idea what is dsofile.dll. You only need .NET FCL, nothing else. Getting all information about attributes is easy (System.Reflection), but you did not answer my questions.
—SA
BillWoodruff 21-Aug-13 19:09pm
   
You need to explain exactly what you mean by a "custom attribute (property)," and "to a file."

Are you speaking of adding something into the content within a file, or are you speaking of creating what is called meta-data, as found in .jpg files, video-files, etc. ?

What have you tried so far ?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900