amakrkr Posted June 22, 2010 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.
Juvigy Posted June 22, 2010 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.
amakrkr Posted June 22, 2010 Author 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
amakrkr Posted June 22, 2010 Author Posted June 22, 2010 (edited) double srry Edited June 22, 2010 by amakrkr
MiserableLife Posted June 22, 2010 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
COD3369 Posted October 30, 2012 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
water Posted October 30, 2012 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 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki
Bert Posted October 30, 2012 Posted October 30, 2012 (facepalm) The Vollatran project My blog: http://www.vollysinterestingshit.com/
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