amakrkr Posted June 22, 2010 Share Posted June 22, 2010 Hello all, i have the following question is there a way to determine if website is up and running without actually pinging it? I have tried searching the forum and help but i dont even know what key word to use... As i said i cant ping website ... "Ping time out" Any ideas are most welcome! Thanks for reading. Link to comment Share on other sites More sharing options...
Juvigy Posted June 22, 2010 Share Posted June 22, 2010 If you cant ping it there are 2 possibilities: 1.It is down 2.Something is blocking your ping requests. In most of the cases (90%) it is safe to conclude that site is down. Link to comment Share on other sites More sharing options...
amakrkr Posted June 22, 2010 Author Share Posted June 22, 2010 (edited) If you cant ping it there are 2 possibilities:1.It is down2.Something is blocking your ping requests.In most of the cases (90%) it is safe to conclude that site is down.yea probably its my firewall or something then.I will look into it.Thx for your replay! Edited June 22, 2010 by amakrkr Link to comment Share on other sites More sharing options...
amakrkr Posted June 22, 2010 Author Share Posted June 22, 2010 (edited) double srry Edited June 22, 2010 by amakrkr Link to comment Share on other sites More sharing options...
MiserableLife Posted June 22, 2010 Share Posted June 22, 2010 (edited) maybe you can try using InetGet(download the web page) to check if the site is on. InetGet('http://google.com',@TempDir&'\index.htm') If @error Then Msgbox(0,'','Google is down!') Else MsgBox(0,'','Google is working!') EndIf Edited June 22, 2010 by MiserableLife Link to comment Share on other sites More sharing options...
COD3369 Posted October 30, 2012 Share Posted October 30, 2012 (edited) TRY THIS... Ping ( "www.google.com", 250) If @error Then MsgBox(4096, "Status", "Your Web Site is DOWN" ) Else MsgBox(4096, "Status", "Your Web Site is UP" ) EndIf Edited October 30, 2012 by verma123 Link to comment Share on other sites More sharing options...
water Posted October 30, 2012 Share Posted October 30, 2012 Hi verma123, this thread has been quiet for more than two years. Do you think the problem hasn't been solved by now? Btw: your "solution" doesn't do what the OP needed. My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
COD3369 Posted October 30, 2012 Share Posted October 30, 2012 :-/ Link to comment Share on other sites More sharing options...
Bert Posted October 30, 2012 Share Posted October 30, 2012 (facepalm) The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now