Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / General / December 2005

Tip: Looking for answers? Try searching our database.

Getting right click menu and executing command

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
yogee - 23 Dec 2005 11:31 GMT
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.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.