Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 11-08-2008
Member
 
Join Date: May 2008
Posts: 40
C#.net how to access properties of a file?

Hi..
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
Thanks,
Reply With Quote
  #2  
Old 11-08-2008
Member
 
Join Date: May 2008
Posts: 30
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.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


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


All times are GMT +5.5. The time now is 07:33 PM.