C#.net how to access properties of a file?
Problem about c#.net
I want to know how to change the details of a file where we right click the file go to properties window & here we have a summary tab having the details such as title,subject,keywords etc. Now i want to do this through C#.net
I've tried two ways till now, one by opening the responding application.
The other way was using the dsofile.dll from microsoft. With that, first, it
seemed to work. But then I've realized, that if any file properties are read with that dll, the file stays open. Next time i try to read the details i get error saying the file is alrerady open.I've to close my app, and then restart. Than it works again. That's not pretty nice. I set the reader = null in my routine, but it seems so, that this dll keeps the file open somewhere in background.
|Tags: cnet, keywords, properties, subject, summary tab, title|
|Thread Tools||Search this Thread|
|Similar Threads for: "C#.net how to access properties of a file?"|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Manage properties of access internally||Gunner 1||Software Development||5||17-02-2010 03:17 AM|
|Properties of .ini file||Logan 2||Software Development||5||25-01-2010 01:43 PM|
|Field properties in Ms Access 2007||Bansi_WADIA||Windows Software||5||08-01-2010 05:10 AM|
|Can't access network adapter properties.||slugdoug||Networking & Security||2||20-10-2009 09:16 AM|
|Change properties of PDF/A file||!const||Windows Software||3||04-05-2009 02:32 PM|