Category Archives: Csharp

Supercard SD and Last Window

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 … Continue reading

Posted in Csharp | Tagged | Leave a comment

using ‘this’ keyword

Any time an object uses the this keyword, it’s referring to itself.  It’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) ; } … Continue reading

Posted in Csharp | Leave a comment

Converting String to Integer

Use the Convert.ToInt32(string) method to convert a string to integer. int startingMileage; startingMileage = Convert.ToInt32(txtStartingMileage.Text); This however doesn’t confirm if textbox is an integer or text so it’s not effective as is.

Posted in Csharp | Tagged | 2 Comments

C# Code: Remote Database Connection

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’t have remote database connections setup (wtf) so here is what I did to … Continue reading

Posted in Csharp | Leave a comment