VB.net: A pop up window after progress bar completes?
2014-06-05, 04:04 AM,
#1
Hi guys,
As the title, How can i make a pop up appears when the progress bar completes? A pop up says "Done" or anything like that?

Thanks.
Reply
Share This Thread :

2014-06-05, 04:08 AM,
#2
You can do it with this code, if you want you can post code of your progress bar here and I will put this in.

Code:
MsgBox("Done!", MsgBoxStyle.OkOnly Or MsgBoxStyle.Information, "My App Name")
Reply
2014-06-05, 04:09 AM,
#3
Try using the MessageBox.Show or MsgBox functions.

"In Visual Basic, using MsgBox() to create a message box to display to users is still supported, though the new syntax, MessageBox.Show(), as seen above, is preferred."

http://msdn.microsoft.com/en-us/library/....110).aspx
Reply
2014-06-05, 05:16 AM,
#4
Code:
Progressbar1.increment (1)
if progressbar1.value = progressbar1.maximum then
Timer1.Stop ()
Msgbox"type message here"
Reply
2014-06-05, 05:21 AM, (This post was last modified: 2014-06-05, 05:21 AM by CPAManager.)
#5
The code Cody44 posted above will work. It's important to put Timer1.stop() at the first thing, after the value is 100 or maximum. If you don't put Timer1.stop() then it will spam message boxes on your screen.

Code if you are using default progressbar.

Code:
Progressbar1.Increment(+1)
if progressbar1.value = 100 then
timer1.stop()
msgbox("done")
end if

If you are using a theme progressbar, then use this..

Code:
ThemeProgressbar1.value +=1
If ThemeProgressbar1.value = 100 then
timer1.stop()
msgbox("done")
end if
Reply


Related Threads
Thread Author Replies Views Last Post
  Do you have experience with Native Ad, FB Ads and Pop Traffic? HawkEye 3 105 2018-07-13, 02:21 PM
Last Post: chumban
  Principles for Effective Mobile Pop-up Ads [Non Incent CPA] CPAGold 19 1,403 2018-04-15, 09:28 PM
Last Post: zenious
  HELP A NEWBIE. WINDOW AZURE VPS topgallant01 1 268 2017-11-27, 09:32 PM
Last Post: CPATracker
  Pop under auto install Junegreen 6 527 2017-08-11, 10:08 PM
Last Post: KilluminatiX
  Does Popads.net traffic convert with CPAGrip ? Tarek77 23 2,308 2017-06-27, 06:02 PM
Last Post: 8pipes





About Us | Contact Us | CPA Elites | Advertise | Stats

© 2013-2018 CPA Elites Ltd
Enhanced by MyBB and WallBB
Return to top