Link to home
Start Free TrialLog in
Avatar of stephenlecomptejr
stephenlecomptejrFlag for United States of America

asked on

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

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....
Avatar of Ignacio Soler Garcia
Ignacio Soler Garcia
Flag of Spain image

Don't know how to do it but for sure that you have to look at the Windows API to do that.
Avatar of stephenlecomptejr

ASKER

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.
ASKER CERTIFIED SOLUTION
Avatar of Ignacio Soler Garcia
Ignacio Soler Garcia
Flag of Spain image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thank you SoMos, I'll try it in the next 2 hours.
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...
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
This would be great if placed in a VBS script zone.
Also since API, could be under Microsoft Access coding and scripts.
SOLUTION
Avatar of Nasir Razzaq
Nasir Razzaq
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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?