How to get right click menu of a file and execute the commands from my vb
.net application. Minimally, I want to handle the image files with commands
like "open" and "open with".
More Scenario Description:
I will show an image in my form. User can click on that image and use "open"
or "open with" commands. "Open" command automatically opens the image using
default access program. If "Open with" command is chooosed than the "open
with" dialog appears and user can choose the program.
Please suggest me how to do this. You are also invited to suggest any
alternate way.
Thanks in advance,
-yogee
Cor Ligthert [MVP] - 23 Dec 2005 11:42 GMT
Yogee,
Have a look at "Context menu" in MSDN. They are different handled in Net 1.x
and 2.0 versions.
I hope this helps,
Cor
yogee - 27 Dec 2005 05:37 GMT
I guess "context menu" controls helps to add your custom comman in the
"context menu". But I want to run "Open" and "Open with" command for an
image. Is it possible?
> Have a look at "Context menu" in MSDN. They are different handled in Net 1.x
> and 2.0 versions.