Click to See Complete Forum and Search --> : how to invoke File Properties Dialog like Explorer


Lothar Haensler
August 5th, 1999, 04:18 AM
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.

Dr_Michael
August 5th, 1999, 04:27 AM
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

Chris Eastwood
August 5th, 1999, 04:34 AM
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

Lothar Haensler
August 5th, 1999, 04:34 AM
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.

Lothar Haensler
August 5th, 1999, 05:16 AM
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 :-)

Eddie Shipman
August 12th, 1999, 09:30 AM
Use the ShellExecuteEX function with the verb
properties.
That will show the same properties box that
Explorer uses.

Tonello Stefano
January 8th, 2000, 06:15 AM
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.

wilton
January 8th, 2000, 02:49 PM
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

czimmerman
January 28th, 2000, 05:20 PM
Try this code:

http://www.freevbcode.com/ShowCode.Asp?ID=445

MrBaseball
October 20th, 2000, 03:18 PM
Have you seperated the filenames with #0 and
ended your list with #0#0?