<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>nothing</title>
	<atom:link href="http://squaretoo.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://squaretoo.com</link>
	<description>without you i am</description>
	<lastBuildDate>Mon, 14 Nov 2011 03:56:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Skyrim!!!</title>
		<link>http://squaretoo.com/2011/11/skyrim/</link>
		<comments>http://squaretoo.com/2011/11/skyrim/#comments</comments>
		<pubDate>Mon, 14 Nov 2011 03:56:48 +0000</pubDate>
		<dc:creator>Hayami</dc:creator>
				<category><![CDATA[Random]]></category>

		<guid isPermaLink="false">http://squaretoo.com/?p=56</guid>
		<description><![CDATA[that is all.]]></description>
			<content:encoded><![CDATA[<p>that is all.</p>
]]></content:encoded>
			<wfw:commentRss>http://squaretoo.com/2011/11/skyrim/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>blah blah blah ponies</title>
		<link>http://squaretoo.com/2011/10/blah-blah-blah-ponies/</link>
		<comments>http://squaretoo.com/2011/10/blah-blah-blah-ponies/#comments</comments>
		<pubDate>Wed, 05 Oct 2011 18:46:02 +0000</pubDate>
		<dc:creator>Hayami</dc:creator>
				<category><![CDATA[Random]]></category>

		<guid isPermaLink="false">http://squaretoo.com/?p=45</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><a href="http://squaretoo.com/wp-content/uploads/2011/10/rainbow_dash_derping_by_moongazeponies-d3dmg7l.png"><img class="alignnone size-medium wp-image-46" title="rainbow_dash_derping_by_moongazeponies-d3dmg7l" src="http://squaretoo.com/wp-content/uploads/2011/10/rainbow_dash_derping_by_moongazeponies-d3dmg7l-300x300.png" alt="" width="300" height="300" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://squaretoo.com/2011/10/blah-blah-blah-ponies/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Supercard SD and Last Window</title>
		<link>http://squaretoo.com/2011/07/supercard-sd-and-last-window/</link>
		<comments>http://squaretoo.com/2011/07/supercard-sd-and-last-window/#comments</comments>
		<pubDate>Mon, 11 Jul 2011 01:50:57 +0000</pubDate>
		<dc:creator>Hayami</dc:creator>
				<category><![CDATA[Csharp]]></category>
		<category><![CDATA[nds]]></category>

		<guid isPermaLink="false">http://squaretoo.com/?p=25</guid>
		<description><![CDATA[Found out the sequel to Hotel Dusk was released in English recently and wanted to try it. If anyone still uses Supercard SD and tries this game out with the patch it still freezes after you open the door once &#8230; <a href="http://squaretoo.com/2011/07/supercard-sd-and-last-window/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Found out the sequel to Hotel Dusk was released in English recently and wanted to try it.  If anyone still uses Supercard SD and tries this game out with the patch it still freezes after you open the door once returning home.  </p>
<p>Just found that if you set RealCardPatchMode to Mode3 it fixes this issue and I was able to play thru the beginning scene and talk to Tony! Yay.</p>
<p>Thanks claudee013.<br />
<a href="http://forum.supercard.sc/thread-7864-1-1.html">http://forum.supercard.sc/thread-7864-1-1.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://squaretoo.com/2011/07/supercard-sd-and-last-window/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>using &#8216;this&#8217; keyword</title>
		<link>http://squaretoo.com/2011/07/using-this-keyword/</link>
		<comments>http://squaretoo.com/2011/07/using-this-keyword/#comments</comments>
		<pubDate>Thu, 07 Jul 2011 19:42:38 +0000</pubDate>
		<dc:creator>Hayami</dc:creator>
				<category><![CDATA[Csharp]]></category>

		<guid isPermaLink="false">http://squaretoo.com/?p=15</guid>
		<description><![CDATA[Any time an object uses the this keyword, it&#8217;s referring to itself.  It&#8217;s a reference that points to the object that calls it. huh. public void TellMe(string message, Elephant whoSaidIt) { MessageBox.Show(whoSaidIt.Name + " says: " + message) ; } &#8230; <a href="http://squaretoo.com/2011/07/using-this-keyword/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Any time an object uses the <em>this</em> keyword, it&#8217;s referring to itself.  It&#8217;s a reference that points to the object that calls it. huh.</p>
<pre class="brush: csharp">public void TellMe(string message, Elephant whoSaidIt)
{
    MessageBox.Show(whoSaidIt.Name + " says: " + message) ;
}

public void SpeakTo(Elephant whoToTalkTo, string message)
{
    whoToTalkTo.TellMe(message, this);
}
/*
Lloyd.SpeakTo(Lucinda, "Hello");
runs
 whoToTalkTo.TellMe(message, this); //this references Lloyd as the Elephant whoSaidIt object!!
which becomes
 Lucinda.TellMe(message, [a reference to Lloyd]); //this is replaced with a reference to Lloyd's object */</pre>
<p>After writing this out and like an hour I finally get it.  The resulting output will be &#8220;Lloyd says: Hello&#8221; because <em>this</em> is referencing the object that executed the method (in this case it was Lloyd executing the SpeakTo() method).  something something, may add more practical insight later.</p>
<p>On a side note I now use <a href="http://www.megatome.com/syntaxhighlighter/">http://www.megatome.com/syntaxhighlighter/</a> for my source code examples. yay.</p>
]]></content:encoded>
			<wfw:commentRss>http://squaretoo.com/2011/07/using-this-keyword/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Converting String to Integer</title>
		<link>http://squaretoo.com/2011/06/converting-string-to-integer/</link>
		<comments>http://squaretoo.com/2011/06/converting-string-to-integer/#comments</comments>
		<pubDate>Thu, 16 Jun 2011 17:37:51 +0000</pubDate>
		<dc:creator>Hayami</dc:creator>
				<category><![CDATA[Csharp]]></category>
		<category><![CDATA[C#]]></category>

		<guid isPermaLink="false">http://squaretoo.com/?p=3</guid>
		<description><![CDATA[Use the Convert.ToInt32(string) method to convert a string to integer. int startingMileage; startingMileage = Convert.ToInt32(txtStartingMileage.Text); This however doesn&#8217;t confirm if textbox is an integer or text so it&#8217;s not effective as is.]]></description>
			<content:encoded><![CDATA[<p>Use the  Convert.ToInt32(string) method to convert a string to integer.</p>
<pre class="brush: csharp">
int startingMileage;

startingMileage = Convert.ToInt32(txtStartingMileage.Text);
</pre>
<p>This however doesn&#8217;t confirm if textbox is an integer or text so it&#8217;s not effective as is.</p>
]]></content:encoded>
			<wfw:commentRss>http://squaretoo.com/2011/06/converting-string-to-integer/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>C# Code: Remote Database Connection</title>
		<link>http://squaretoo.com/2011/06/c-code-remote-database-connection/</link>
		<comments>http://squaretoo.com/2011/06/c-code-remote-database-connection/#comments</comments>
		<pubDate>Mon, 13 Jun 2011 15:22:31 +0000</pubDate>
		<dc:creator>Hayami</dc:creator>
				<category><![CDATA[Csharp]]></category>

		<guid isPermaLink="false">http://squaretoo.com/?p=5</guid>
		<description><![CDATA[So I want to create a database connection to my work database using Visual C# 2010 Express, but I come to find out that express editions don&#8217;t have remote database connections setup (wtf) so here is what I did to &#8230; <a href="http://squaretoo.com/2011/06/c-code-remote-database-connection/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>So I want to create a database connection to my work database using Visual C# 2010 Express, but I come to find out that express editions don&#8217;t have remote database connections setup (wtf) so here is what I did to at least get a working connection.  I don&#8217;t believe this is complete so for now this is here for reference.</p>
<p>I found connection strings from <a href="http://www.connectionstrings.com/sql-server-2005">http://www.connectionstrings.com/sql-server-2005</a> and am using the following:</p>
<p><strong>Connect via an IP address</strong></p>
<p><strong> </strong><span style="font-size: 13px; line-height: 19px;">Data Source=190.190.200.100,1433;Network Library=DBMSSOCN;Initial Catalog=myDataBase;User ID=myUsername;Password=myPassword;</span></p>
<div>
<div>DBMSSOCN=TCP/IP. This is how to use TCP/IP instead of Named Pipes. At the end of the Data Source is the port to use. 1433 is the default port for SQL Server.</div>
<div>This allows me to login via the IP address of my DB and assign what db and user to connect as.  I don&#8217;t think this is too secure, but I&#8217;ll have to look at it in the future when it matters.</div>
<div>I am using the <strong>System.Data</strong> namespace with the following:</div>
<div><span style="text-decoration: underline;"><strong> </strong></span></div>
<div><span style="font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;"> </span></div>
</div>
<pre class="brush: csharp">
Declared within the base of the class

System.Data.SqlClient.SqlConnection con;

DataSet ds1 = new DataSet();

System.Data.SqlClient.SqlDataAdapter da;

Within the Form_Load

con = new System.Data.SqlClient.SqlConnection();

con.ConnectionString = "Data Source=1.2.3.4,1433;Initial Catalog=DB;User ID=readonly;Password=ro1;";

txtPartNumber.Text = "";

//con.Open();

try

{

con.Open();

richTextBox1.Text = "Connection Success!";

}

catch(Exception exp)

{

Console.WriteLine("Connection Failed! {0}", exp);

}

//MessageBox.Show("Connection Open!");

sql = "SELECT * From Product";

//MessageBox.Show(sql);

da = new System.Data.SqlClient.SqlDataAdapter(sql, con);

da.Fill(ds1, "Product");  //DataAdapter populated called Product

richTextBox1.Text = "PART NUMBER  NAME\n ===========================================";

//DisplayResults();

con.Close();

// MessageBox.Show("Connection Closed!");

con.Dispose();
</pre>
]]></content:encoded>
			<wfw:commentRss>http://squaretoo.com/2011/06/c-code-remote-database-connection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

