Converting string to long

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

    #16
    Re: Converting string to long

    Is it just me or does anyone else think that Fergus and Herfried are
    in fact the same person. I believe one of them posts a response and
    then immediately replies to himself using a different guise and a
    caustic reply. It has to be this because the alternative is that we
    have two informed people publically showing how childish each can be.

    Both of you, grow up!

    Monty


    "Fergus Cooney" <filter@post.co m> wrote in message news:<#0005GmpD HA.2268@TK2MSFT NGP12.phx.gbl>. ..[color=blue]
    > Stop spamming Herfried.
    >
    > You're a bore.
    >
    > You're a hypocrite.
    >
    > You're a condescending <deleted>.
    >
    > You're a PLS.[/color]

    Comment

    • Armin Zingler

      #17
      Re: Converting string to long

      "Tom Shelton" <tom@mtogden.co m> schrieb[color=blue]
      > On 2003-11-09, John <john@nospam.in fovis.co.uk> wrote:[color=green]
      > > Hi
      > >
      > > How can I convert a string to long value? Most objects have a
      > > toString method but strings don't have a toLong method.
      > >
      > > Thanks
      > >
      > > Regards
      > >
      > >[/color]
      >
      > Well, you got a lot of answers, but nobody posted:
      >
      > Dim l As Long = System.Convert. ToInt64("1234")[/color]

      System.Convert. ToInt64 calls System.Int64.Pa rse (= Long.Parse)

      :-)


      --
      Armin





      Comment

      • Herfried K. Wagner [MVP]

        #18
        OT: Re: Converting string to long

        * "Monty" <mmontreaux@hot mail.com> schrieb:[color=blue]
        > Is it just me or does anyone else think that Fergus and Herfried are
        > in fact the same person.[/color]

        I am not Fergus.

        Remember:

        "
        Dilbert's words of wisdom #18: Never argue with an idiot.
        They drag you down to their level then beat you with experience.
        "

        I was dragged down some weeks ago.

        --
        Herfried K. Wagner
        MVP ยท VB Classic, VB.NET
        <http://www.mvps.org/dotnet>


        Comment

        • Adrian Forbes [ASP MVP]

          #19
          Re: Converting string to long

          > 'Int32' isn't a 'Long'.[color=blue]
          >
          > ;-)))[/color]

          In VB "Long" tends to be a VB6 left-over which is an int32 :P


          Comment

          • Tom Shelton

            #20
            Re: Converting string to long

            On 2003-11-09, Armin Zingler <az.nospam@free net.de> wrote:[color=blue]
            > "Tom Shelton" <tom@mtogden.co m> schrieb[color=green]
            >> On 2003-11-09, John <john@nospam.in fovis.co.uk> wrote:[color=darkred]
            >> > Hi
            >> >
            >> > How can I convert a string to long value? Most objects have a
            >> > toString method but strings don't have a toLong method.
            >> >
            >> > Thanks
            >> >
            >> > Regards
            >> >
            >> >[/color]
            >>
            >> Well, you got a lot of answers, but nobody posted:
            >>
            >> Dim l As Long = System.Convert. ToInt64("1234")[/color]
            >
            > System.Convert. ToInt64 calls System.Int64.Pa rse (= Long.Parse)
            >
            >:-)
            >
            >[/color]

            I know... I just thought I'd throw it out :)
            --
            Tom Shelton
            MVP [Visual Basic]

            Comment

            Working...