Results 1 to 2 of 2

Thread: hWnd

  1. #1

    Thread Starter
    Member
    Join Date
    May 2005
    Posts
    33

    hWnd

    How do I find the hWnd in VB.NET? It was me.hwnd in old VB

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: hWnd

    This question has been asked and answered very recently, and would also be fairly evident form a quick look at the help documentation for the Form class. It is Me.Handle in VB.NET, which is an IntPtr object. You can convert an IntPtr to an Integer if necessary by calling its ToInt32 method.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width