viSuaL baSic if thEn/
Moderators: ~xpr'd~, tyteen4a03, Emerald141, Qloof234, jdl
viSuaL baSic if thEn/
hi, my username is 'if then' because i like programming in visual basic.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
PictureBox1.Visible = False
Label1.Text = CStr(Int(Rnd() * 10))
Label2.Text = CStr(Int(Rnd() * 10))
Label3.Text = CStr(Int(Rnd() * 10))
If Label1.Text = 7 Or Label2.Text = 7 Or Label3.Text = 7 Then
PictureBox1.Visible = True
Beep
End If
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
End
End Sub
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Randomize()
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
PictureBox1.Visible = False
Label1.Text = CStr(Int(Rnd() * 10))
Label2.Text = CStr(Int(Rnd() * 10))
Label3.Text = CStr(Int(Rnd() * 10))
If Label1.Text = 7 Or Label2.Text = 7 Or Label3.Text = 7 Then
PictureBox1.Visible = True
Beep
End If
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
End
End Sub
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Randomize()
End Sub
Welcome! You are programming in VB? Good job, I'm trying to learn C++ Builder and TASM...
Your signature is so true, so true. RTW rocks!
Enjoy being at the forum!
Your signature is so true, so true. RTW rocks!
Enjoy being at the forum!
Rest in peace, Kym. I hardly knew ya.
Rest in peace, Marinus. A bright star, you were ahead of me on my own tracks of thought. I miss you.
Rest in peace, Marinus. A bright star, you were ahead of me on my own tracks of thought. I miss you.
VB.Net
What version of VB did you study? .Net? 5? 6? VBA?Mahaloof wrote:Hi If Then,
Welcome to the forum!
I recognize the language, as I studied Visual Basic years ago. It's fascinating, isn't it?..
I call myself Mahaloof on this forum, but actually my real name is Local Variable. Just don't tell anyone, OK?
Have a great time here and enjoy the puzzzzles!
One of my friends is a VB.Net Wizard. He taught me how to use ColorDialogs, FontDialogs, and more, I just can't remember all of them now.
RichTextBox1.BackColor = ColorDialog1.Color
RichTextBox1.ForeColor = ColorDialog2.Color
RichTextBox1.Font = FontDialog1.Font
Well, ahem, it was VB 4. As I said, it's been years ago.
The thing was: this course was actually meant for people who had knowledge and working experience with other programming languages.
I had NONE. But they let me do an intelligence test (Wonderland didn't exist then, or they would have given me that, LOL!) and from the result allowed me in. In the end, in the group that did pass the Microsoft exam, I had the highest score. Probably because I had no bad habits to unlearn...
However, building an application in a working capacity is a whole different story and I had never done that. Couldn't find my way in a commercial company and so this whole episode sort of slipped away from me...
On the bright side, I am now designing levels for Return to Wonderland and yesterday signed a contract with Patrick M. for some $ 28,000,000 and a signed copy of his book "How to create a superb RtW level without annoying the neighbours", which you can order on Mette's website (well, the book, not the money).
Have a GRAND day,
Local "killer sub" Variable
The thing was: this course was actually meant for people who had knowledge and working experience with other programming languages.
I had NONE. But they let me do an intelligence test (Wonderland didn't exist then, or they would have given me that, LOL!) and from the result allowed me in. In the end, in the group that did pass the Microsoft exam, I had the highest score. Probably because I had no bad habits to unlearn...
However, building an application in a working capacity is a whole different story and I had never done that. Couldn't find my way in a commercial company and so this whole episode sort of slipped away from me...
On the bright side, I am now designing levels for Return to Wonderland and yesterday signed a contract with Patrick M. for some $ 28,000,000 and a signed copy of his book "How to create a superb RtW level without annoying the neighbours", which you can order on Mette's website (well, the book, not the money).
Have a GRAND day,
Local "killer sub" Variable
Mahaloof wrote:On the bright side, I am now designing levels for Return to Wonderland and yesterday signed a contract with Patrick M. for some $ 28,000,000 and a signed copy of his book "How to create a superb RtW level without annoying the neighbours", which you can order on Mette's website (well, the book, not the money).
\Mette
Now I use Visual Basixix ( Visual Basic 6 )
Code: Select all
Private Sub Form_Load()
Randomize
End Sub
Private Sub Timer1_Timer()
A = Int(Rnd * 10)
B = Int(Rnd * 10)
C = Int(Rnd * 10)
D = Int(Rnd * 10)
E = Int(Rnd * 10)
F = Int(Rnd * 10)
G = Int(Rnd * 10)
Label1.Caption = A & B & C & D & E & F & G
End Sub
Private Sub Timer2_Timer()
Timer1.Enabled = False
Label2.Visible = True
Timer2.Enabled = False
End Sub
dlcs18 wrote:but everyone can see your name right here.Mahaloof..Well her real name is Local Variable. wrote: Just don't tell anyone, OK?
Even the Guests
Ever heard of sarcasm?dcls18 wrote:Good job for letting it out Mr. MonkeyJohn925 wrote:Hey, my real name is Mr. Monkey! THERE! I SAID IT! @.@
It's cool that you are learning programming, If Then
(✿ ◕ᗜ◕)━♫.*・。゚
Currently making synth music as treehann
I make 2d games too at: treehann.itch.io
My old sig-bar image broke but I'm still thanking Pauline and Janet forever for their art!
Currently making synth music as treehann
I make 2d games too at: treehann.itch.io
My old sig-bar image broke but I'm still thanking Pauline and Janet forever for their art!
Well, then that's great too!
(✿ ◕ᗜ◕)━♫.*・。゚
Currently making synth music as treehann
I make 2d games too at: treehann.itch.io
My old sig-bar image broke but I'm still thanking Pauline and Janet forever for their art!
Currently making synth music as treehann
I make 2d games too at: treehann.itch.io
My old sig-bar image broke but I'm still thanking Pauline and Janet forever for their art!
Hmm... PMT - Pathetic Male Tendencies?
(✿ ◕ᗜ◕)━♫.*・。゚
Currently making synth music as treehann
I make 2d games too at: treehann.itch.io
My old sig-bar image broke but I'm still thanking Pauline and Janet forever for their art!
Currently making synth music as treehann
I make 2d games too at: treehann.itch.io
My old sig-bar image broke but I'm still thanking Pauline and Janet forever for their art!
That movie is very interesting. I got kind of grossed out watching it.
(✿ ◕ᗜ◕)━♫.*・。゚
Currently making synth music as treehann
I make 2d games too at: treehann.itch.io
My old sig-bar image broke but I'm still thanking Pauline and Janet forever for their art!
Currently making synth music as treehann
I make 2d games too at: treehann.itch.io
My old sig-bar image broke but I'm still thanking Pauline and Janet forever for their art!
:barf:Toon Dog wrote:[size=100000000000000000000]WHAT?!?!?!!?!!?!?!?!?!!?!?!?!?!?!?!!?!!?![/size]John925 wrote:YUCK!Toon Dog wrote:YUM!John925 wrote:Macdonalds
Don't eat your computer... or it might eat you!
o_0
'-|-
"/\
This is Guy. Copy Guy into your signature to help him on his way to world domination.
o_0
'-|-
"/\
This is Guy. Copy Guy into your signature to help him on his way to world domination.
It may be bad for you but it tastes GOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOD!
Please email me \/