hwy do i make a msgbox is it msgbox = ("whatever") somthing liek taht right
Printable View
hwy do i make a msgbox is it msgbox = ("whatever") somthing liek taht right
dim sMsg
sMsg = "help me out here" & vbcrlf
sMsg = sMsg & "Oh yea!"
msgbox smsg,"This is where the title goes",vbyesno
stick that in your form load and see what you get..
it's a start.
you could just use
msgbox msg
that gives you the default
Code:Msgbox "Hi"
Or:
Msgbox "Hi", , "From BoB"
Or:
Msgbox "Hi", 16, "From BoB"
Msgbox "Hi", 32, "From BoB"
Msgbox "Hi", 48, "From BoB"
Msgbox "Hi", 64, "From BoB"
Or:
Look in your VB Help File under Msgbox.
FOR CRYING OUT PEOPLE WHERE DID U LEARN VB?!
msgbox "some crap",,"title"
CAPISH?
Nitrolic2,
Hey man be easy on us, I personally just started teaching myself last friday, from a starter kit book and CD. This stuff is pretty tough, but I have at least finished one program, with the help of you guys, who have been doing this forever. We really do appreciate you guys putting up with our stupid questions, because to us, they seem like major obstacles. It took me almost 2 days to figure out how to add a command to a button that would open the users default e-mail program and show an e-mail window addressed to me. AND IT WAS ONLY ONE LINE OF CODE !!!! AARRGGHH!!!
This stuff ain't easy. But it is really cool.
Dude i was kidding man but hey
I started learning at 12 im 13 now and I STILL HAVE THE WORST PROGRAMMING HABITS!
I NEVER NAME ANYTHING BESIDES DEFAULT NAMES(command1, text1 etc) I never call variebles long, short, intenger etc i just dim something
PS people if you take my tips make sure they are properly put together!
Because i love to work around things!
I knew you were a good guy! :)
anyway away from that rubbish. is there like an adobe acrobat file that I can learn vb 4.0 from cuz i'm out of money till next allounce which is in 5 weeks. I thank you all. oh yea. the 1-line-code guy, just think whide open spaces and take deep breths while your at it. Hey nitrolic2
can you help me find a recource for learning vb 4 coz your my age. i'm 11
i'm almost done with my 1st prog!