D
David Lindgren
I am wondering if it is possible to pop up the fileproperties dialog from
inside the code. I've found old methods for doing it which includes
ShellExecuteEx and passing a SHELLEXECUTEINFO struct where the lpVerb
property is set to "properties". (VB exmaple:
http://www.codeguru.com/vb/articles/1856.shtml)
I tried doing something similuar using .NET :
System.Diagnostics.Process test=new System.Diagnostics.Process();
test.StartInfo.FileName=strFileName;
test.StartInfo.Verb="properties";
test.Start();
this didn't work so well, because the StartInfo.Verbs list didn't contain
"properties". In there were only "open","edit","print" etc...
So, my question now is if there is any support for bringing up the file
properties dialog at all and if so, how do I do it?
Thanks!
/David.
inside the code. I've found old methods for doing it which includes
ShellExecuteEx and passing a SHELLEXECUTEINFO struct where the lpVerb
property is set to "properties". (VB exmaple:
http://www.codeguru.com/vb/articles/1856.shtml)
I tried doing something similuar using .NET :
System.Diagnostics.Process test=new System.Diagnostics.Process();
test.StartInfo.FileName=strFileName;
test.StartInfo.Verb="properties";
test.Start();
this didn't work so well, because the StartInfo.Verbs list didn't contain
"properties". In there were only "open","edit","print" etc...
So, my question now is if there is any support for bringing up the file
properties dialog at all and if so, how do I do it?
Thanks!
/David.