 




<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Ping SQL server in VB6.</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/ping-sql-server-in-vb6/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/ping-sql-server-in-vb6/</link>
	<description></description>
	<lastBuildDate>Tue, 21 May 2013 23:11:32 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: sonotsky</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/ping-sql-server-in-vb6/#comment-38551</link>
		<dc:creator>sonotsky</dc:creator>
		<pubDate>Mon, 20 Dec 2004 07:56:07 +0000</pubDate>
		<guid isPermaLink="false">#comment-38551</guid>
		<description><![CDATA[It really depends on what you want to do, specifically.  You can follow the above advice, then search within the returned results for your server&#039;s name.

If you were so inclined, you could use the VB6 Winsock control to connect to the host box (assuming the SQL Server is set up to communicate via TCP/IP) on port 1433, IIRC.  See http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon98/html/vbconusingwinsockcontrol.asp for how to use the Winsock control.  Doing something like this would allow you to tell if both server and SQL Server services were up, without having to query any databases just to get status.
]]></description>
		<content:encoded><![CDATA[<p>It really depends on what you want to do, specifically.  You can follow the above advice, then search within the returned results for your server&#8217;s name.</p>
<p>If you were so inclined, you could use the VB6 Winsock control to connect to the host box (assuming the SQL Server is set up to communicate via TCP/IP) on port 1433, IIRC.  See <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon98/html/vbconusingwinsockcontrol.asp" rel="nofollow">http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon98/html/vbconusingwinsockcontrol.asp</a> for how to use the Winsock control.  Doing something like this would allow you to tell if both server and SQL Server services were up, without having to query any databases just to get status.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 3/8 queries in 0.038 seconds using memcached
Object Caching 269/270 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-21 23:27:43 -->