String Builder - not appended

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

    String Builder - not appended

    Hi



    I am using a variable of StringBuilder to form a string.

    After appending a string of value like this

    {\rtf1\ansi\ans icpg1252\deff0\ deflang1033{\fo nttbl{\f0\fnil\ fcharset0
    Verdana;}}
    \viewkind4\uc1\ pard\f0\fs17 saesae \b esrdsr esrdsr\i refetwe\b0\i0\p ar
    }



    This value is appended to that string builder.

    Whatever appended after this value, not getting appended to the
    StringBuilder.



    How to solve this problem?



    Thanks and Regards

    Karuppasamy Natarajan




  • Herfried K. Wagner [MVP]

    #2
    Re: String Builder - not appended

    Hello,

    "Karuppasam y" <Karuppasamy.Na tarajan@isoftpl c.com> schrieb:[color=blue]
    > I am using a variable of StringBuilder to form a string.
    >
    > After appending a string of value like this
    >
    > {\rtf1\ansi\ans icpg1252\deff0\ deflang1033{\fo nttbl{\f0\fnil\ fcharset0
    > Verdana;}}
    > \viewkind4\uc1\ pard\f0\fs17 saesae \b esrdsr esrdsr\i[/color]
    refetwe\b0\i0\p ar[color=blue]
    > }
    >
    >
    >
    > This value is appended to that string builder.
    >
    > Whatever appended after this value, not getting appended to the
    > StringBuilder.[/color]

    Please post some code. Do not x-post your questions to as many ngs.

    --
    Herfried K. Wagner
    MVP ยท VB Classic, VB .NET
    Die Website von H. Wagner zu .NET, Visual Basic .NET, Classic Visual Basic, Webentwicklung und mehr.



    Comment

    • William Ryan

      #3
      Re: String Builder - not appended

      It's impossible to tell from your post but I'm guessing that you are using
      RTF here and are probably forgetting a \ or other character somewhere. So
      it may in fact be appending, but if you try to view it anywhere, it won't
      show b/c it's not in proper RTF format.

      How are you determining that it's not appending? By looking at
      StringBuilder.T oString() or by taking the appended value and setting a RTF
      control's rtf property to it?
      "Karuppasam y" <Karuppasamy.Na tarajan@isoftpl c.com> wrote in message
      news:%23mszyndd DHA.3240@TK2MSF TNGP11.phx.gbl. ..[color=blue]
      > Hi
      >
      >
      >
      > I am using a variable of StringBuilder to form a string.
      >
      > After appending a string of value like this
      >
      > {\rtf1\ansi\ans icpg1252\deff0\ deflang1033{\fo nttbl{\f0\fnil\ fcharset0
      > Verdana;}}
      > \viewkind4\uc1\ pard\f0\fs17 saesae \b esrdsr esrdsr\i refetwe\b0\i0\p ar
      > }
      >
      >
      >
      > This value is appended to that string builder.
      >
      > Whatever appended after this value, not getting appended to the
      > StringBuilder.
      >
      >
      >
      > How to solve this problem?
      >
      >
      >
      > Thanks and Regards
      >
      > Karuppasamy Natarajan
      >
      >
      >
      >[/color]


      Comment

      Working...