Category: ASP.NET
Moving the aspnetdb.mdf Database to a Production SQL Server
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, [...]
Creating Your Own Travian Utilities
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 [...]
Using Microsoft Office’s OCR Engine
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 [...]
Get a Video File’s Details Using Windows
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 [...]
An MD5 Hash of a String
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.
My ‘Contact Us’ Idea
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. [...]
Hello, World!
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.



Connect