CPAElites is for sale! As a result of the 2 months CEO absence: Please click [here] to read more!


How to get something like that?
2014-01-07, 11:55 PM, (This post was last modified: 2014-01-07, 11:57 PM by hopsa.)
#1
What's the vb code for a textbox when I click on a button "activate" it says:
1. pdf hack activated
(after 5sec it says step 2)
2. word hack activated

and so on
Reply
2014-01-07, 11:58 PM,
#2
It's so simple, use a timer!
Reply
2014-01-08, 12:01 AM, (This post was last modified: 2014-01-08, 12:18 AM by TheVBScripter.)
#3
You need to make 2 buttons:
Let's label them:
PDFHack and WordHack so your visitors know where to click.

Next, double click at the PDFHack button (button1) and type:
Code:
MessageBox.Show("PDFHack Activated")

Now you got the PFDHack button ready.
Double click at the WordHack button (button2) and type:
MessageBox.Show("WordHack Activated")

That's all! Smile easy isn't it?

Edit:_________
Just saw you edited the thread, so here is the solution:

Add: 1 progressbar, 1 timer
Set timer's interval (at the right side bar) from 100 too 1000 (1 second)

Double click at the button and type:
Code:
timer1.start()

Double click at the timer and type:
Code:
progressbar1.increment(+50) <---- because you wanted 2 seconds before it's done
if progressbar1.value = 100 then
messagebox.show("PDFHack Completed!")
end if

Now click at the green |> and run the program.
Click at the button (PDFHack) and you'll see that the progressbar will go half way, pause a moment and go full.
When it's full you'll see your message.

Voila! Done!
I hope this helped Smile
Goodluck mate.
Reply
2014-01-08, 12:12 AM,
#4
no no I make only 1 button.

after i clicked on the butto it says:
1. pdf hack activated
5 second after it showed 1. pdf hack activated it show:
2. word hack activated
Reply
2014-01-08, 12:25 AM,
#5
(2014-01-08, 12:12 AM)hopsa Wrote: no no I make only 1 button.

after i clicked on the butto it says:
1. pdf hack activated
5 second after it showed 1. pdf hack activated it show:
2. word hack activated

So you want 1 button, but after 5 seconds a message will pop-up with: "pdf hack activated" and then another message with word?
or what do you want? because it doesn't really make sense to me.
Reply
2014-01-08, 12:46 AM, (This post was last modified: 2014-01-08, 12:47 AM by WebBrain.)
#6
If ProgressBar1.Value = (desired time) Then Label2.Text = "Word hack activated"
or MsgBox ("Word hack activated")
Reply


Related Threads
Thread Author Replies Views Last Post
  [TUTORIAL]Get free premium fonts from myfonts website Raman saab 41 17,464 2020-06-20, 07:00 PM
Last Post: CPAElites Moderation Bot
  [TUT] GET FREE SHUTTERSTOCK getallstock 1 484 2019-09-17, 01:23 PM
Last Post: CPAElites Moderation Bot
  How to create video like this? jomu 11 2,090 2019-08-06, 12:26 AM
Last Post: Dario
  [Get Free] Ultimate Mega Scripts Collection AIO [ Updated - Riddik ] Riddik 243 51,172 2018-11-03, 06:24 PM
Last Post: mailred
  [Get Free] 3 Shutterstock photo/vector for designer ver1 1 966 2018-07-26, 11:25 AM
Last Post: CharlieHarper





About Us | Contact Us | CPAElites | Advertise | Stats

Copyright © 2013 - 2020 by (company to be announced later)
Temporarily (!) powered by MyBB, fixed (repaired) and enhanced by Charlie Harper (GitHub) aka Charles Francis Harper (Wikipedia)
Return to top
This forum uses Lukasz Tkacz MyBB addons.