.dll help strings

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Lou

    #1

    .dll help strings

    How do I add help strings to my .dll functions in C#

    -Lou


  • Marco Martin

    #2
    Re: .dll help strings

    you mean like a tool tip or a method summary for developper. if you want a
    method summary for a developper, just type "///" on the line above your
    method declaration and type what you want inside the <sumary> tags

    Marco
    "Lou" <lou.garvin@com cast.net> wrote in message
    news:uxCcaVPwDH A.1196@TK2MSFTN GP12.phx.gbl...[color=blue]
    > How do I add help strings to my .dll functions in C#
    >
    > -Lou
    >
    >[/color]


    Comment

    • Lou

      #3
      Re: .dll help strings

      I want it to show up in the Object browser underneath the name of the
      function?

      "Marco Martin" <marco_martin@s ympatico.ca> wrote in message
      news:rvqCb.1496 8$aF2.1670108@n ews20.bellgloba l.com...[color=blue]
      > you mean like a tool tip or a method summary for developper. if you want a
      > method summary for a developper, just type "///" on the line above your
      > method declaration and type what you want inside the <sumary> tags
      >
      > Marco
      > "Lou" <lou.garvin@com cast.net> wrote in message
      > news:uxCcaVPwDH A.1196@TK2MSFTN GP12.phx.gbl...[color=green]
      > > How do I add help strings to my .dll functions in C#
      > >
      > > -Lou
      > >
      > >[/color]
      >
      >[/color]


      Comment

      • Lou

        #4
        Re: .dll help strings

        The summary shows up in the .NET environment Object Browser. But I have an
        interface that
        I use to wrap it up as a COM componenet. I tried the tags there but the help
        string doesn't show up
        in my VB6 environment when i reference the C# object in my VB6 project???


        "Marco Martin" <marco_martin@s ympatico.ca> wrote in message
        news:rvqCb.1496 8$aF2.1670108@n ews20.bellgloba l.com...[color=blue]
        > you mean like a tool tip or a method summary for developper. if you want a
        > method summary for a developper, just type "///" on the line above your
        > method declaration and type what you want inside the <sumary> tags
        >
        > Marco
        > "Lou" <lou.garvin@com cast.net> wrote in message
        > news:uxCcaVPwDH A.1196@TK2MSFTN GP12.phx.gbl...[color=green]
        > > How do I add help strings to my .dll functions in C#
        > >
        > > -Lou
        > >
        > >[/color]
        >
        >[/color]


        Comment

        • Eric Gunnerson [MS]

          #5
          Re: .dll help strings

          You need to:

          1) Turn on XML comments in the project properties.
          2) Give it the same name as the dll (ie util.xml for util.dll)
          3) Copy the file to the same location as the dll.

          If you do that, it will work. You may not need to do step #3 - you don't
          have to in the C# to C# case; I'm not sure whether you have to in the VB to
          C# case.

          --
          Eric Gunnerson

          Visit the C# product team at http://www.csharp.net
          Eric's blog is at http://blogs.gotdotnet.com/ericgu/

          This posting is provided "AS IS" with no warranties, and confers no rights.
          "Lou" <lou.garvin@com cast.net> wrote in message
          news:uUi$3pPwDH A.2712@TK2MSFTN GP11.phx.gbl...[color=blue]
          > The summary shows up in the .NET environment Object Browser. But I have an
          > interface that
          > I use to wrap it up as a COM componenet. I tried the tags there but the[/color]
          help[color=blue]
          > string doesn't show up
          > in my VB6 environment when i reference the C# object in my VB6 project???
          >
          >
          > "Marco Martin" <marco_martin@s ympatico.ca> wrote in message
          > news:rvqCb.1496 8$aF2.1670108@n ews20.bellgloba l.com...[color=green]
          > > you mean like a tool tip or a method summary for developper. if you want[/color][/color]
          a[color=blue][color=green]
          > > method summary for a developper, just type "///" on the line above your
          > > method declaration and type what you want inside the <sumary> tags
          > >
          > > Marco
          > > "Lou" <lou.garvin@com cast.net> wrote in message
          > > news:uxCcaVPwDH A.1196@TK2MSFTN GP12.phx.gbl...[color=darkred]
          > > > How do I add help strings to my .dll functions in C#
          > > >
          > > > -Lou
          > > >
          > > >[/color]
          > >
          > >[/color]
          >
          >[/color]


          Comment

          • Lou

            #6
            Re: .dll help strings

            That didn't work. the file was created with the same name as the .dll in
            the same
            directory as the .dll but the comments
            still don't show up in th eVB object browser???

            -Lou

            "Eric Gunnerson [MS]" <ericgu@online. microsoft.com> wrote in message
            news:ODEr24QwDH A.2360@TK2MSFTN GP09.phx.gbl...[color=blue]
            > You need to:
            >
            > 1) Turn on XML comments in the project properties.
            > 2) Give it the same name as the dll (ie util.xml for util.dll)
            > 3) Copy the file to the same location as the dll.
            >
            > If you do that, it will work. You may not need to do step #3 - you don't
            > have to in the C# to C# case; I'm not sure whether you have to in the VB[/color]
            to[color=blue]
            > C# case.
            >
            > --
            > Eric Gunnerson
            >
            > Visit the C# product team at http://www.csharp.net
            > Eric's blog is at http://blogs.gotdotnet.com/ericgu/
            >
            > This posting is provided "AS IS" with no warranties, and confers no[/color]
            rights.[color=blue]
            > "Lou" <lou.garvin@com cast.net> wrote in message
            > news:uUi$3pPwDH A.2712@TK2MSFTN GP11.phx.gbl...[color=green]
            > > The summary shows up in the .NET environment Object Browser. But I have[/color][/color]
            an[color=blue][color=green]
            > > interface that
            > > I use to wrap it up as a COM componenet. I tried the tags there but the[/color]
            > help[color=green]
            > > string doesn't show up
            > > in my VB6 environment when i reference the C# object in my VB6[/color][/color]
            project???[color=blue][color=green]
            > >
            > >
            > > "Marco Martin" <marco_martin@s ympatico.ca> wrote in message
            > > news:rvqCb.1496 8$aF2.1670108@n ews20.bellgloba l.com...[color=darkred]
            > > > you mean like a tool tip or a method summary for developper. if you[/color][/color][/color]
            want[color=blue]
            > a[color=green][color=darkred]
            > > > method summary for a developper, just type "///" on the line above[/color][/color][/color]
            your[color=blue][color=green][color=darkred]
            > > > method declaration and type what you want inside the <sumary> tags
            > > >
            > > > Marco
            > > > "Lou" <lou.garvin@com cast.net> wrote in message
            > > > news:uxCcaVPwDH A.1196@TK2MSFTN GP12.phx.gbl...
            > > > > How do I add help strings to my .dll functions in C#
            > > > >
            > > > > -Lou
            > > > >
            > > > >
            > > >
            > > >[/color]
            > >
            > >[/color]
            >
            >[/color]


            Comment

            Working...