Jump to content
  • Advertisement
Sign in to follow this  
Fuzzyhed

Bit of a problem with visual basic.

This topic is 3175 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
Advertisement
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.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!