VB App in Explorer Right-click menu - again... 
Author Message
 VB App in Explorer Right-click menu - again...
Sorry, gang, I looked and looked but haven't come across it - I know it's
out there, and that bugs me!!

How do I add my VB App to the Explorer Right-mouse-click menu?  You know,
like all those OTHER cool people do?

Thanks, and if you tell me where to look for the info, I'll bookmark it - I
Promise!

    -Steve



Sun, 06 Apr 2003 03:00:00 GMT  
 VB App in Explorer Right-click menu - again...

Two ways:
1 The manual approach:
In windows explorer, click View|Options (folder options in Win98) and select
the file types tab.
Click "New Type" and enter "Test Type" in the "Description of Type" box, and
".ZZZ" in the "Associated Extension" box. Click "NEW" below the Actions List
box, and in the New Action Dialog, enter an ACTION name "TEST". Either type
the path and filename into the "Application used to perform action" or click
browse and navigate to it. If you understand DDE, you can make this action a
dde execute string if your app is going to support dde (I can explain this
if you are interested. It enables you to open multiple files into one
application, amongst other things!)
Click OK and your new action will be added to the list. Click close and your
file type .zzz is created. Now when you right click on a *.zzz file, you
will get TEST in the menu. Select TEST and your application will be opened
with the file name as the command line argument. Select 10 files, right{*filter*}
TEST and you get 10 instances of your app, one for each file (unless you
used DDE)

Method 2 - the programmatical approach...

If you knoww how to modify registry keys, then you need to dump:
The file extension key has the fiel type name as default value


"EditFlags"=hex:00,00,00,00

FileType\Shell\Action is the key for the action we created
[HKEY_CLASSES_ROOT\ZZZfile\Shell\TEST]

and \command is the key for the command line to execute your app:

--
Chris Petchey
The choices we make dictate the life we lead,
so above all else,
to thine own self be true


Quote:
> Sorry, gang, I looked and looked but haven't come across it - I know it's
> out there, and that bugs me!!

> How do I add my VB App to the Explorer Right-mouse-click menu?  You know,
> like all those OTHER cool people do?

> Thanks, and if you tell me where to look for the info, I'll bookmark it -
I
> Promise!

>     -Steve



Mon, 07 Apr 2003 03:00:00 GMT  
 VB App in Explorer Right-click menu - again...
That was it?  DOH!  "Hi, my name is Steve, and I'm new to Windows"

Thanks, Chris!!  As for DDE, every time I get near it my nose bleeds, but if
that changes I may yet email you ;-)

Thanks again,

    Steve


Quote:

> Two ways:
> 1 The manual approach:
> In windows explorer, click View|Options (folder options in Win98) and
select
> the file types tab.
> Click "New Type" and enter "Test Type" in the "Description of Type" box,
and
> ".ZZZ" in the "Associated Extension" box. Click "NEW" below the Actions
List
> box, and in the New Action Dialog, enter an ACTION name "TEST". Either
type
> the path and filename into the "Application used to perform action" or
click
> browse and navigate to it. If you understand DDE, you can make this action
a
> dde execute string if your app is going to support dde (I can explain this
> if you are interested. It enables you to open multiple files into one
> application, amongst other things!)
> Click OK and your new action will be added to the list. Click close and
your
> file type .zzz is created. Now when you right click on a *.zzz file, you
> will get TEST in the menu. Select TEST and your application will be opened
> with the file name as the command line argument. Select 10 files, right
{*filter*}
> TEST and you get 10 instances of your app, one for each file (unless you
> used DDE)

> Method 2 - the programmatical approach...

> If you knoww how to modify registry keys, then you need to dump:
> The file extension key has the fiel type name as default value
> [HKEY_CLASSES_ROOT\.zzz]

> [HKEY_CLASSES_ROOT\ZZZfile]

> "EditFlags"=hex:00,00,00,00

> FileType\Shell\Action is the key for the action we created
> [HKEY_CLASSES_ROOT\ZZZfile\Shell\TEST]

> and \command is the key for the command line to execute your app:
> [HKEY_CLASSES_ROOT\ZZZfile\Shell\TEST\command]

> --
> Chris Petchey
> The choices we make dictate the life we lead,
> so above all else,
> to thine own self be true



> > Sorry, gang, I looked and looked but haven't come across it - I know
it's
> > out there, and that bugs me!!

> > How do I add my VB App to the Explorer Right-mouse-click menu?  You
know,
> > like all those OTHER cool people do?

> > Thanks, and if you tell me where to look for the info, I'll bookmark
it -
> I
> > Promise!

> >     -Steve



Tue, 08 Apr 2003 08:55:06 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Right-Click Menus in Explorer

2. Add a right-Click menu in explorer

3. add explorer file right-click to vb program?

4. add explorer file right-click to vb program?

5. add explorer file right-click to vb program?

6. add explorer file right-click to vb program?

7. add explorer file right-click to vb program?

8. add explorer file right-click to vb program?

9. Howto add a menu to right-click menu for an item

10. Right Click PopUp Menu and dynamic menu Item

11. Right Click PopUp Menu and dynamic menu Item

12. Right click menu (context menu?)

 

 
Powered by phpBB® Forum Software