[VB.Net] Adding JumpListItems to your application [Win7] - Printable Version +- Support Forums (https://www.supportforums.net) +-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87) +--- Forum: Coding Support Forums (https://www.supportforums.net/forumdisplay.php?fid=18) +---- Forum: Visual Basic and the .NET Framework (https://www.supportforums.net/forumdisplay.php?fid=19) +---- Thread: [VB.Net] Adding JumpListItems to your application [Win7] (/showthread.php?tid=19259) |
[VB.Net] Adding JumpListItems to your application [Win7] - The-One - 06-03-2011 Hello, Okay so as you know I fooled around with the new WindowsAPI dll.s. The .dll's: http://www.multiupload.com/FDKNSPL53Y Step 1 Add the .dll's as reference. Step 2 Import the following elements: Microsoft.WindowsAPICodePack.Taskbar and Microsoft.WindowsAPICodePack.Shell Step 3 Next, add a new 'JumpList' Code: Dim j As JumpList = JumpList.CreateJumpList() Step 4 Now lets add a few programs: Code: Dim cat_1 As New JumpListCustomCategory("Editors") This will add two programs (Notepad and Paint) credits to Helmy.m for the IconReference thing. Step 5 You can also add sites: Code: Dim cat_2 As New JumpListCustomCategory("Websites") Step 6 When you run it, you will notice it doesn't work. This is because we have to refresh the JumpList. Code: j.Refresh() You can remove them by doing: Code: j.ClearAllUserTasks() NOTE: Where I type in the website and the exe's you can also enter a path to a specific program. Enjoy! RE: [VB.Net] Adding JumpListItems to your application [Win7] - Inventor - 06-04-2011 Thanks, I needed this! Can you make this start when a program starts? Inventor1 RE: [VB.Net] Adding JumpListItems to your application [Win7] - The-One - 06-04-2011 (06-04-2011, 09:16 AM)Inventor1 Wrote: Thanks, I needed this! Yes, just put in it Form#.Load RE: [VB.Net] Adding JumpListItems to your application [Win7] - Inventor - 06-04-2011 Thanks! Inventor1 |