MessageBox help - InfoPath Dev
in

InfoPath Dev

MessageBox help

Last post 03-03-2010 04:43 PM by dc330. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 03-03-2010 04:43 PM

    • dc330
    • Not Ranked
    • Joined on 12-03-2009
    • Posts 23

    MessageBox help

    Hello, I'm trying to build a simple message box with multiple lines and windows sytems icons.

    For some reason, Infopath doesn't recognize VBNEWLINE or MessageBoxIcon.

     Problem 1:
    MessageBox.Show(MessageBoxIcon.Stop & " You cannot save a blank form. Use the search function first.")
    This line works but only displays a number rather than the icon for Stop.

    Problem 2:
    MessageBox.Show("You cannot save a blank form." & vbnewline & "Use the search function first.")
    In the code window, VBNEWLINE is underlined as not declared.

    Can anyone please help?

Page 1 of 1 (1 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.