-
ok. I am trying to figure out how to replace a progressbar with a picturebox and a picture
for use in a webrowser.
Code:
Private Sub WB_ProgressChange(ByVal Progress As Long, ByVal ProgressMax As Long)
On Error Resume Next
picPB.width = (Progress * ???)'* / - + ???what do I doo!!!
'etc...
VBBrowser v1.4.73
how do i fifure out the formula to make the image size grow at the rate of the progress??
(right now it goes wayyyyyyy of the right side of the screen!!)
Thanks
-
You need to get in touch with YoungBuck. He posted a program weeks ago that did that.
Or, I have a program from HeSaidJoe that uses a pictureBox to show progress and overlays it with a percentage. No picture involved, but I can post it if you want. It might give you some ideas.
-
i think im close...
Picture Box - picPB
Image - imgPB
imgPB.width = Progress * (picPB.width / ProgressMax)
seems to do a good job!
any better ideas please say so...
(the search is turned off jbart...i tried) Thanks!
-
1 Attachment(s)
Oh, I forgot about the search being turned off. You are close. Look at the code in the attached project.