Results 1 to 5 of 5

Thread: Yes to All msgbox

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2000
    Posts
    14
    Does anyone knows how to make a msgbox with Yes, Yes to All, and No buttons? I could always make a custom form, but was just wondering if there is something internal to VB that I don't know about. Also, if I do have to make a custom form, how do I get the vbCritical or vbExclamation icons and imitate the sounds of the normal msgbox function? Thanks in advance for any help.

  2. #2
    _______ HeSaidJoe's Avatar
    Join Date
    Jun 1999
    Location
    Canada
    Posts
    3,946

    <?>

    As far as I know it's a custom jobbie as there is nothing that I know of for Yes to all

    When I do custom crap I use an Icon extractor and then I use an image control to display the icon or picture I use.
    For sound just do a search on your *.wav files and you should find something...remember it's different on all PC's as it depends on the default sound settings..ie..Jungle, Windows Default, etc.
    You can get an extractor here..Freeware

    http://www.ozemail.com.au/~jaesenj/s.../software.html

    "A myth is not the succession of individual images,
    but an integerated meaningful entity,
    reflecting a distinct aspect of the real world."

    ___ Adolf Jensen

  3. #3
    Frenzied Member
    Join Date
    Jun 2000
    Location
    East Providence, RI
    Posts
    1,715
    um... can't you just make it OK

    Code:
    MsgBox "Hello" , VbOkayOnly, "Hi"
    
    or
    
    MsgBox "Hello" , 0, "Hi"
    
    'it does the same thing
    and if you were to make your custom form, just take a regular message box with the vbExclimation thing and click the PRINT SCREEN button on your keyboard. then open paint and make it the perfect size, then save the file.

    also I beilve that there is a file somewhere that has that image but I'm not sure


    hope that helps
    NXSupport - Your one-stop source for computer help

  4. #4

    Thread Starter
    New Member
    Join Date
    Jul 2000
    Posts
    14
    Wow, that was fast. Thanks for the responses. Now you've got me wanting to go deeper with the sound thing. What I guess the best thing to do would be to play whatever sound they have set as default for a vbCritical msgbox or something. Anyway, I'll save that for another time... For the OK only thing - I'm doing something like when you delete a bunch of files and Windows warns you if you delete an .exe. You can say yes to delete that specific one only and then be warned again at the next one, or you can say to delete all .exe files that happen to be in the list of files you're deleting. So you really need Yes and Yes to all buttons... But thanks for the print screen thing.

  5. #5
    Guest
    If you do make a custom form, use vbModal to keep the form ontop and disable all other forms until the Msgfrm is unloaded.

    Code:
    Msgfrm.Show vbModal

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