Checking an App

This is a discussion on Checking an App within the Windows Programming forums, part of the Platform Specific Boards category; Sorry about crappy subject but not sure how to describe this. Can anyone tell my how i would check to ...

  1. #1
    Registered User
    Join Date
    Apr 2003
    Posts
    33

    Checking an App

    Sorry about crappy subject but not sure how to describe this.

    Can anyone tell my how i would check to see with the explorer ftp command worked?...i know if you have a wrong username or password it pops up with a login screen and i want to know if it poped up or it let me in? I hope u can understand. ummm for an example: ftp://admin:admin@10.10.10.1 and if the username and password dont match it pops up like a javascript login box or something like that. i just need to know how to check if it opens or not thanks

  2. #2
    mustang benny bennyandthejets's Avatar
    Join Date
    Jul 2002
    Posts
    1,401
    Here's an idea:

    1. Create your project, a Win32 application, and put in a window
    2. Make the window invisible, ShowWindow(hwnd,FALSE);
    3. Create a timer, SetTimer(hwnd,ID_TIMER,5000,NULL);
    4. Handle the code in the WndProc, WM_TIMER
    5. Enumerate the windows to check for the one you want, EnumWindows(EnumProc,NULL);

    Is that clear enough?
    benforbes@optusnet.com.au
    Microsoft Visual Studio .NET 2003 Enterprise Architect
    Windows XP Pro

    Code Tags
    Programming FAQ
    Tutorials

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Profiler Valgrind
    By afflictedd2 in forum C++ Programming
    Replies: 4
    Last Post: 07-18-2008, 10:38 AM
  2. Interpreter.c
    By moussa in forum C Programming
    Replies: 4
    Last Post: 05-28-2008, 06:59 PM
  3. Problems about gcc installation
    By kevin_cat in forum Linux Programming
    Replies: 4
    Last Post: 08-09-2005, 10:05 AM
  4. best program to start
    By gooddevil in forum Networking/Device Communication
    Replies: 4
    Last Post: 05-28-2004, 06:56 PM
  5. pasword app
    By GanglyLamb in forum C Programming
    Replies: 2
    Last Post: 06-07-2003, 11:28 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21