Thread: anyway to test if a site loaded ?

  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
    Location
    Inside my computer
    Posts
    24,654
    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, 12: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, 08:00 AM