locked
How to use the Msgbox in VB.NET App (XAML) ?

    Question

  • Hello everyone
    I am a curious

    How
    do I get a message "Hello" in VB.NET App (XAML)?

    Can you
    do?

    Here
    as I would like for me to show.


    Best regards


    Roger García

    Friday, March 21, 2014 6:40 PM

Answers

  • this kind of messagebox are not existing in windows store apps.  you have MessageDialog class which can use

    Public Async Sub ShowDialog()
            Dim md As MessageDialog = New MessageDialog("my message")
            Await md.ShowAsync()
        End Sub


    Microsoft Certified Solutions Developer - Windows Store Apps Using C#

    • Marked as answer by Roger06 Saturday, March 22, 2014 1:08 AM
    Friday, March 21, 2014 7:37 PM

All replies

  • this kind of messagebox are not existing in windows store apps.  you have MessageDialog class which can use

    Public Async Sub ShowDialog()
            Dim md As MessageDialog = New MessageDialog("my message")
            Await md.ShowAsync()
        End Sub


    Microsoft Certified Solutions Developer - Windows Store Apps Using C#

    • Marked as answer by Roger06 Saturday, March 22, 2014 1:08 AM
    Friday, March 21, 2014 7:37 PM
  • Thanks very much.

    Roger García

    Saturday, March 22, 2014 1:10 AM