Code-nundrum *SOLVED*

Start your word games and stuff in here for people to take part and have fun with.
20 posts Page 2 of 2
GoodGuy17
Coding God
Coding God
Posts: 1610
Joined: Mon Sep 07, 2009 12:25 am

Re: Code-nundrum
GoodGuy17
What's it supposed to do? Then I can probably figure it out...
User avatar
v9xx
Just Registered
Just Registered
Posts: 2
Joined: Sat Jan 23, 2010 5:21 pm

Re: Code-nundrum
v9xx
I KNOW THE ANSWER!!!
User avatar
Nery
Co-Admin Moderator
Co-Admin Moderator
Posts: 1117
Joined: Mon Sep 07, 2009 8:11 pm

Re: Code-nundrum
Nery
In the Button2_Click, in the second line of code, there's a button4 which shouldn't be there, I looked at your image and there's no Button4 :D

I found it like at the first look, I was looking to the code and then I saw an odd "Button4.Text" and I thought: Well there should be another button. I scrolled up the page and there was no button4 in the image.
User avatar
Miutubevids
VIP-Member
VIP-Member
Posts: 293
Joined: Mon Nov 23, 2009 11:39 am

Re: Code-nundrum
Miutubevids
Is it the button 4 is not declared or somthing
beacuse have button 4 in there

(I PROMISE I DIDNT COPY NEARY)
Last edited by Miutubevids on Sun Jan 24, 2010 6:03 am, edited 3 times in total.
Don't BS the BSer

RePlay V1.0 - Record your Mouse Clicks, Mouse Movments and Keystrokes
AutoClicker v1.0
SnowScreen
Reaction Timer Game V1.0
GoodGuy17
Coding God
Coding God
Posts: 1610
Joined: Mon Sep 07, 2009 12:25 am

Re: Code-nundrum
GoodGuy17
I think I know,
Answer 1:
in the Form_Load event, the lines where you're changing the buttons' text, you must have text in textbox1.text, therefore you must put the last line of code("textbox1.text = etc.") first. Do you get it?
Answer 2:
Change all the + signs to & signs?
User avatar
hungryhounduk
VIP - Site Partner
VIP - Site Partner
Posts: 2870
Joined: Mon Jul 27, 2009 11:58 am

Re: Code-nundrum
hungryhounduk
having looked at the Code there does seem too be a "Button4" but ony 3 Buttons on the form
Image
User avatar
CodenStuff
Site Admin
Site Admin
Posts: 4389
Joined: Tue Aug 04, 2009 1:47 am

Re: Code-nundrum
CodenStuff
Yes Button4 was the error :P ..well done for spotting it cooll;

Took your time lol :lol:
Welcome to CodenStuff.com Learn Code, Love Code. Thank you for being a member of the community.
NoWayIn
VIP - Donator
VIP - Donator
Posts: 444
Joined: Sat Nov 21, 2009 11:16 pm

Re: Code-nundrum
NoWayIn
There's No Button4
Code: Select all
Button2.Text = "Two" + Button3.Text + "Happy" + TextBox1.Text + Button4.Text + TextBox1.Text
User avatar
Usman55
VIP - Site Partner
VIP - Site Partner
Posts: 2821
Joined: Thu Dec 24, 2009 7:52 pm

Re: Code-nundrum *SOLVED*
Usman55
Yeah, NoWayIn is right, there is no Button 4!
Image
Lewis
Coding God
Coding God
Posts: 1564
Joined: Sun Dec 20, 2009 2:12 pm

Re: Code-nundrum *SOLVED*
Lewis
We know that :P
Image
20 posts Page 2 of 2
Return to “Game Room”