|
-
August 5th, 1999, 04:18 AM
#1
how to invoke File Properties Dialog like Explorer
how can I invoke the dialog that Explorer displays whenever you right-click over a file and select "properties"?
I know I have seen the code somewhere, but can't remember where.
-
August 5th, 1999, 04:27 AM
#2
Re: how to invoke File Properties Dialog like Explorer
Why don't you make it customize:
Right click -> invoke popup menu -> select properties and then display your own made form. Is it about files, messages or something else? If it is for messages (MAPI) for example, you can retrieve its Size, DateSent, Senter etc...
Michael Vlastos
Company MODUS SA
Development Department
Athens, Greece
Tel: +3-01-9414900
-
August 5th, 1999, 04:34 AM
#3
Re: how to invoke File Properties Dialog like Explorer
I've also seen it somewhere (can't for the life of me remember where either).
I know that Karl Peterson has a sample project called 'FileInfo' or something on his website which replicates the dialog (and allows you to access all the file information yourself).
Take a peek at http://www.mvps.org/vb
Chris Eastwood
CodeGuru - the website for developers
http://www.codeguru.com/vb
-
August 5th, 1999, 04:34 AM
#4
Re: how to invoke File Properties Dialog like Explorer
well, if you have seen the properties dialog in NT you know why I don't want to reimplement in myself.
It can display Version info, Security info and so on.
I know there is an API for doing it. That's what I am looking for.
-
August 5th, 1999, 05:16 AM
#5
Re: how to invoke File Properties Dialog like Explorer
not bad, that example, but I really really want to use the Explorer dialog.
program's like Windows Commander can do that, too.
I guess I have to implement a shell interface.
It's probably gonna cost me a few hours of surfing and many more grey hairs :-)
-
August 12th, 1999, 09:30 AM
#6
Re: how to invoke File Properties Dialog like Explorer
Use the ShellExecuteEX function with the verb
properties.
That will show the same properties box that
Explorer uses.
-
January 8th, 2000, 07:15 AM
#7
Re: how to invoke File Properties Dialog like Explorer
Yes, It works fine.
But how to do if had to see the property for more then one file? The member lpVerb of structure SHELLEXECUTEINFO do not accept a list of file.
-
January 8th, 2000, 03:49 PM
#8
Re: how to invoke File Properties Dialog like Explorer
Search for the following on the MSDN: SHELLEXECUTEINFO
Or go to the following page. it should help. I hope.
http:// msdn.microsoft.com / library / psdk / shellcc / shell / Structures / SHELLEXECUTEINFO.htm
-
January 28th, 2000, 06:20 PM
#9
Re: how to invoke File Properties Dialog like Explorer
-
October 20th, 2000, 03:18 PM
#10
Re: how to invoke File Properties Dialog like Explorer
Have you seperated the filenames with #0 and
ended your list with #0#0?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|