Newline Dialog

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

    #1

    Newline Dialog

    Hi,

    I was wondering what is the constant for newline so that I can add
    newlines in messageBoxs ?
    Vb has vbcCrLf what is it for C#?

    Thanks,

    JJ


  • JJ

    #2
    Re: Newline Dialog

    Thanks Alex !

    JJ

    "Alex Bendig" <a.bendig@ieee. org> wrote in message
    news:bf4v43$pv9 $1@newsserver.r rzn.uni-hannover.de...[color=blue]
    > Newline: "\n"
    > Here's some more:
    >[/color]
    http://msdn.microsoft.com/library/de...us/vccelng/htm
    /reftable_3.asp[color=blue]
    >
    >
    > "JJ" <jmraz@bellatla ntic.net> wrote in message
    > news:uJETTOATDH A.2036@TK2MSFTN GP10.phx.gbl...[color=green]
    > > Hi,
    > >
    > > I was wondering what is the constant for newline so that I can add
    > > newlines in messageBoxs ?
    > > Vb has vbcCrLf what is it for C#?
    > >
    > > Thanks,
    > >
    > > JJ
    > >
    > >[/color]
    >
    >[/color]


    Comment

    • Jop Pascual

      #3
      Re: Newline Dialog

      Environment.New Line.

      "Ignacio Domínguez" <ignacioxd@hotm ail.com> wrote in message
      news:%23tPT2ZAT DHA.2480@tk2msf tngp13.phx.gbl. ..[color=blue]
      > The exact equivalent for vbCrLf in C# is "\r\n". \r is carriage return and
      > \n is line feed
      >
      >
      > "JJ" <jmraz@bellatla ntic.net> wrote in message
      > news:uJETTOATDH A.2036@TK2MSFTN GP10.phx.gbl...[color=green]
      > > Hi,
      > >
      > > I was wondering what is the constant for newline so that I can add
      > > newlines in messageBoxs ?
      > > Vb has vbcCrLf what is it for C#?
      > >
      > > Thanks,
      > >
      > > JJ
      > >
      > >[/color]
      >
      >[/color]


      Comment

      • JJ

        #4
        Re: Newline Dialog

        This Environment.New line seems like alot of typing for crlf when \r\n is
        alot quicker.
        And where did they come up with the name Environment ? It seems so ambiguos.

        JJ


        "Jop Pascual" <joppascual at operamail.com> wrote in message
        news:OrIptiDTDH A.2280@TK2MSFTN GP12.phx.gbl...[color=blue]
        > Environment.New Line.
        >
        > "Ignacio Domínguez" <ignacioxd@hotm ail.com> wrote in message
        > news:%23tPT2ZAT DHA.2480@tk2msf tngp13.phx.gbl. ..[color=green]
        > > The exact equivalent for vbCrLf in C# is "\r\n". \r is carriage return[/color][/color]
        and[color=blue][color=green]
        > > \n is line feed
        > >
        > >
        > > "JJ" <jmraz@bellatla ntic.net> wrote in message
        > > news:uJETTOATDH A.2036@TK2MSFTN GP10.phx.gbl...[color=darkred]
        > > > Hi,
        > > >
        > > > I was wondering what is the constant for newline so that I can add
        > > > newlines in messageBoxs ?
        > > > Vb has vbcCrLf what is it for C#?
        > > >
        > > > Thanks,
        > > >
        > > > JJ
        > > >
        > > >[/color]
        > >
        > >[/color]
        >
        >[/color]


        Comment

        Working...