Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. MessageBox in C#

MessageBox in C#

Scheduled Pinned Locked Moved C#
helpcsharpquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    Prakash Halder
    wrote on last edited by
    #1

    Sir, I am Prakash Halder, facing some problem in message box in C#, as follows, I am writing the code for dispalaying message in MSVS2005 as: using System.Windows.Forms; MessageBox.show("Hello World"); error: namespace Windows is not exist in namespace System. how can I solve this problem. Thanking you Prakash Halder

    K M 2 Replies Last reply
    0
    • P Prakash Halder

      Sir, I am Prakash Halder, facing some problem in message box in C#, as follows, I am writing the code for dispalaying message in MSVS2005 as: using System.Windows.Forms; MessageBox.show("Hello World"); error: namespace Windows is not exist in namespace System. how can I solve this problem. Thanking you Prakash Halder

      K Offline
      K Offline
      khosnur
      wrote on last edited by
      #2

      add in the reference system.windows.form. then write this code above: using system.windows.form it will run. Happy Coding

      1 Reply Last reply
      0
      • P Prakash Halder

        Sir, I am Prakash Halder, facing some problem in message box in C#, as follows, I am writing the code for dispalaying message in MSVS2005 as: using System.Windows.Forms; MessageBox.show("Hello World"); error: namespace Windows is not exist in namespace System. how can I solve this problem. Thanking you Prakash Halder

        M Offline
        M Offline
        Md Marufuzzaman
        wrote on last edited by
        #3

        Probably you are missing the reference...

        Thanks Md. Marufuzzaman


        Don't forget to click [Vote] / [Good Answer] on the post(s) that helped you. I will not say I have failed 1000 times; I will say that I have discovered 1000 ways that can cause failure – Thomas Edison.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups