visual basic help
2014-02-15, 03:27 AM,
#1
hello guys, i need that my program write out key in textbox1, what I should add? of course after progressbar reach 100%!
Reply
2014-02-15, 03:40 AM,
#2
under the form or button put
Code:
timer1.start()
on a timer put:
Code:
Progressbar1.value +=1
If Progressbar1.value = progressbar1.maximum then
textbox1.text = "text that you wanna add"
timer1.stop()
end if

Save water, shower with your girlfriend.
Reply
2014-02-15, 03:46 AM,
#3
(2014-02-15, 03:27 AM)vikas Wrote: hello guys, i need that my program write out key in textbox1, what I should add? of course after progressbar reach 100%!

Here's the way I do it:
Button code:
Code:
Timer1.Start()
Timer code:
Code:
If ProgressBar1.Value = 100 Then
TextBox1.Text = "random key"
Timer1.Stop()
ProgressBar1.Value = 0
End If
You can also add:
Code:
MsgBox("Content of message",MsgBoxStyle.Information,"Title of message")
After TextBox1.Text to display a message.

"The master has failed more times than the beginner has even tried"

My VIP Shares:
How to stop Chrome from blocking PPI installers
How to make advanced, custom messageboxes that match your theme in VB.

PM ME FOR A 99% OFF DISCOUNT ON HOSTWINDS
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Visual studio/basic miamor 6 245 2017-03-07, 10:37 PM
Last Post: miamor
  Visual Basic Question Daenerys 2 287 2017-02-24, 10:52 PM
Last Post: imonambot
  CPAGrip MediaFire Locker Help! Basic Coding Skills f1rew1re 3 385 2017-02-05, 11:27 PM
Last Post: f1rew1re
  Visual Studio - Windows SmartScreen?! Adept 5 941 2016-03-11, 04:34 PM
Last Post: Adept
  Visual Studio - CPAgrip offers embedded in application Adept 5 740 2016-03-06, 10:31 PM
Last Post: Adept




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

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