I would like to use a MSGBOX in a a piece of code I am writting in a VB 6 application.
I know how to use the standard msgbox but is there any way to change the wording on the buttons?
For example: I am giving the user an option to print a report in Landscape or Portrait. The report contents are a little different. What I would like to do is issue a msgbox:
Instead of the BUTTONS saying "Yes" "No" , is there any way to have them read "Portrait" "Landscape"?Code:Dim Ans as Single Ans = msgbox("Portrait or Landscape?",vbyesno,"Print Orientation") If Ans = vbyes then.......
Thanks,
Sam




Reply With Quote