| | |
FindWindow Problem
Please support our VB.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Sep 2007
Posts: 1
Reputation:
Solved Threads: 0
I am developing a program in Visual Basic .Net 2005 to launch an external program, using the Process Control.
I am trying to use FindWindow to retrieve the handle of a top-level window.
Declare Auto Function FindWindow Lib "USER32.DLL" (ByVal lpClassName As String, ByVal lpWindowName As String) As IntPtr
However, the external program has two windows with the same WindowName, and FindWindow does not always obtain the handle to the right window. The class names of the two windows are different. None of my windows are parent or child windows.
Some insight on how to solve the problem will be very valuable.
Kind Regards
Sunzara
I am trying to use FindWindow to retrieve the handle of a top-level window.
Declare Auto Function FindWindow Lib "USER32.DLL" (ByVal lpClassName As String, ByVal lpWindowName As String) As IntPtr
However, the external program has two windows with the same WindowName, and FindWindow does not always obtain the handle to the right window. The class names of the two windows are different. None of my windows are parent or child windows.
Some insight on how to solve the problem will be very valuable.
Kind Regards
Sunzara
![]() |
Similar Threads
- Problem with Windows Update and WinXP (Web Browsers)
- Installing Windows 98 On VMware. Floppy problem (Windows 95 / 98 / Me)
- FindWindow Problems (on Windows 98/ME) (C++)
- problem with Sendkeys (Visual Basic 4 / 5 / 6)
- Windows XP keeps restarting since a new video card (Windows NT / 2000 / XP)
- Redhat Linux 6.2 - ipop3d problem? (*nix Software)
- Problem with T720 (Cellphones, PDAs and Handheld Devices)
- Connection Problems (Networking Hardware Configuration)
- .htaccess mod_rewrite problem (Linux Servers and Apache)
Other Threads in the VB.NET Forum
- Previous Thread: query insertion in vb.net
- Next Thread: Need a BE project idea in VB.NET(Urgent)
| Thread Tools | Search this Thread |
"crystal .net .net2005 30minutes 2005 2008 access arithmetic array assignment basic binary bing box button buttons center check code combobox component connectionstring convert crystalreport data database databasesearch datagrid datagridview design dissertation dissertations dissertationthesis dosconsolevb.net dropdownlist editvb.net excel file-dialog firewall folder ftp google hardcopy image images isnumericfuntioncall listview login math memory mobile ms mssqlbackend mysql navigate net networking opacity output peertopeervideostreaming picturebox picturebox1 port print printpreview problemwithinstallation project record reports" save savedialog searchbox serial soap sorting string tcp temp text textbox timer toolbox trim updown upload useraccounts usercontrol vb vb.net vb.netcode vb.nettoolboxvisualbasic2008sidebar vb2008 vbnet view visual visualbasic visualbasic.net visualstudio web wpf





