anyway to test if a site loaded ?

This is a discussion on anyway to test if a site loaded ? within the Windows Programming forums, part of the Platform Specific Boards category; i am launching a website with ShellExecute but what i want todo is check if its loaded in IE , ...

  1. #1
    Registered User
    Join Date
    Nov 2002
    Posts
    319

    anyway to test if a site loaded ?

    i am launching a website with ShellExecute but what i want todo is check if its loaded in IE , is there way way to check if its loaded fully and not time out error page etc , i can get the current website url from the EDIT control from IE , i just cant just if the site loads or not
    thanks

  2. #2
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Posts
    22,920
    I would not rely on that the browser is IE. Lots of users use other browsers as their default, and if you launch IE instead of the default, they would be annoyed.
    That said, I don't know specific ways of checking this, but there are some things for "process communication." Don't know what / which browsers it works for, however.
    Perhaps the best way would be to check if the URL exists yourself?
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Getting HTTP status of a site in C under Linux
    By anti4kd in forum C++ Programming
    Replies: 3
    Last Post: 01-03-2009, 01:56 PM
  2. Strange error?
    By MrLucky in forum C++ Programming
    Replies: 5
    Last Post: 02-04-2006, 03:01 PM
  3. help
    By liang in forum Windows Programming
    Replies: 2
    Last Post: 05-31-2005, 01:04 PM
  4. My Web site.. Please review..
    By vasanth in forum A Brief History of Cprogramming.com
    Replies: 22
    Last Post: 08-11-2003, 09:00 AM

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