vb6 translating: form1.hWnd

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • thesayan
    New Member
    • Apr 2007
    • 19

    vb6 translating: form1.hWnd

    i am currently using vb 2005 and i am translating an old program from vb6 that a friend gave to me. my current error is this:

    lWindowHandle = Form1.hWnd

    'hWnd is not a member of App.Form1'


    this is using directX and from what i was told the hWnd should be defined by itself. if anyone knows a vb 2005 equivalent that'd be great.

    my main topic for this thread is this question. What exactly is hWnd and what does it do? mebbe if i learn all of its properties i can find an equivalent.
  • thesayan
    New Member
    • Apr 2007
    • 19

    #2
    am i to assume no one knows? :(

    Comment

    • SammyB
      Recognized Expert Contributor
      • Mar 2007
      • 807

      #3
      Originally posted by thesayan
      i am currently using vb 2005 and i am translating an old program from vb6 that a friend gave to me. my current error is this:

      lWindowHandle = Form1.hWnd

      'hWnd is not a member of App.Form1'


      this is using directX and from what i was told the hWnd should be defined by itself. if anyone knows a vb 2005 equivalent that'd be great.

      my main topic for this thread is this question. What exactly is hWnd and what does it do? mebbe if i learn all of its properties i can find an equivalent.
      Looks like it is me.Handle

      Comment

      Working...