-
Recent Posts
Recent Comments
Archives
Categories
Meta
Author Archives: Hayami
Creating a Data Connection in Visual C# 2010 Express
WTH why is this so hard? I just want to add a local database to my WPF project. When using the PUB.MDF DB, I’d always get a “You don’t have permission to open this file. Contact the file owner or … Continue reading
Posted in Csharp
Leave a comment
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
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.
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