Results 1 to 6 of 6

Thread: detect if a URL exists or not

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #3
    Join Date
    Aug 2009
    Posts
    122
    Thanks
    74
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: detect if a URL exists or not

    Aamer4yu, thanks much for your answer!

    The problem that I see with "url.isValid()" is that it only seems to detect whether the URL syntax is valid. I' like to detect if the webiste exists. I use IE and when I open a website that doesn't exist (for example http://www.wolf222.com) the browser opens a window where it says that the website doesn't exist and isValid() doesn't think anything is wrong.

    Is it possible to detect if a webiste exists?

    Is the only way to do it to open the HTML file of the error message and read it and try to detect if it is a standard error message? If that is the case, how do you open an HTML from the internet so that you could read it like a normal file? I use Qt 4.4.

    Thanks again!
    Last edited by timmu; 23rd August 2009 at 10:44.

Similar Threads

  1. Qextserual can't detect virtual com-port
    By blm in forum Qt Programming
    Replies: 9
    Last Post: 13th December 2012, 07:45
  2. Check if window with certain title exists
    By devil in forum Qt Programming
    Replies: 5
    Last Post: 21st January 2009, 14:42
  3. qmake exists() function
    By roxton in forum Installation and Deployment
    Replies: 1
    Last Post: 28th December 2008, 19:43
  4. fn+f1 keypress detect
    By oguzy in forum Qt Programming
    Replies: 1
    Last Post: 16th November 2008, 16:21
  5. Replies: 1
    Last Post: 9th March 2007, 21:07

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.