Message Box in VB.NET

Hello All,
How to create a messagbox in VB.NET Windows Application with Yes | YesToAll | No | Cancel options
I wanted to ask the user's permission to overwrite his details. Then a message Box should pop up with these options
Is this possible as it is supported by Mocrosft os. How can this be possinly done in VB.NET

Please Help
Lisha


Answer this question

Message Box in VB.NET

  • gmcnickle

    Hi Lisha,

    I'm sorry i don't have it installed.  I wrote it in VS 2005 now from a old vb5 code.

    Maybe someone will be able to convert it to vs2003 version, i image there wouldn't be much diffculty.

    If not, you can always open the .vb files of the frm_dialog and copy the code into a new form in vs2003, and just add the buttons again.

    Dustin.


  • Flaxen

    Hi Dustin_H,
    Thanks a lot for a speedy reply. Do u have the same project done in VS 2003 as Iam working with VS 2003. If you could  send it to me it would be great!!

    Thanks a lot once Again...
    Warm Regards,
    Lisha

  • synthkid

    Hi,

    I think it cannot be done with a standard messagebox. You must implelment your own messagebox-like form and display it modally. You can also overload the show method to make it more like the real messagebox...

     

    cheers,

    Paul June A. Domag



  • Chrisww2

    Hi Lisha,

    I had this problem a while ago, and made a dialog box form for this.
    I've upgraded it to VS 2005 for you.

    You can download it here

    Hope it helps,

    Dustin.


  • Stephane GOUDEAU

    No probs... Any way thanks a lot!

    Lisha


  • Message Box in VB.NET