|
-
Jul 20th, 2011, 08:40 AM
#1
Thread Starter
Junior Member
How to open the folder explorer right click menu in Visual Basic?
Hello,
When I right click on the file in the Visual Basic listview, I want open the Windows Explorer to menu (The menu when we right click on a file in Explorer opens)
How do I open the menu Explorer with API commands in Visual Basic?
Thanks
Last edited by msnv; Jul 29th, 2011 at 03:10 AM.
-
Jul 20th, 2011, 09:25 AM
#2
Re: How to open the folder explorer right click menu in Visual Basic?
Displaying a menu won't do you much good. You'll have to code what happens when a user clicks on one of the menu items too.
The menu you see in Explorer is not so simple. There is a 'service' that Explorer offers applications so that they can add their own menu items there and also some of the menu items are found in subfolders. For example the "Send To" menu item is in the user's personal settings folder: C:\Documents and Settings\[username]\SendTo
Since your listview is not known to Explorer not can it be made known to Explorer, I cannot see anyway of having Explorer display its context menu on your listview.
-
Jul 20th, 2011, 09:53 AM
#3
Thread Starter
Junior Member
Re: How to open the folder explorer right click menu in Visual Basic?
Thanks
Then:
The menu is not displayed in Visual Basic Explorer,Is this true?
-
Jul 20th, 2011, 11:56 PM
#4
Re: How to open the folder explorer right click menu in Visual Basic?
u can create ur own menu in VB using menu editor.
-
Jul 21st, 2011, 02:48 AM
#5
Lively Member
Re: How to open the folder explorer right click menu in Visual Basic?
The simple way is....Insert a Web-browser control from components:
Code:
Private Sub Form_Load()
WebBrowser1.Navigate "C:\"
End Sub
Windows explorer at your service....
-
Jul 21st, 2011, 03:08 AM
#6
Re: How to open the folder explorer right click menu in Visual Basic?
-
Jul 21st, 2011, 03:15 AM
#7
Re: How to open the folder explorer right click menu in Visual Basic?
 Originally Posted by Stupidiot
The simple way is....Insert a Web-browser control from components:
Code:
Private Sub Form_Load()
WebBrowser1.Navigate "C:\"
End Sub
Windows explorer at your service....
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|