Bit of a problem with visual basic.
Ok, So I am making an internet browser and whenever I run it, Everything works but the progress bar.It says I have to have some kind of Minimum Progress. Well, I try and make that into a line of code and.. It does that little squiggly blue underline. And says:e.MinimumProgress is not a member of Windows.Forms.Blah.Blah.Blah
Here's the code because you will probably need it.
Private Sub Loading(ByVal sender As Object, ByVal e As Windows.Forms.WebBrowserProgressChangedEventArgs)
ToolStripProgressBar1.Maximum = e.MaximumProgress
ToolStripProgressBar1.Value = e.CurrentProgress
ToolStripProgressBar1.Minimum = e.MinimumProgress
End Sub
If you check the documentation (MSDN) at this address:
http://msdn.microsoft.com/en-us/library/system.windows.forms.webbrowserprogresschangedeventargs_members.aspx
You will notice that the WebBrowserProgressChangedEventArgs structure don't contain a MinimumProgress member, only current and maximum. Of course, in your case it would seems logic to simply set it to 0.
http://msdn.microsoft.com/en-us/library/system.windows.forms.webbrowserprogresschangedeventargs_members.aspx
You will notice that the WebBrowserProgressChangedEventArgs structure don't contain a MinimumProgress member, only current and maximum. Of course, in your case it would seems logic to simply set it to 0.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement