borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (pdf file use in program)Next Topic (reuse ocx) New Topic New Poll Post Reply
AndreaVB Forum : ActiveX : taskbar Solved Topic
Poster Message
007
Level: Scholar

Registered: 14-08-2003
Posts: 30

icon taskbar

somebody help me, i'm developing a system in vb6 which will have its own taskbar. is there any component in vb6 which will mimic the windows taskbar?

____________________________
Make your dreams REAL!

23-02-2006 at 06:12 AM
View Profile Send Email to User Show All Posts | Quote Reply
steve_w
Level: Moderator


Registered: 18-04-2003
Posts: 1156
icon Re: taskbar

The toolbar in the "Microsoft Windows Common Controls" may do what you need, you can add buttons and remove them in code, and dock it where you want. Have a look at it if you need any help with it post back.


Steve  

23-02-2006 at 08:51 AM
View Profile Send Email to User Show All Posts | Quote Reply
stickleprojects
Level: Moderator


Registered: 09-09-2002
Posts: 891
icon Re: taskbar

In addition to steve's comments www.vbaccelerator.com has a "rebar" control that does a similar thing.
Kieron


____________________________
Build it better, faster, quicker, easier.. then fix it (non-offical MS mission statement)

24-02-2006 at 12:36 AM
View Profile Send Email to User Show All Posts | Quote Reply
007
Level: Scholar

Registered: 14-08-2003
Posts: 30
icon Re: taskbar

how can i used the tool bar to hold all application opened?

____________________________
Make your dreams REAL!

24-02-2006 at 01:12 AM
View Profile Send Email to User Show All Posts | Quote Reply
steve_w
Level: Moderator


Registered: 18-04-2003
Posts: 1156
icon Re: taskbar

Create a new project and add an imagelist to the form and a toolbar. Add to image icons to the image list and give them key values of image1 and image2.

Then add the code below

Private Sub Form_Load()

    With Toolbar1
    
        .Align = vbAlignBottom
    
        .TextAlignment = tbrTextAlignRight
    
        .ImageList = ImageList1
        
        .Buttons.Add , "Button1", "Button1", , "Image1"
        
        .Buttons.Add , "Button2", "Button2", , "Image2"
    
    End With

End Sub



Steve  

24-02-2006 at 09:02 AM
View Profile Send Email to User Show All Posts | Quote Reply
007
Level: Scholar

Registered: 14-08-2003
Posts: 30
icon Re: taskbar

ty, but stil have the problem, how can i hold the application opened, like 4 ex i opened ms word how can i assign one button of the toolbar to hold the app so that when i click the said button ms word will restore or opened in which the toolbar will realy work as a windows task bar

____________________________
Make your dreams REAL!

27-02-2006 at 01:31 AM
View Profile Send Email to User Show All Posts | Quote Reply
steve_w
Level: Moderator


Registered: 18-04-2003
Posts: 1156
icon Re: taskbar

Are you launching the applications from your vb6 program or are you using the windows to do it.



[Edited by steve_w on 27-02-2006 at 12:51 PM GMT]

27-02-2006 at 12:50 PM
View Profile Send Email to User Show All Posts | Quote Reply
007
Level: Scholar

Registered: 14-08-2003
Posts: 30
icon Re: taskbar

im using vb6 to open the application, they will click an icon then the application will open just like the ie, notepad, yahoo messenger etc.

____________________________
Make your dreams REAL!

28-02-2006 at 12:31 AM
View Profile Send Email to User Show All Posts | Quote Reply
steve_w
Level: Moderator


Registered: 18-04-2003
Posts: 1156
icon Re: taskbar

I've had a bit of play, see if the attached project is something towards what you're after.

Steve  

____________________________
Attached:
Project1.zip 3 KB (Downloads: 11)

28-02-2006 at 09:45 AM
View Profile Send Email to User Show All Posts | Quote Reply
007
Level: Scholar

Registered: 14-08-2003
Posts: 30
icon Re: taskbar

this is it! thank you very much.

god bless you

____________________________
Make your dreams REAL!

01-03-2006 at 01:53 AM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : ActiveX : taskbar Solved Topic
Previous Topic (pdf file use in program)Next Topic (reuse ocx) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder