CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5

Thread: vbyesno msgbox

  1. #1
    Join Date
    Mar 2015
    Posts
    7

    vbyesno msgbox

    Can the button captions be change from yes and no?

    Thanks
    Jim

  2. #2
    Join Date
    Jul 2008
    Location
    WV
    Posts
    5,362

    Re: vbyesno msgbox

    The short answer is no vbyesno tells it to display 2 buttons Yes and No

    Of course there are other options for buttons on a msgbox such as
    vbOKOnly OK button only (default)
    vbOKCancel 1 OK and Cancel buttons
    vbAbortRetryIgnore 2 Abort, Retry, and Ignore buttons
    vbYesNoCancel 3 Yes, No, and Cancel buttons
    vbYesNo 4 Yes and No buttons
    vbRetryCancel

    If you want some other combination then you would need to create your own
    Always use [code][/code] tags when posting code.

  3. #3
    Join Date
    Mar 2015
    Posts
    7

    Re: vbyesno msgbox

    DataMiser
    Thank you for info.
    Can you sent me to a site that explains making a msgbox?

    Thanks
    Jim

  4. #4
    Join Date
    Jul 2008
    Location
    WV
    Posts
    5,362

    Re: vbyesno msgbox

    You can search for samples just as easy as I can so why don't you do that? The process is simple. You create a form and then you put what you want on it and then you call it from your code when you want it to appear.
    Always use [code][/code] tags when posting code.

  5. #5
    Join Date
    Mar 2015
    Posts
    7

    Re: vbyesno msgbox

    Data miser
    Sorry I took your time
    Jim

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured