|i'm trying to display progress bar for file conversion of what percentage is completed, but the progress bar wouldn't display for vb.net but works fine for vb6. i'm updating our project from vb6 to vb.net, and i have problem displaying progress bar here is some code snippet.
<ProgressBar1 = New System.Windows.Forms.ProgressBar
ProgressBar1.Minimum = 0
ProgressBar1.Maximum = ItemsCount * 2
ProgressBar1.Value = 0
percentDone.Text = "0% Done"
CurrentComponent.Text = ""
percentDone.Visible = True
CurrentComponent.Visible = True
ProgressBar1.Visible = True
ProgressBar1.Value = ProgressBar1.Value + 1
percentDone.Text = Str(Int(ProgressBar1.Value *100_ ProgressBar1.Maximum)) & "% Done"
any help will be appreciated