Community discussion forum

Create Application Tutorial

This is a comment thread discussing Create Application Tutorial
  • 9 years ago

    This thread is for discussions of Create Application Tutorial.

  • Advertisement

    Simply the fastest line-level profiler for .NET ever

    “The low overhead means it has minimal impact on the execution of my program”
    Mark Everest, Development Team Leader, Renault F1 Team Ltd.

    Try out the new ANTS Profiler 4 for yourself. Download your 14-day trial now

  • 4 years ago

    You have this line of code:


       hComboBox = FindWindowEx(hMsgBox, 0, "ComboBoxEx32", "")


    I tried very similar code (essentially the same), but it did not work:


       lhwnd = FindWindowEx(fhwnd, 0, "ThunderCommandButton", "")


    When I change the empty string to vbNullString, it works:


       lhwnd = FindWindowEx(fhwnd, 0, "ThunderCommandButton", vbNullString)


    I'm assuming you copied and pasted the code into this forum from code that worked.  Any ideas as to why it worked for you and not me using the empty string?  (I'm in VB6 sp5 on XP pro 2002 sp1)

  • 3 years ago

    James code works fine for me, Excellent Job.

Post a reply

Enter your message below

Sign in or Join us (it's free).