CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2002
    Location
    Sisak, Croatia
    Posts
    5

    Question Form handle in VB .NET

    Hi!
    How to get the form handle in VB .NET?

    hWnd = Form1.???

    Thank you.

  2. #2
    Join Date
    Aug 2000
    Location
    NY, USA
    Posts
    632

    Form1.Handle

    Handle Property appears in the list. Did you try it?
    Vlad

  3. #3
    Join Date
    Apr 2002
    Location
    Sisak, Croatia
    Posts
    5

    Exclamation Does not work!

    Thanks for answer.

    Form1.hWnd is Ok for Visual Basic 6, but in Visual Basic .Net there is not this property.

    Penavin

  4. #4
    Join Date
    Jun 2001
    Location
    MO, USA
    Posts
    2,868
    Try FormName.Handle

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

Featured