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. Visual Basic
  4. How to add "" in VB.NET message box

How to add "" in VB.NET message box

Scheduled Pinned Locked Moved Visual Basic
tutorialcsharpquestion
4 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.
  • J Offline
    J Offline
    Jats_4ru
    wrote on last edited by
    #1

    How can i add Double Quotes ("") in VB.NET Message Box, i tried \" but its not working For example: I want to display information as... My name is Jats as My name "Jats"

    Jats

    L G 2 Replies Last reply
    0
    • J Jats_4ru

      How can i add Double Quotes ("") in VB.NET Message Box, i tried \" but its not working For example: I want to display information as... My name is Jats as My name "Jats"

      Jats

      L Offline
      L Offline
      Luc Pattyn
      wrote on last edited by
      #2

      try "" inside your literal string so just a double quote would look like """" :)

      Luc Pattyn [Forum Guidelines] [My Articles]


      This month's tips: - before you ask a question here, search CodeProject, then Google; - the quality and detail of your question reflects on the effectiveness of the help you are likely to get; - use PRE tags to preserve formatting when showing multi-line code snippets.


      1 Reply Last reply
      0
      • J Jats_4ru

        How can i add Double Quotes ("") in VB.NET Message Box, i tried \" but its not working For example: I want to display information as... My name is Jats as My name "Jats"

        Jats

        G Offline
        G Offline
        Guffa
        wrote on last edited by
        #3

        "My name ""Jats"""

        Experience is the sum of all the mistakes you have done.

        J 1 Reply Last reply
        0
        • G Guffa

          "My name ""Jats"""

          Experience is the sum of all the mistakes you have done.

          J Offline
          J Offline
          Jats_4ru
          wrote on last edited by
          #4

          Thankx Guffa, it helped.

          Jats

          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