C# to vb.net

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?QXJuZQ==?=

    #1

    C# to vb.net

    I need to translate the line below to vb.net
    SendMessage(thi s.Handle, (uint)WM_HSCROL L, (System.UIntPtr )param,
    (System.IntPtr) 0);
    Now do I do the third parameter?

    --


    Arne Garvander
    Certified Geek
    Professional Data Dude
  • =?Utf-8?B?QWxCcnVBbg==?=

    #2
    RE: C# to vb.net

    SendMessage(Me. Handle, CType(WM_HSCROL L,UInteger),
    CType(param,Sys tem.UIntPtr), CType(0,System. IntPtr))


    "Arne" wrote:
    I need to translate the line below to vb.net
    SendMessage(thi s.Handle, (uint)WM_HSCROL L, (System.UIntPtr )param,
    (System.IntPtr) 0);
    Now do I do the third parameter?
    >
    --
    >
    >
    Arne Garvander
    Certified Geek
    Professional Data Dude

    Comment

    • Herfried K. Wagner [MVP]

      #3
      Re: C# to vb.net

      "AlBruAn" <albruan@hotmai l.com.(donotspa m)schrieb:
      CType(0,System. IntPtr))
      ='IntPtr.Zero'.

      --
      M S Herfried K. Wagner
      M V P <URL:http://dotnet.mvps.org/>
      V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

      Comment

      Working...