Sunday, March 29, 2009

Post from email Really?

This is apparently how you post from email…

How to convert Access DB to SQL 2005 DB

You need to use: SQL Server Migration Assistant for Access (SSMA for Access)

Wednesday, March 11, 2009 development server stopped working development server stopped working
just like on 10/03/09 ? Yeah thank MicroSoft for that they released an update on Windows Defender that defends you from working.

Stupid thing changes hosts file to some apparently IPv6 shite but messes up ur developmet server

Here is what to do:

1. Locate the hosts file with notepad "C:\Windows\System32\drivers\etc\hosts"
2. Find line that says "::1 localhost"
3. Replace it with " localhost"
4. Save
5. Windows defender is gonna notify you that you might got hijacked!
6. Tell it to go fuck itself

Job Done - you can work again!

Sunday, March 08, 2009

How to change CurrentCulture CultureInfo in

Had a problem with ASP.NET site with the LIVE webhosting site beeing in the US and it was not formating my dates the way I wanted them by default.

Add this code to change CurrentCulture to whatever you want:

Dim ci As New System.Globalization.CultureInfo("EN-GB")
System.Threading.Thread.CurrentThread.CurrentCulture = ci
System.Threading.Thread.CurrentThread.CurrentUICulture = ci