Now after hard two days of training on vb6
i know something about it but i have on small
question
how to change the caption of messagebox(msgbox)?
well you know that text in the top
Printable View
Now after hard two days of training on vb6
i know something about it but i have on small
question
how to change the caption of messagebox(msgbox)?
well you know that text in the top
The caption is the third argument of a MsgBox!
Call MsgBox("This is a message, vbOKOnly, "Message")
Good luck!
------------------
Joacim Andersson
[email protected]
[email protected]
www.YellowBlazer.com
thanx
-casparas
Hi,
Its a simpler one.
msgbox "Happy Millenium",vbokonly,"Your Title to appear in the msgbox heading"
Thats all.
Regards and happy learning.
Venkat :) :)
Joacim, why do you use Call with a message box?
I think hez calling the msgbox.. :)
*LOL* yes he's calling the msgbox..
If you have function which want more then 1 parameter, you can call it like either
MyFun Par1, Par2, Par3
or
Call MyFun(Par1, Par2, Par3)
If you remove the Call in the 2nd one, you get an error... (instead of call you can also check the return type, for instance, a boolean:
If MyFun(Par1, Par2, Par3) Then
' something
Else
' something else
End if
By the way, I assume your keyboard has a F1 key to... if you press that, you get help :-)