How do I make a toolbar with the dots on the left?
Also, does anyone have a link to the back and next icons? I looked through
vbaccelerator but they didnt have them.
Thanks.
Printable View
How do I make a toolbar with the dots on the left?
Also, does anyone have a link to the back and next icons? I looked through
vbaccelerator but they didnt have them.
Thanks.
Ok, the dots on the left side act like VB6's Coolbar control, but .NET doesn't
have them. Or do they?
*BUMP*
Use these free controls
Visual Basic Power Pack
I cant use third party controls in my program. I write them all myself. Do you
know how to make the toolbar resizeable with the appearance I posted?
Also, do you have a link to where I can get the back and forward icons?
Your right, I should try to extract them from my system.
Yours looks a
little different then mine. I dont think the dots image idea will work since the
dots actually are resize handles like the coolbar control in VB6.
*BUMP*
Anyone know how to get those resize dot handles?
rob I will take a further look.. but the short (and crappy) answer may be to use COM interop and use the activeX coolbar control...
Thats not crappy if it does the job. How do I do it?
select a tab on the left side of the IDE, where you want the control to show up.. (you know Windows Forms, Components, Data, etc... or you can make a new tab there as well can call it ActiveX or something like that... thats what I do. Is this side note getting too long to be in parens???)
anyways...
once you selected the tab you want the control to show up in.. right click and select "Add/Remove Items" and select the COM Components tab. Scroll down and find Microsoft Coolbar Control and check it.. and click ok...
now when you drag it to your projects form.. the references needed will be automatically added to your project... thats it
Doh! I'm here but NOT! I can believe I couldn't relate adding a VB6 control to
.NET. :blush: I have even been working on my own .NET control doing the same thing. Bad RobDog *Slap*
Thanks kleinma!
Ok, I finally got around to doing some work on this. I was able to add the Coolbar
control reference to my toolbox. But when I tried to add it to my form it gave
this error. "A .NET assembly wrapper for the dependent type library 'ComCtl3'
could not be found." :confused:
hmmm that is odd.. try to manually add a reference to the control... go into where you would add a reference to the project... and click on the COM tab... select the same ocx (windows common controls 3) and then see if it works.. I KNOW it works because I tried it today
Strange, it worked on my system at home. Only difference is SP-2. Now I am
having the problem of setting the toolbar as a child of the coolbar. I had to
do it through code, but it doesnt seem to work correctly. Also, I dont get the
same xp look. :(
After allot of searching and read over at M$ it turns out that its not the CoolBar
after all. Its a ReBar control that is derived from Comctl32.dll version 4.70
and +. I'm too tired to get deeper into it, but I will post as I get more.
In case anyone is interested, this is the link over at M$ that has info on the XP IE style toolbar.
If anyone could assist me in creating a demo project using it I would be
greatly in debt to them. :thumb:
Someone already wrote one (of course)
http://codeproject.com/cs/menu/rebarcontrol.asp
Thanks for the link, but its in C# :(
I wanted to either get one with the source in VB or write one myself. I have
to use it in a project and it need to be marketable, not with limitations of
third party licensing. :(
If I get the time I may try to translate it from C# to VB.NET. Is there
anything that would help to convert it?