I want to run my application on Windows Desktop when click my Shell Item in right Menu, for example any antivirus application add a menu for Scan item on the right menu of Windows and you can click right button on a file and scan the file via Antivirus Application how can i do this ?
i think i have to add a value on the Registry(HKEY_CLASSES_ROOTDirectoryShell)
i want to put a menu item for my application to the right click menu of windows explorer.I do not want to do it programmatically but i want to do it with the .NET installer.Until now i have found that i have to insert into the registry the following keys:
HKEY_CLASSES_ROOT/*/shell/MyApplication/command and i have to put there a new value of "[TARGETDIR]MyApplication.exe" "-file=%1"
The problem is that i want to be able to select multiple files and then call my application with parameter all of these files.Now when i right click with many selected files my application is run for each file sepparately.I want to run my application only once and with an input parameter of all the files that are selected.Also until now i cannot add a value to the (Default) key. It only adds a new value to the registry...Also i want to be able to do the same thing with folders...
VB express 2008 .net 3.5 or .net 4.0 VB express 2010?I have written application to convert RTF to HTML. The main Purpose of the application is to copy VS code to the clipboard and covert it then put it back into the clipboard as a HTML Document so that it can be pasted into a HTML document such as Windows Live Mail. I found that code copied and pasted is spaced out in in the wrong positions.
The applications works perfect with no bugs so far. I then asked Myself how to go about doing the copy with the least amount of operator interaction. So I added an Icon to the Icon Tray with a right click menu to use to convert once the Rich Text Format was copied to the clipboard. This works fine except you have Five steps, Select the text, Copy to clipboard, Right Click the icon, Select the Converter and Paste. The normal is three steps.
To this the best solution is to add a context menu item to the active form such as the RTF editor or window. So that when you select the Rich Text to copy and right click on the form to bring up that menu then to Just Select the menu Item such as "Copy RT and Convert" I searched and found about 544000 Items and tried to restrict down to no avail. I read until I finally gave up. I did not find any code examples of this. Almost every thing I found related to the web or some other explicit document like Excel and not to the Various windows that could be active with RT in it.
how do you add a context menu item to the context menu of an active rich text format window such as WordPad or VB?I have test in my application that tests to see if it is a RTF in the clipboard so if it is not the converter does nothing.
Imports System.Threading Imports System.IO Imports System
i want to show context menu on drop down menu item right click...As an example,Suppose we add bookmark in mozilla & when we right click on that item..context menu is showing
Code: Private Sub MenuAddToFavorites_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles MenuAddToFavorites.MouseDown If e.Button = Windows.Forms.MouseButtons.Right Then
I know this has been asked many times before, but since google is flooded with advertising upon this subject i thought i might try here. the problem is pretty much, how the ____ do i add an item to windows explorer context menus. I specifically want to target .xls file "Excel" Files. I understand that i can make an item by creating a key and sub Key in * registry. but besides that i am lost.
How do I make a menu item on a menu strip link to another windows form (like a menu item that links to an about page already created in the project). I know that every coder knows how to do this, but i've read most of the instructions in the world for Visual Basic coding, but can't find ANYTHING I know coding fairly well, so I can modify it, but I can't create it my self.
I have a DevExpress (version 9.2) TreeList that by default displays a menu containing sort ascending/descending, column chooser, and best fit when you right-click on the header of the tree.
How would I add more choices to this default menu?
I have a program which puts an icon in the notification area and has a menu associated with it available by right clicking on the icon. I want the menu items to be selected by single left clicks but I also want the user to be able to single left click on the icon itself to do some other functionality.
Here's the problem - the single click on the menu first fires the notifyicon1_click() routine and then the menuitem1_click() routine. How do I know in the notifyicon1_click() whether it has been called from a menu click or a click on the icon itself?
the following piece of test code duplicates the problem
Imports System Imports System.Drawing Imports System.Windows.Forms
I've got a right-click menu that comes up in a treeview - with an option to ADD to that parent node or delete a child node.
Currently I'm using the SELECTEDNODE - but what I really want to do is change the "selected node" when the right-click occurs. But I'm having a hard time seeing how to do that...
How do you use this event properly??
Private Sub CapabilitiesTreeView_MouseClick(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles CapabilitiesTreeView.MouseClick Me.CapabilitiesTreeView.SelectedNode = End Sub
how can i add an item to the windows explorer context menu, that will only be enabled when the user right clicks a .zip file? also, how do i handle that items click event?
I want my console application to be able to do one function I have when you click one option on the windows context menu, and another function when you click another option.
I'm going to attempt to make a shell replacement for the Windows default shell: explorer.exe. I'm not sure if its possible using Vb.Net, but I can't seem why not. My end goal is to use a custom made shell for a Windows Preinstallation Environment instead of the default command prompt. I plan to use a 3rd party program to compile the program with the .NET Framework. Otherwise, it wouldn't work because Windows PE does not support the .NET Framework.
how can i add an item to the windows explorer context menu, that will only be enabled when the user right clicks a .zip file? also, how do i handle that items click event?
I've written a little application that uploads selected files to my ftp server. What I want to do now, is add that application to the windows right click context. For example, I've installed anti virus, if i right click on my desktop there is a there is a new item within the right click list which lets my right click on files and scans. What I want to know is, how to I add my application into the right click menu, how to get my application to respond when I click on the entry in the right click menu and any other thing anyone thinks will be useful. I have never done this before, and I have never been taught in class.
When I right click on the Forms header it was showing the default windows menu with Items (Restore, Move ,Resize , Maximize..). I need to display the Context menu which we have created instead of display Windows menu. We want to hide the windows default.
I am using a toolstripDropdownbutton on the toolstrip to populate the
menuItems.The toolstrip is on the customtaskpane of the window.
Problem comes when the focus is on the customtaskpane, user opens a dropdown menu and without selecting any menu from the dropdown click on the other part of the window. The dropdown remains open and even the user switch to other window it remains open and does not hide. It only hide when user click on the dropdownbutton itself.
I'm looking at modifying an application we use in the office, the program links to the phone system and allows us to cross caller ID with our database and dial numbers from the database.What I'm trying to work out is how to add a selection to the generic windows right click menu. ie I want to mark a phone number in say ie or word and 'right click' and be able to click 'dial' from the menu. What are these menu's called and can i access its components from VB?
I did some research and i found that i will need to edit the registry.So if i make a folder called "Get Path" in the ContextMenuHandlers folder.When i click on the file in windows explorer or desktop etc i will have the option called "Get Path".Now for the value key what do i put inside?What i want is when the user right - clicks on the file my program starts up and displays the path of that file on a msgbox or listbox. I was thinking of letting the Windows Installer (.msi) doing this for me.
I am looking for a code that can help me Disable Refresh Entry from Right Click Context Menu.One more thing is with refresh Menu entry I want to make a search in Context menu and if there is an entry name = abc than I want to disable it too. So any idea how to proceed.So far I have gathered this information that this command can help me, but as am a newbee in .NET.[code]
I have developed a window application in VB.Net now i want to add my executables to the windows explorer right click menu.so that whenever user right clicks on any folder or any file then in the menu litst mu application executables should be there.How do i achieve this in the vb.net.
I have an application which displays thumbnails of files in a folder. I want to add the feature where the users can right click on a file and get that windows context menu. You know the one. It allows you to choose an application from a list to open the file with.
I seem to remember asking this ages ago but I can't find the thread.
I have a submenu whose items should be selectively greyed out (Enabled=False), and I depend on the parent menu to be clicked. In VB6, from which I'm migrating, dwelling on the parent item with the cursor raised the Click() event, and the submenu items were enabled or disabled in the Click() routine.
In VS 2008 (and I assume probably in VS 2010), the submenu items are displayed as enabled and can be directly selected, bypassing the parent item, by the user even though some should be disabled. If, dispite the apparent availability of ungreyed items, the parent item is explicitly clicked, then the submenu items are correctly initialized. What change should I make to ensure Click() processing occurs before submenu display?
I'm trying to use the Shell to have my application call an external application but its not working...I don't understand why. I get the following error: 'System.windows.shell' is a namespace and cannot be used as an expression!
Heres my code....any ideas what I'm doing wrong. Its got to be a simple...stupid error.
Private Sub mnuUpgrade_Click(ByVal Ctrl As Microsoft.Expression.Web.Interop.Legacy.CommandBarButton, ByRef CancelDefault As Boolean) Handles mnuUpgrade.Click
I can't seem to figure this out. Below is some HTML on a webpage after I've logged in. The HTML is generated by javascript, and not sure how to do the same thing they do.On the site I simply click the "Georgia KMA" cell in the table that pops up, then click "OK" button at bottom.I've gotten the login done, now I'm stuck, can't get a "Click" to occur in the cell. I've got the javascript up and can't identify for sure what handling the click input.What I'm doing is writing vbscript to automate a file download.I don't have access to modify the site in any way.I have verified by using a msgbox that the DIV item 107 is the correct item for what I want. with this code it doesn't highlight the cell so when I click OK it doesn't do anything but tell me to select one of the listed items.
My Code so far:
'code to halt internet explorer Sub WaitForLoad(obj) Do While ie.Busy: Loop[code]......
Ive created a shell context menu dll using the great example at [url]...
This dll can be included in a vb.net setup project and installs ok but upon uninstall Windows prompts the user to close explorer.exe for the uninstall to complete. If the user clicks ok then the windows GUI is lost and the user either needs to reboot or know how to run task manager and startup another instance of explorer.exe to get their desktop back.
Does anyone know how to go about uninstalling a context menu dll which is currently in use by explorer without ending the explorer.exe process.
I have a VB2008 music-player program with a listview that acts as a playlist. I created Windows Shell Context Menu entries in the registry for MP3 etc files, so if I right-click such a file in Windows Explorer it gives the option: Play in MyProg. If multiple files are selected in Windows Explorer and sent to be played in MyProg, the first one must be sent to the music player (part of same prog) and the others must be added to the playlist (listview). For this reason I must know whether a commandline call is just a single one or whether other context menu calls will follow.
of field with working in the registry and shell but I figured I would ask this question. I want to learn how to make a shell context menu associated with my program for a given filetype or any filetype