Posted by moondude on 07:43:00 02-16-2002
I want to code a vb programme that prints a text in a textboxwhen you click on a button. Can someone help me?
...
Yes i read the f uckin manual and kicked my ass to google and searched but there was nothin and if some jerk says go search then ask... then close the VB section in the board!
_________________
[ This Message was edited by: moondude on 2002-02-16 07:44 ]
Posted by dxprog on 11:15:00 02-16-2002
Simple. To set the text in a textbox the basic code is this:
Text1.Text = "I'm some text"
Or with variables:
String1 = "Some more text"
Text1.Text = String1
Put that in the command buttons Click event and there you go.
Posted by IbYdI on 11:22:00 02-16-2002
it's useless answering him DX,
maybe you should look at the forums to see his other posts.
the next question 'll be "how can i change a caption of a command button when its clicked"
etc. etc. etc.
[addsig]
Posted by dxprog on 12:08:00 02-16-2002
Just trying to help. moondude: I would suggest buying Que's Using VB 6.
[ This Message was edited by: dxprog on 2002-02-16 12:14 ]
Posted by moondude on 12:56:00 02-16-2002
thx maybe your not so scandisked up as the others
edit: corrected his writing so the language filter works
[ This Message was edited by: fsvara on 2002-02-16 13:18 ]
Posted by KaGez on 13:28:00 02-16-2002
hehe.... moondude:
don't you see that you can't do _a thing_? just keep off this site.... you won't get anything in here anymore anyways :/
[addsig]
Posted by fsvara on 14:03:00 02-16-2002
moondude: the problem with this question is that it is _stupid_. look, it's not a newbie question! newbies are generally smart enough to find out how to do this in 20 seconds, with google.
Posted by dxprog on 14:18:00 02-16-2002
scandisked?
Posted by KaGez on 14:51:00 02-16-2002
camon... I don't code in VB usually, but gimme about 10 mins and I could figure it out... and btw, I searched google, and there were _tons_ of results about this, even a exact example, exactly the thing you wanted to do... but yes, sadly there are even guys that can't work with a search engine
[addsig]
Posted by fsvara on 20:05:00 02-16-2002
dxprog: it's our nice offesnive language filter
fsck (unix counterpart to scandisk, "filesystem check") ---> scandisk
and
lollipop ---> well, you s*ck lollipops, right? )
Posted by KaGez on 00:57:00 02-17-2002
hehe, I think we should still add some other words too tho
[addsig]