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. VB comments to xml

VB comments to xml

Scheduled Pinned Locked Moved Visual Basic
questioncsharpxml
8 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.
  • K Offline
    K Offline
    KaptinKrunch
    wrote on last edited by
    #1

    What is the standard for commenting in VB. C# uses the summary tags I believe. Can anyone shed some lite?

    C 1 Reply Last reply
    0
    • K KaptinKrunch

      What is the standard for commenting in VB. C# uses the summary tags I believe. Can anyone shed some lite?

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      Doesn't VB.NET also generate XML help from the comments ? Or are you VB6 ? Christian Graus - Microsoft MVP - C++

      K 1 Reply Last reply
      0
      • C Christian Graus

        Doesn't VB.NET also generate XML help from the comments ? Or are you VB6 ? Christian Graus - Microsoft MVP - C++

        K Offline
        K Offline
        KaptinKrunch
        wrote on last edited by
        #3

        I'm using .NET Can you provide a quick example plz.

        C 1 Reply Last reply
        0
        • K KaptinKrunch

          I'm using .NET Can you provide a quick example plz.

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          I don't use VB.NET at all, ever. But in C#, if you type three slashes instead of two, you get the comment block that will convert to XML. Obviously, VB.NET does not use slashes at all. A quick google adds this to the list of things that C# can do that VB.NET cannot, sorry. XML comments will be new in VB.NET 2005. Christian Graus - Microsoft MVP - C++

          K 1 Reply Last reply
          0
          • C Christian Graus

            I don't use VB.NET at all, ever. But in C#, if you type three slashes instead of two, you get the comment block that will convert to XML. Obviously, VB.NET does not use slashes at all. A quick google adds this to the list of things that C# can do that VB.NET cannot, sorry. XML comments will be new in VB.NET 2005. Christian Graus - Microsoft MVP - C++

            K Offline
            K Offline
            KaptinKrunch
            wrote on last edited by
            #5

            Soo I did a google, followed a couple of links, found this one. http://www.devx.com/codemag/Article/28267/0/page/4[^] and then a link sent me to msdn.. haha VB 2003 can have XML documentation very similar to C#, except using 3 apostrophes. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechart/html/vbgeneratingdocs.asp[^]

            C D 2 Replies Last reply
            0
            • K KaptinKrunch

              Soo I did a google, followed a couple of links, found this one. http://www.devx.com/codemag/Article/28267/0/page/4[^] and then a link sent me to msdn.. haha VB 2003 can have XML documentation very similar to C#, except using 3 apostrophes. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechart/html/vbgeneratingdocs.asp[^]

              C Offline
              C Offline
              Christian Graus
              wrote on last edited by
              #6

              OK - it's just not standard. I found an article explaining how 'with VS2005, VB users can do XML comments just like people using C#'. I'm glad you found a solution. Christian Graus - Microsoft MVP - C++

              D 1 Reply Last reply
              0
              • C Christian Graus

                OK - it's just not standard. I found an article explaining how 'with VS2005, VB users can do XML comments just like people using C#'. I'm glad you found a solution. Christian Graus - Microsoft MVP - C++

                D Offline
                D Offline
                Dave Kreskowiak
                wrote on last edited by
                #7

                He used Google?? :omg: There is hope! :-D RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

                1 Reply Last reply
                0
                • K KaptinKrunch

                  Soo I did a google, followed a couple of links, found this one. http://www.devx.com/codemag/Article/28267/0/page/4[^] and then a link sent me to msdn.. haha VB 2003 can have XML documentation very similar to C#, except using 3 apostrophes. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechart/html/vbgeneratingdocs.asp[^]

                  D Offline
                  D Offline
                  Dave Kreskowiak
                  wrote on last edited by
                  #8

                  Yeah, VB.NET 2002 and 2003 don't support doing this. At least without using a third party add-in, like VBCommentor. In 2005, this works just like it does in C#, only using '''. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

                  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