VB.NET HELP Just look
2013-11-23, 02:16 AM,
#1
1. How I can make a custom MsgBox I mean the design for the example to put Ghost Theme on the MsgBox Form .. or how to do?
2. I want when I press a button to apear like that:
For example :
So when I press to apear.
Label1 after that down to apear
Label2 after that down to apear
Label3 after that down to apear
Label4 .... and so on ..


Sorry for my english I hope you understand
Reply
2013-11-23, 02:36 AM, (This post was last modified: 2013-11-23, 02:39 AM by vendyz.)
#2
2.

You mean like this?

If ProgressBar1.Value = 1 Then
Label1.Text = "LOADING0"

If ProgressBar1.Value = 25 Then
Label2.Text = "LOADING 1"

If ProgressBar1.Value = 50 Then
Label3.Text = "LOADING 2"

If ProgressBar1.Value = 75 Then
Label4.Text = "LOADING 3"

If ProgressBar1.Value = 100 Then
Label5.Text = "LOADING 4"

or


double click your button on VB and then add

Label1.Text = "LOADING 0"

This will change label text to LOADING 0
Reply
2013-11-23, 02:38 AM, (This post was last modified: 2013-11-23, 02:39 AM by PeaceBreaker3.)
#3
1. Never dealt with that, I would just google how to install a VB theme.
2. http://www.cpaelites.com/Thread-VB-Help?...3#pid29653 Includes explanation+full code (make sure to either remove the list items and replace them with labels or add a listbox..)

Cheers,
PB3

Nobody exists on purpose, nobody belongs anywhere, everybody's going to die. Come watch TV? | Skype: peacebreaker3 |
Reply
2013-11-23, 02:46 AM,
#4
(2013-11-23, 02:36 AM)vendyz Wrote: 2.

You mean like this?

If ProgressBar1.Value = 1 Then
Label1.Text = "LOADING0"

If ProgressBar1.Value = 25 Then
Label2.Text = "LOADING 1"

If ProgressBar1.Value = 50 Then
Label3.Text = "LOADING 2"

If ProgressBar1.Value = 75 Then
Label4.Text = "LOADING 3"

If ProgressBar1.Value = 100 Then
Label5.Text = "LOADING 4"

or


double click your button on VB and then add

Label1.Text = "LOADING 0"

This will change label text to LOADING 0

Wrong code!

If ProgressBar1.Value = 10 Then
Label1.Show()
ElseIf ProgressBar1.Value = 25 Then
Label2.Show()
ElseIf ProgressBar1.Value = 50 Then
Label3.Show()
End If
Latest Thanks - View all

vendyz(2013-11-23 02:47 AM) 
Reply
2013-11-23, 02:50 AM, (This post was last modified: 2013-11-23, 02:52 AM by dezierr.)
#5
Thank you for answer at question 2 :D

For the question 1 I mean when the progressbar finish to popup
Msg box like this : ( I want to make it custom with theme etc..)
Not default like is this for example :

Notice : I want only with OK button that's it do anyone know?
Reply
2013-11-23, 03:00 AM,
#6
Well, you put a form 2.
If progressbar1.Value = 100% then
Timer1.Stop()
Form2.Show()

in Form 2
Button = ok
image, text = DONE !:)
Reply
2013-11-23, 03:24 AM, (This post was last modified: 2013-11-23, 03:25 AM by dezierr.)
#7
(2013-11-23, 03:00 AM)NEFantasy Wrote: Well, you put a form 2.
If progressbar1.Value = 100% then
Timer1.Stop()
Form2.Show()

in Form 2
Button = ok
image, text = DONE !:)
IT works It appear Form 2 but I don't know how to code "ok" button what is on the form 2
it gives me this error :
Error 1 Value of type 'Microsoft.VisualBasic.MsgBoxStyle' cannot be converted to 'WindowsApplication1.GhostButton'.

My code is like this :
GhostButton1 = vbOKCancel




Any suggestions help?
Reply
2013-11-23, 03:49 AM,
#8
Lol dude when you go on the form2 click on the button and make the text from button1 to "ok".
And if you want to make the ok button to close the form 2 just put this:
I think it is Button1.Close or Me.Close
Latest Thanks - View all

dezierr(2013-11-23 03:54 PM) 
Reply
2013-11-23, 04:48 AM,
#9
For question 2, you need to add the theme code to a new class, then build the project again and the new items will appear in the toolbox. Just drag and drop whatever you want to the new form.
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Aeonsofts VB.NET Theme Manager v2.1 lanzye 32 10,327 2017-10-28, 04:51 PM
Last Post: waiphyoe
  .Net Expert Required insomniac 6 1,612 2016-09-08, 08:38 PM
Last Post: styx
  VB NET FORM APPLICATION QwertySon 12 1,833 2016-04-27, 08:00 PM
Last Post: Harrington
  HttpWebRequest POST Method Visual Basic . net QwertySon 5 1,499 2016-03-17, 02:59 PM
Last Post: QwertySon
  Youtube api v2 to v3 .net evolution74 7 980 2015-06-05, 02:41 AM
Last Post: Jonz





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

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