Monday, November 26, 2007

ASP.NET API incosistency

HtmlAnchor has HRef property, while HtmlLink has Href.

My guess is that some architect at MS left the review board in the middle of the project. Let me know if you have other opinions.
Now MS would have to support this API the way it is.

Wednesday, November 21, 2007

How to remove blogspot's top frame ?

Don't know how long this solution would work.

If you look at HTML source of the page it has the following style that is getting inserted into the web page:
#navbar-iframe { display:block }

So, all you have to do is to add into your blog's template something like this:
#navbar-iframe{
height:0px;
visibility:hidden;
display: none !important;
}
Good Luck!

Tuesday, November 20, 2007

back to blogspot

I'm moving my blogging activities back to blogspot.
It's been more than 2 years since my last post here and I was surprised that my "blogger" account still exists.
The silentcoder.com domain is currently forwarded to this blog and the cached version of the silentcoder.com blog is still avaible through google search.

Will see how it goes from now on.

Wednesday, August 03, 2005

Useful header file for STL MBCS/Unicode portable code

#pragma once

#include <vector>
#include
<string>
#include
<fstream>

namespace std
{
// Define TCHAR compatible elements of string/iostream
#if defined _UNICODE || defined UNICODE
typedef wstring _tstring;
typedef wostream _tostream;
typedef wistream _tistream;
typedef wfstream _tfstream;
typedef wifstream _tifstream;
typedef wofstream _tofstream;

#define _tcout wcout
#define _tcin wcin
#define _tcerr wcerr
#define _tclog wclog
#else
typedef string _tstring;
typedef ostream _tostream;
typedef istream _tistream;
typedef fstream _tfstream;
typedef ifstream _tifstream;
typedef ofstream _tofstream;

#define _tcout cout
#define _tcin cin
#define _tcerr cerr
#define _tclog clog
#endif
}

Thursday, April 21, 2005

My Google Blog's Birthday

Already have a Microsoft Spaces' blog and just wanted to try what Google offers.
We will see which one I will use more often.

Today Google shares hit $204 per share mark...wow.