fork download
  1. Private Sub WebBrowser1_ProgressChange(ByVal Progress As Long, ByVal ProgressMax As Long)
  2. On Error Resume Next
  3. If Progress = -1 Then ProgressBar1.Value = 100 'the name of the progress bar is "ProgressBar1".
  4. Label1.Caption = "Done"
  5. ProgressBar1.Visible = False 'This makes the progress bar disappear after the page is loaded.
  6. Image1.Visible = True
  7. If Progress > 0 And ProgressMax > 0 Then
  8. ProgressBar1.Visible = True
  9. Image1.Visible = False
  10. ProgressBar1.Value = Progress * 100 / ProgressMax
  11. Label1.Caption = Int(Progress * 100 / ProgressMax) & "%"
  12. End If
  13. Exit Sub
  14. End Sub
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Visual Basic.Net Compiler version 0.0.0.5914 (Mono 2.4.2 - r)
Copyright (C) 2004-2008 Rolf Bjarne Kvinge. All rights reserved.


/home/AvLh1u/prog.vb (1,13) : Error VBNC30203: Not valid as identifier.
/home/AvLh1u/prog.vb (2,3) : Error VBNC30203: Not valid as identifier.
/home/AvLh1u/prog.vb (3,7) : Error VBNC30203: Not valid as identifier.
/home/AvLh1u/prog.vb (4,15) : Error VBNC30203: Not valid as identifier.
/home/AvLh1u/prog.vb (5,21) : Error VBNC30203: Not valid as identifier.
/home/AvLh1u/prog.vb (6,15) : Error VBNC30203: Not valid as identifier.
/home/AvLh1u/prog.vb (7,7) : Error VBNC30203: Not valid as identifier.
/home/AvLh1u/prog.vb (8,21) : Error VBNC30203: Not valid as identifier.
/home/AvLh1u/prog.vb (9,15) : Error VBNC30203: Not valid as identifier.
/home/AvLh1u/prog.vb (10,21) : Error VBNC30203: Not valid as identifier.
/home/AvLh1u/prog.vb (11,15) : Error VBNC30203: Not valid as identifier.
/home/AvLh1u/prog.vb (12,11) : Error VBNC30203: Not valid as identifier.
/home/AvLh1u/prog.vb (13,9) : Error VBNC30203: Not valid as identifier.
/home/AvLh1u/prog.vb (14,8) : Error VBNC30203: Not valid as identifier.
There were 14 errors and 0 warnings.
Compilation took 00:00:00.6691030
stdout
Standard output is empty