Code to vb [Connecting to server .. Wait .. Completed. Something like that]

Welcome to CPAElites - the original incentive CPA affiliate marketing forum online, solely based on "Cost Per Action".

Be a part of something great, join today! Learn CPA marketing with CPAElites, we will teach you everything such as the best CPA networks, CPA offers with highest payouts and best conversion rates, unsaturated CPA niches, most effective traffic sources and more.

TheLastCard

Banned
Banned
Banned, please read member profile -> "About"
Joined
June 14, 2013
Messages
69
Reaction score
0
Hello all,

I need a code after they click on the button1 appears in the text something like:
Connecting to server .. Wait .. Completed. Just something more professional.
I want it to be without progress bar.

Thank you for those who know.
 

Riven

Well-known member
VIP Legends CPAElites Classic (1.0)
VIP Elites CPAElites Classic (1.0)
Joined
May 21, 2013
Messages
501
Reaction score
0
If ProgressBar1.Value = 1 Then
Label2.Text = "Connecting to Server1..."
end if

and so on
 

Apex

Well-known member
VIP Legends CPAElites Classic (1.0)
VIP Elites CPAElites Classic (1.0)
Joined
May 11, 2013
Messages
370
Reaction score
0
A simple google search would of helped you.

Make a button click event.
textBox1.Text = "blah blah blah";
 

TheLastCard

Banned
Banned
Banned, please read member profile -> "About"
Joined
June 14, 2013
Messages
69
Reaction score
0
Riven said:
If ProgressBar1.Value = 1 Then
Label2.Text = "Connecting to Server1..."
end if

and so on

do you can write me one without progress bar pls?

thank you very much!
 

Soup

Well-known member
VIP Elites CPAElites Classic (1.0)
Joined
May 6, 2013
Messages
313
Reaction score
0
Label1.text = "Connecting to server ..."
Threading.thread.sleep(150)
Label1.text = "Waiting ..."
Threading.thread.sleep(350)
Label1.text = "Completed!"
Msgbox("Successfully connected to the server.")
 

Riven

Well-known member
VIP Legends CPAElites Classic (1.0)
VIP Elites CPAElites Classic (1.0)
Joined
May 21, 2013
Messages
501
Reaction score
0
TheLastCard said:
Riven said:
If ProgressBar1.Value = 1 Then
Label2.Text = "Connecting to Server1..."
end if

and so on

do you can write me one without progress bar pls?

thank you very much!

Take a look at what Apex wrote. double click button then write label1.text = "Completed"

After they clicked the Button the text on the Label will be changed to whatever you write in the quotations.

Edit: Soups one is probably what you are looking for.
 

TheLastCard

Banned
Banned
Banned, please read member profile -> "About"
Joined
June 14, 2013
Messages
69
Reaction score
0
Soup said:
Label1.text = "Connecting to server ..."
Threading.thread.sleep(150)
Label1.text = "Waiting ..."
Threading.thread.sleep(350)
Label1.text = "Completed!"
Msgbox("Successfully connected to the server.")

it is great just:
It happens so fast I can not see the change and immediately it seems Completed.
How do I do that after you click wait 2 ~ 3 seconds per action.
 

geealigy

Well-known member
VIP Legends CPAElites Classic (1.0)
VIP Elites CPAElites Classic (1.0)
Joined
May 20, 2013
Messages
117
Reaction score
0
put in a higher amout in sleep(xx)
 

TheLastCard

Banned
Banned
Banned, please read member profile -> "About"
Joined
June 14, 2013
Messages
69
Reaction score
0
geealigy said:
put in a higher amout in sleep(xx)

Great,

Does anyone know why it did not seem to me:
"Connecting to server
Waiting "
Wait a few seconds and at the end it seems "Completed".
While waiting for these messages do not appear.
 

Nuutero

Well-known member
VIP Legends CPAElites Classic (1.0)
Joined
June 9, 2013
Messages
571
Reaction score
0
If progressBar1.Value < 30 Then
Label1.text = "Connecting to server ..."
If progressBar1.Value > 30 Then
Label1.text = "Blahblah"
If progressBar1.Value > 60 Then
Label1.text = "Blahblafsfasfasfasfasfafsh"

Then just hide the progressbar. I don't know if that even works but I hope you get the point.
 
Top Bottom