MessageBox

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Sankkee
    New Member
    • Dec 2006
    • 1

    MessageBox

    Hi,
    I am getting an error while writing :-
    MessageBox.Show ("Error in saving OEM Configuration", "FCS", MessageBoxButto ns.OK, MessageBoxIcon. Error)

    It says messageBox not declared....... ..

    Could anyone help me............. ..!!!!!!!!!!!!! !
  • willakawill
    Top Contributor
    • Oct 2006
    • 1646

    #2
    Originally posted by Sankkee
    Hi,
    I am getting an error while writing :-
    MessageBox.Show ("Error in saving OEM Configuration", "FCS", MessageBoxButto ns.OK, MessageBoxIcon. Error)

    It says messageBox not declared....... ..

    Could anyone help me............. ..!!!!!!!!!!!!! !
    Hi. What version of vb are you using?

    Comment

    • rockford333
      New Member
      • Sep 2006
      • 15

      #3
      Originally posted by Sankkee
      Hi,
      I am getting an error while writing :-
      MessageBox.Show ("Error in saving OEM Configuration", "FCS", MessageBoxButto ns.OK, MessageBoxIcon. Error)

      It says messageBox not declared....... ..

      Could anyone help me............. ..!!!!!!!!!!!!! !

      hi,
      Write u r msgbox programme like this it will work
      MsgBox"Error in saving OEM Configuration", "FCS", vbcritical
      Let me know whethere u r problem solved r not.

      Comment

      • Killer42
        Recognized Expert Expert
        • Oct 2006
        • 8429

        #4
        Originally posted by Sankkee
        Hi,
        I am getting an error while writing :-
        MessageBox.Show ("Error in saving OEM Configuration", "FCS", MessageBoxButto ns.OK, MessageBoxIcon. Error)
        It says messageBox not declared....... ..
        Could anyone help me............. ..!!!!!!!!!!!!! !
        I agree with willakawill - we need more info on your circumstances.

        But I will make one point - in the VB versions with which I'm familiar, it's MsgBox, not MessageBox.Show.

        (Oops! I missed rockford's post.)
        Last edited by Killer42; Dec 19 '06, 03:35 AM. Reason: Clarification

        Comment

        • rockford333
          New Member
          • Sep 2006
          • 15

          #5
          Originally posted by Killer42
          I agree with willakawill - we need more info on your circumstances.

          But I will make one point - in the VB versions with which I'm familiar, it's MsgBox, not MessageBox.Show.

          (Oops! I missed rockford's post.)

          Hi,
          Mr.Killer42 wat i have given the suggestion is correct r wrong.

          Comment

          • Killer42
            Recognized Expert Expert
            • Oct 2006
            • 8429

            #6
            Originally posted by rockford333
            Mr.Killer42 wat i have given the suggestion is correct r wrong.
            Um... could you please translate that to English? I don't know whether you're saying I'm wrong, or asking whether your post was right or wrong.

            Either way, I think we gave pretty much the same answer, but you provided more detail.

            Comment

            • willakawill
              Top Contributor
              • Oct 2006
              • 1646

              #7
              Originally posted by Killer42
              Um... could you please translate that to English? I don't know whether you're saying I'm wrong, or asking whether your post was right or wrong.

              Either way, I think we gave pretty much the same answer, but you provided more detail.
              sankkee is using .net syntax. I just needed to check which version of vb is being used so we can find the error.

              Comment

              Working...