text in a progress bar(for webbrowsers)

Heres your chance to share your own tutorials with the community. Just post them on here. If your lucky they may even be posted on the main site.
7 posts Page 1 of 1
Contributors
User avatar
Bogoh67
VIP - Site Partner
VIP - Site Partner
Posts: 656
Joined: Sun Apr 18, 2010 8:20 pm

well to put the status text into a textbar go to your code and write this
Code: Select all
  Private Sub change_status()
        ProgressBar1.Refresh()
        Dim text As System.Drawing.Font = My.Settings.font
        ProgressBar1.CreateGraphics.DrawString(WebBrowser1.StatusText, Font, Brushes.Black, 10, 10)
    End Sub
then make a timer
enabled= true
interval = 1

then double click the timer icon and put this
Code: Select all
change_status()
User avatar
Smiley
VIP - Donator
VIP - Donator
Posts: 269
Joined: Sat Dec 19, 2009 3:39 pm

Do you mind if i use this in my Web Browser?
User avatar
Bogoh67
VIP - Site Partner
VIP - Site Partner
Posts: 656
Joined: Sun Apr 18, 2010 8:20 pm

of course not that is what it is for
User avatar
zachman61
VIP - Donator
VIP - Donator
Posts: 1892
Joined: Wed Dec 16, 2009 9:56 pm

What does this do?
Nailing my feet to the floor is easier than using my own muscles to balance, but you don't see me doing that :)
User avatar
Bogoh67
VIP - Site Partner
VIP - Site Partner
Posts: 656
Joined: Sun Apr 18, 2010 8:20 pm

it puts the webbrowsers status in the progressbar
User avatar
Bogoh67
VIP - Site Partner
VIP - Site Partner
Posts: 656
Joined: Sun Apr 18, 2010 8:20 pm

btw admin can you move this to the snippet section , since its not a full tutorial
User avatar
Usman55
VIP - Site Partner
VIP - Site Partner
Posts: 2821
Joined: Thu Dec 24, 2009 7:52 pm

You should send a PM instead.
Image
7 posts Page 1 of 1
Return to “Tutorials”