Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How do I create a New Toolbar on the TaskBar using Visual Basic .NET or API?

Posted on 2008-10-13
11
Medium Priority
?
1,251 Views
Last Modified: 2012-05-05
In Windows XP, when you right-click over your taskbar and you have options to go to Toolbars - and then slide over to ... New Toolbar, browse to a folder containing shortcuts - how do you programmatically assign a folder using Visual Basic .NET as a new toolbar?  I'm having trouble finding any coding based on some calling the toolbar a shortcut for the taskbar....
0
Comment
Question by:stephenlecomptejr
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
11 Comments
 
LVL 5

Expert Comment

by:Ignacio Soler Garcia
ID: 22709029
Don't know how to do it but for sure that you have to look at the Windows API to do that.
0
 
LVL 1

Author Comment

by:stephenlecomptejr
ID: 22709603
I definitely think you are correct on that.  Trouble is I don't have a book that directly addresses the API and I'm having difficulty finding what I need online based on the term taskbar and toolbar.

I need someone to post a link that can guide me to the correct answer - not just tell me that I need to look at the Windows API.
0
 
LVL 5

Accepted Solution

by:
Ignacio Soler Garcia earned 720 total points
ID: 22709629
0
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 
LVL 1

Author Comment

by:stephenlecomptejr
ID: 22709674
Thank you SoMos, I'll try it in the next 2 hours.
0
 
LVL 1

Author Comment

by:stephenlecomptejr
ID: 22711685
SoMos, I'm not sure on how that class at all.

I don't need to dock a Windows form to the taskbar....
All I'm trying to do is create a New Toolbar on the taskbar...
0
 
LVL 1

Author Comment

by:stephenlecomptejr
ID: 22712128
basically my question is...
How do I make shortcut toolbars on the taskbar using programming code?
The same steps here at the following but instead using Visual Basic.NET...
http://www.overclock.net/faqs/119039-how-make-shortcut-folders-taskbar.html
0
 
LVL 1

Author Comment

by:stephenlecomptejr
ID: 22744307
This would be great if placed in a VBS script zone.
Also since API, could be under Microsoft Access coding and scripts.
0
 
LVL 83

Assisted Solution

by:CodeCruiser
CodeCruiser earned 640 total points
ID: 22744480
This is a task which usually requires C++ code to be written and COM objects manipulated and interaction with COM interfaces.
The following link is to a shell extension library which costs some money but provides very easy way of doing these very complex shell extension tasks.
http://www.ssware.com/ezshell/ezshell.htm
0
 
LVL 18

Assisted Solution

by:Priest04
Priest04 earned 640 total points
ID: 22758367
I dont believe that this functionality (New folder option) is exposed to us via code, but what you need to look into is IDeskBand interface, which windows taskbar implements and all this is handled through in-process COM dll. I will post some links that will show you how to create your own band, but I must say programming shell extensions using .NET is not safe to do, because of its in-process behavior. A unmanaged C++ is the only safe way to go.

http://www.codeproject.com/KB/shell/dotnetbandobjects.aspx
http://www.codeproject.com/KB/cs/BandObjects20.aspx?select=1819328&df=100&forumid=306921&exp=0

Goran
0
 
LVL 1

Author Comment

by:stephenlecomptejr
ID: 22827036
Somos,

Before I close out the question...
What I'm having a hard time is placing this code in its proper place with your URL.
http://www.dreamincode.net/code/snippet895.htm

I do understand that where the Private Sub InitializeComponent() coding appears I know that this should be copied and placed in the Designer.vb versus just trying to copy and paste in the Form1.vb.  But where else should I copy and paste this coding?  Do I create new class modules?  How do I utilize the code provided?
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
If you need a simple but flexible process for maintaining an audit trail of who created, edited, or deleted data from a table, or multiple tables, and you can do all of your work from within a form, this simple Audit Log will work for you.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question