Hi. I know how to create a notify icon and place it in the notify icon area, i.e. the lower right hand side of the taskbar. However, I've seen it done before but just that I don't know how to do it. How do you place a shortcut in the quicklaunch area, i.e. the lower left hand corner?
Every passing hour brings the Solar System forty-three thousand miles closer to Globular Cluster M13 in Hercules -- and still there are some misfits who insist that there is no such thing as progress.
A NotifyIcon is absolutely nothing whatsoever to do with shortcuts and the QuickLauch tool bar. A NotifyIcon is a component of a running application, while a shortcut in the QuickLaunch bar is a LNK file, exactly like a shortcut in the Start Menu or on the Desktop except that it resides in the folder that sunburnt mentioned rather than the StartMenu or Desktop folder. Creating a shortcut to your program's executable is not a trivial task in .NET as there is no purely managed way to achieve it. The link below explains how to do it in VB.NET. I'm sure the code could be converted to C# without much problem, perhaps using one of the converters in my signature.
OK I'll study the code. But is there anyway I could create that shortcut from the setup? I mean its just a shortcut to a directory right? Now i know how to create a shortcut to the desktop. Isnt there someway to create a shortcut to the quicklaunch folder directory from the setup?
Absolutely, but if that's what you want you should have said so in the first place. This is the C# forum, not the Deployment forum, so the assumption is that you want C# code. You select the File System editor in your Setup project, right click the "File System on Target Machine" root and select Add Special Folder -> User's Application Data Folder. That corresponds to the "C:\Documents and Settings\<USER>\Application Data" part of the path, so you then create subfolders for "Microsoft\Internet Explorer\QuickLaunch" and then create a shortcut to your executable. That will then be installed along with your application.