{"id":2055,"date":"2016-03-10T14:57:20","date_gmt":"2016-03-10T14:57:20","guid":{"rendered":"https:\/\/codoid.com\/checking-remote-computer-availability\/"},"modified":"2024-03-28T06:45:42","modified_gmt":"2024-03-28T06:45:42","slug":"checking-remote-computer-availability","status":"publish","type":"post","link":"https:\/\/codoid.com\/uncategorized\/checking-remote-computer-availability\/","title":{"rendered":"Checking Remote Computer Availability"},"content":{"rendered":"<p>There might be a case where we have to connect to remote<br \/>\ncomputer. In such case, before connecting to the remote computer, How to confirm remote computer is available or not?<\/p>\n<h3>Code<\/h3>\n<div class=\"editor editor-dark\">\n<div class=\"editor-top\">\n<ul class=\"editor-controls\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<\/div>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">Dim oNetwork\r\n\r\n'Creating Visual Basic Network object\r\nSet oNetwork=DotNetFactory.CreateInstance(&quot;Microsoft.VisualBasic.Devices.Network&quot;\r\n,&quot;Microsoft.VisualBasic&quot;)\r\n\r\n'Ping method returns True, if remote computer is available.\r\nIf oNetwork.Ping(&quot;192.01.01.01&quot;) Then\r\nMsgbox &quot;Available&quot;\r\nElse\r\nMsgbox &quot;Not Available&quot;\r\nEnd If\r\n\r\nSet oNetwork=Nothing\r\n  <\/pre>\n<\/div>\n<p><\/p>\n<h3>Synopsis<\/h3>\n<p>We can also ping with URL or computer name.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There might be a case where we have to connect to remote computer. In such case, before connecting to the remote computer, How to confirm remote computer is available or not? Code Synopsis We can also ping with URL or computer name.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[1],"tags":[43,44,45,46],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v20.3 (Yoast SEO v20.3) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Checking Remote Computer Availability - Codoid<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Checking Remote Computer Availability\" \/>\n<meta property=\"og:description\" content=\"There might be a case where we have to connect to remote computer. In such case, before connecting to the remote computer, How to confirm remote computer is available or not? Code Synopsis We can also ping with URL or computer name.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/codoid.com\/learn\/uncategorized\/checking-remote-computer-availability\/\" \/>\n<meta property=\"og:site_name\" content=\"Codoid\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/codoid.softwaretestingcompany\" \/>\n<meta property=\"article:published_time\" content=\"2016-03-10T14:57:20+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-28T06:45:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/codoid.com\/wp-content\/uploads\/2021\/10\/codoid-logo-icons-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"600\" \/>\n\t<meta property=\"og:image:height\" content=\"600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@codoid\" \/>\n<meta name=\"twitter:site\" content=\"@codoid\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Checking Remote Computer Availability - Codoid","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_US","og_type":"article","og_title":"Checking Remote Computer Availability","og_description":"There might be a case where we have to connect to remote computer. In such case, before connecting to the remote computer, How to confirm remote computer is available or not? Code Synopsis We can also ping with URL or computer name.","og_url":"https:\/\/codoid.com\/learn\/uncategorized\/checking-remote-computer-availability\/","og_site_name":"Codoid","article_publisher":"https:\/\/www.facebook.com\/codoid.softwaretestingcompany","article_published_time":"2016-03-10T14:57:20+00:00","article_modified_time":"2024-03-28T06:45:42+00:00","og_image":[{"width":600,"height":600,"url":"https:\/\/codoid.com\/wp-content\/uploads\/2021\/10\/codoid-logo-icons-1.png","type":"image\/png"}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@codoid","twitter_site":"@codoid","twitter_misc":{"Written by":"admin","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/codoid.com\/learn\/uncategorized\/checking-remote-computer-availability\/#article","isPartOf":{"@id":"https:\/\/codoid.com\/learn\/uncategorized\/checking-remote-computer-availability\/"},"author":{"name":"admin","@id":"https:\/\/codoid.com\/#\/schema\/person\/360ee1d38151acb7c746787fbfa8e586"},"headline":"Checking Remote Computer Availability","datePublished":"2016-03-10T14:57:20+00:00","dateModified":"2024-03-28T06:45:42+00:00","mainEntityOfPage":{"@id":"https:\/\/codoid.com\/learn\/uncategorized\/checking-remote-computer-availability\/"},"wordCount":104,"commentCount":0,"publisher":{"@id":"https:\/\/codoid.com\/#organization"},"keywords":["Ping QTP machine","QTP Ping","QTP Pinging Remote machine","QTP Remote Machine"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/codoid.com\/learn\/uncategorized\/checking-remote-computer-availability\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/codoid.com\/learn\/uncategorized\/checking-remote-computer-availability\/","url":"https:\/\/codoid.com\/learn\/uncategorized\/checking-remote-computer-availability\/","name":"Checking Remote Computer Availability - Codoid","isPartOf":{"@id":"https:\/\/codoid.com\/#website"},"datePublished":"2016-03-10T14:57:20+00:00","dateModified":"2024-03-28T06:45:42+00:00","breadcrumb":{"@id":"https:\/\/codoid.com\/learn\/uncategorized\/checking-remote-computer-availability\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/codoid.com\/learn\/uncategorized\/checking-remote-computer-availability\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/codoid.com\/learn\/uncategorized\/checking-remote-computer-availability\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/codoid.com\/"},{"@type":"ListItem","position":2,"name":"Checking Remote Computer Availability"}]},{"@type":"WebSite","@id":"https:\/\/codoid.com\/#website","url":"https:\/\/codoid.com\/","name":"Codoid","description":"","publisher":{"@id":"https:\/\/codoid.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/codoid.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/codoid.com\/#organization","name":"Codoid - Software Testing Company","url":"https:\/\/codoid.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codoid.com\/#\/schema\/logo\/image\/","url":"https:\/\/codoid.com\/wp-content\/uploads\/2020\/09\/Codoid_Software_Testing_Company_Logo.png","contentUrl":"https:\/\/codoid.com\/wp-content\/uploads\/2020\/09\/Codoid_Software_Testing_Company_Logo.png","width":500,"height":500,"caption":"Codoid - Software Testing Company"},"image":{"@id":"https:\/\/codoid.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/codoid.softwaretestingcompany","https:\/\/twitter.com\/codoid","https:\/\/www.instagram.com\/codoid.softwaretestingcompany\/","https:\/\/www.linkedin.com\/company\/codoid-qacompany","https:\/\/www.pinterest.com\/codoid9282\/codoid-software-testing-company\/","https:\/\/www.youtube.com\/channel\/UCCmOTDQgcf4W8oo22mBMUYA"]},{"@type":"Person","@id":"https:\/\/codoid.com\/#\/schema\/person\/360ee1d38151acb7c746787fbfa8e586","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codoid.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/4d33f9036c9d60684b9478f738779823?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4d33f9036c9d60684b9478f738779823?s=96&d=mm&r=g","caption":"admin"},"sameAs":["https:\/\/codoid.com"]}]}},"_links":{"self":[{"href":"https:\/\/codoid.com\/wp-json\/wp\/v2\/posts\/2055"}],"collection":[{"href":"https:\/\/codoid.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/codoid.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/codoid.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/codoid.com\/wp-json\/wp\/v2\/comments?post=2055"}],"version-history":[{"count":3,"href":"https:\/\/codoid.com\/wp-json\/wp\/v2\/posts\/2055\/revisions"}],"predecessor-version":[{"id":32431,"href":"https:\/\/codoid.com\/wp-json\/wp\/v2\/posts\/2055\/revisions\/32431"}],"wp:attachment":[{"href":"https:\/\/codoid.com\/wp-json\/wp\/v2\/media?parent=2055"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codoid.com\/wp-json\/wp\/v2\/categories?post=2055"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codoid.com\/wp-json\/wp\/v2\/tags?post=2055"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}