Category: ASP.NET

Moving the aspnetdb.mdf Database to a Production SQL Server

December 17, 2008 | By | 11 Comments

One of the least documented features in ASP.NET is the way to move the user access and profiles tables in aspnetdb.mdf to a production SQL Server. Although aspnetdb.mdf can be used in production, it is not recommended. This is done in 2 steps, first create the structure (tables, views and stored procedures) in the database, [...]

Continue Reading

Creating Your Own Travian Utilities

December 13, 2008 | By | 4 Comments

Travian the well known browser game has a downloadable file for developers in each of its servers that provides details of all the players of the server. The file contains a list of SQL INSERT statements, one for each player. Although the statement doesnt provide military or attack information, that can be used to cheat [...]

Continue Reading

Using Microsoft Office’s OCR Engine

December 11, 2008 | By | Add a Comment

The Microsoft Office Document Imaging library that is provided with Office 2003 and Office 2007, has Optical Character Recognition (OCR) that can extract text and layout from image files. As you can see from the code below, it doesnt need much to use it. So to start first include the COM object ‘Microsoft Office Document [...]

Continue Reading

Get a Video File’s Details Using Windows

December 7, 2008 | By | 8 Comments

I searched alot for a way to get details of a video file, without the need of a third party component. Im developing a video library on my free time, and I wanted the user to get this data automatically after selecting the video. The class uses shell32.dll which is what Windows Explorer uses to [...]

Continue Reading

An MD5 Hash of a String

December 5, 2008 | By | 1 Comment

MD5 hashing can be used as a quick and easy way to check if a string was changed or not. I created a class to let me get the hash or verify it with 1 line of code.

Continue Reading

My ‘Contact Us’ Idea

December 3, 2008 | By | Add a Comment

I thought of this solution when I was developing a website, and I was testing the contact us page. It was supposed to send an email with the details the user filled. But the emails were always late. So I created a table in the database of the application and saved the sent data there. [...]

Continue Reading

Hello, World!

December 1, 2008 | By | Add a Comment

Since this is the first post in a programming blog I think a Hello World program in Winforms and ASP.NET is a good idea.

Continue Reading