call explorers context- and properties-dialog

call explorers context- and properties-dialog

Post by Goebel, Ma » Mon, 20 Oct 2003 03:27:35


How can I call the explorers context-dialog (right-klick) and
properties-dialog (alt-return) of a file/directory form VB6 ?
Thanks for help.
Matthias Gel
 
 
 

call explorers context- and properties-dialog

Post by Sascha Her » Tue, 21 Oct 2003 14:06:52

Hi,


I think there is a source code for showing the file properties dialog at
www.mvps.org/vbnet.

Sash

 
 
 

call explorers context- and properties-dialog

Post by mayayan » Tue, 21 Oct 2003 23:37:51

You can use ShellExeucteEx on Win9x. I assume it works
on NT. In the SHELLEXECUTEINFO structure, for lpVerb
use "properties" and for fMask Or the following:

Public Const SEE_MASK_INVOKEIDLIST = &HC
Public Const SEE_MASK_NOCLOSEPROCESS = &H40
Public Const SEE_MASK_FLAG_NO_UI = &H400
 
 
 

call explorers context- and properties-dialog

Post by Goebel, Ma » Wed, 22 Oct 2003 21:51:57

The "properties" menu works.
Is it possible to get the "context" menu (right-klick on file/dir/... in
explorer window) ?

Matthias Gel

"mayayana" < XXXX@XXXXX.COM > schrieb im Newsbeitrag