G
Guest
Hi.
I am working on a WinForms app using VS2005 and C#.
I would like to display information on files and would appreciate if you
could direct me to useful sources of information, sample code etc. Among the
tasks I would like to tackle are:
Display all files in a directory in WinExplorer like manner.
Programmatically optaining file properties like those you get when you right
click on a filename and choose Properties (Summary: Title, Subject, Author,
etc.).
Performing a directory walk (like the one described by Jeffrey Richter in
his 1997 book Advanced Windows).
Obtain file associations programatically (like in Control Panel/Folder
Options/File Types)
This all boils down to, I presume, getting access to the rigtht Windows API
functions from managed code (C#). But all examples I can find are unmanaged
code, either C++, Visual Basic or some scripting language. I have used
unmanaged C++ a lot in the past, but on this project, I have to use managed
C#.
Any suggestions?
Regards,
Gudni
I am working on a WinForms app using VS2005 and C#.
I would like to display information on files and would appreciate if you
could direct me to useful sources of information, sample code etc. Among the
tasks I would like to tackle are:
Display all files in a directory in WinExplorer like manner.
Programmatically optaining file properties like those you get when you right
click on a filename and choose Properties (Summary: Title, Subject, Author,
etc.).
Performing a directory walk (like the one described by Jeffrey Richter in
his 1997 book Advanced Windows).
Obtain file associations programatically (like in Control Panel/Folder
Options/File Types)
This all boils down to, I presume, getting access to the rigtht Windows API
functions from managed code (C#). But all examples I can find are unmanaged
code, either C++, Visual Basic or some scripting language. I have used
unmanaged C++ a lot in the past, but on this project, I have to use managed
C#.
Any suggestions?
Regards,
Gudni