Adding an item to the system context menu - vb.net

How do you add an item to the system context menu? I would like to let my users be able to right click anywhere and launch this program. I cannot seem to find it documented anywhere either.
Thanks for your help!
I am coding in vb.net

What you're looking for is creating a Shell Extension Handler for Windows Explorer.
Reference: http://msdn.microsoft.com/en-us/library/bb776881(VS.85).aspx
Unfortunately doing this in a .Net application is a bit of a problem due to the way in which the CLR is loaded for COM plug-in style extensions. Raymond did a great job of exploring this problem here
http://blogs.msdn.com/oldnewthing/archive/2006/12/18/1317290.aspx

Related

The “Navigtionmenu” control is not showing up in the Toolbox in a .NET project VS2010 and 2012

Why The “Navigtionmenu” control is not showing up in the Toolbox in a .NET project VS2010 and 2012?
but why did the screenshot I got from google below appear toolbox "NavigtionMenu"?
Thanks
jack
I just did a search here for "navigationmenu" and got no relevant matches, so I don't think that such a control even exists. Given the generic icon in that screenshot, it's probably a third-party control or even second-party, i.e. created by the person who posted that screenshot. In fact, I think that that is the icon that used to denote a user control and is still used for a user control in the Add New Item dialogue. I suggest that you check that link you found and see whether it includes instructions for creating it.

How to generate Domino dialogboxes on traditional (non-xpages) webforms

I want to have a popup/dialogbox with an "OK" button on it that will close the dialogbox...after someone performs a task on a Domino webform. I know I used overlays in xpages before, but the current application I am maintaining was built with traditional Domino forms (lots of pass-thru HTML) and my initial attempt to build an overlay effect did not work.
I have tried using javascript code of:
var window = window.open(url, windowName, [windowFeatures]);
...but this has not been successful. No errors in debug, yet my url page does not pop up. I am hoping someone might be able to provide a snippet of what you use so I can see where I am going wrong.
The url parameter I am passing is correct, as I used an alert to show me what was going in there, but I am doing something basic wrong.
If I can answer any questions for you I can do that as well.
Thank you
The only way I know to display a dialog box in a classic Domino web application is to do just like you would on any HTML-based webpage. Either you create your own popup functionality, or you use one of the many plugins available.
When I work with classic Domino web applications, I have often added Bootstrap to it, to make things look a bit better. Then I can use either the native Bootstrap dialog boxes, or a plug-in called Bootbox.js. But there are many other ones.

Show progress in taskbar Icon using visual basic 2012

I know there must be some ways to show the progress of something in the task bar icon...
However i found there are some tutorials and librarys to accomplish this, I am not really satisfied with them...
Has anyone experience in doing this, can you reccomand a .dll, post some example code?
Thx
If you are on .NET 4, you can use the new namespace,
http://msdn.microsoft.com/en-us/library/system.windows.shell(VS.100).aspx
It comes from the WPF Shell Integration project,
http://archive.msdn.microsoft.com/WPFShell

Disable touch feedback (by code) in windows 8/store apps?

Here is what I am talking about:
I know this visual indication is part of the operating system and that it can be disabled in the control panel. However, I would like to know if it is possible to disable this definition in one application.
Thanks to the suggestion provided by Raymond Chen I was able to found the solution for this. Just add this line in your application entry point:
PointerVisualizationSettings.GetForCurrentView().IsContactFeedbackEnabled = false;

Code for extending the NETCF MainMenu to support background color property

I've searched for the solution to change the background color on the Compact Framework's MainMenu control, and the only answer I've found is that you need to create a custom control. Does anyone have example code for this?
I did something vaguely similar where I wanted to handle the WM_EXITMENULOOP message which was not available as an event in .NETCF.
The solution was to "subclass" the Main Menu, an old MFC trick where you replace the WndProc function with your own, handle any windows messages (WM_EXITMENULOOP in my case) and call the base class WndProc for everything else.
Some sample code is available on Alex Yakhnin's blog on how to subclass a control:
Example of subclassing a window in .NETCF
In your case you'd actually be subclassing the Form that the MainMenu resides on, and I think WM_DRAWITEM would be the windows message you'd want to handle yourself.
I haven't tried changing the background color myself so not totally sure this will work, but subclassing would be where I'd start.
There is no way of doing this.
Your right in that you'll probably need to create your own control.
This was something I was considering doing anyway to make the application go on Windows CE and Windows Mobile.
The problem with adding menus when the application needs to work with both is that the menu goes to the top of the screen on Windows CE and covers any controls that might be there.
It would be less hassle in the long run just make a new control.
I tried to do something similar a while back and discovered that you have to write your own menu; essentially from scratch. I gave up because the project I was working on couldn't afford the expense. I also discovered that OpenNETCF has a pretty awesome menu control. I don't know if it's included in their free software, but it might be worth looking into.