Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


finding window problem

Posted on 1999-07-17
Medium Priority
Last Modified: 2010-04-06
Hi Expert,
i got some exe file that i cant find his handle with FindWindow function can you tell me how to find his handle please?

This is the url:
(The File Is "surfree.exe")

Thanks ,
Question by:saar071697
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
LVL 17

Accepted Solution

inthe earned 100 total points
ID: 1389293
keep getting "invalid zip file" error ...

 use a program like winsight32 (comes with d4)or this one:
for getting the class name of the window then you can just do this:

procedure TForm1.Button1Click(Sender: TObject);
   yourhandle : HWND;
   yourhandle := FindWindow('Shell_TrayWnd', nil);
   ShowWindow(yourhandle, SW_HIDE);

just replace shell_traywnd with the class name of your programs.

Regards Barry

if you still have trouble email me the surfree.exe file,not the zip just the exe file.

LVL 10

Expert Comment

ID: 1389294
use WinSight to find out it's class name and then use FindWindow() to find the window... like..

h := FindWindow('THe classname', nil);

btw, I would've tried it myself but i can't seem to be able to download the file you specified above... it downloads about 89% and then stops... would you upload it once agian so I can try?

LVL 10

Expert Comment

ID: 1389295
damn i didnt refresh the window when i tried to post this :)
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.


Author Comment

ID: 1389296
hi viktornet & inthe
i uploaded it again that u can try again.
LVL 10

Expert Comment

ID: 1389297
Still the same thing occurs...
LVL 17

Expert Comment

ID: 1389298
same problem again...
not a valid zip file error...
please send exe file to Legend@Enterprise.Net
LVL 17

Expert Comment

ID: 1389299
nope that zip aint no good :-(
if you want the answer you have to send exe to Legend@Enterprise.Net

dont worry viktor i shall run through virus scanner first before running file ;-)

sarr you need help still ?
im waiting for file..cant help further without it..

what are you doing at the moment to  find the window that is not working.
do you know the class name or not?
what code were you trying before?

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

660 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question