Windows
ASP.NET GridView All-In-One Quick Reference
Saturday, July 17th, 2010Here is a quick collection of snippets where one can quickly lookup the necessities of setting up a GridView for the purposes of displaying information to the viewer through a database (for example, MySQL):
Adding Columns of Data
DataTable dt = new DataTable("Tablename");
dt.Columns.Add("Column1");
dt.Columns.Add("Column2");
dt.Columns.Add("Column3");
// for every row
DataRow dr = dt.NewRow();
dr["Column1"] = "Testing";
dr["Column2"] = "Blah";
dr["Column3"] = "Big Blah";
dt.Rows.Add(dr);
Binding the [...]
Solving Could not find stored procedure dbo.aspnet_CheckSchemaVersion in ASP.NET Membership
Tuesday, July 13th, 2010Normally, as usual, one would not see the error Could not find stored procedure ‘dbo.aspnet_CheckSchemaVersion’ if one has a good database already setup with everything good to go. However, sometime the annoying error Could not find stored procedure ‘dbo.aspnet_CheckSchemaVersion’ crops up one can check the steps below to determine the root cause of the error:
Try [...]
Solving Handler “PageHandlerFactory-Integrated” has a bad module “ManagedPipelineHandler” in ASP.NET 4.0
Monday, July 12th, 2010If you have just installed Visual Studio 2010 or the .NET 4.0 Framework and trying to host ASP.Net 4.0 applications doesn’t work for you and results in the following error message:
Handler “PageHandlerFactory-Integrated” has a bad module “ManagedPipelineHandler”
It means that you haven not yet run the aspnet_iisreg.exe executable needed to register the ASP.NET 4 framework with [...]
Solving “The name … does not exist in the current context” in ASP.NET
Wednesday, July 7th, 2010A little-known fact is that in ASP.NET is that you cannot have two copies of the same ASP.NET web page in the same folder, or it will attempt to load elements (such as controls) from the (usually) wrong page, and end up confusing itself, resulting in the error “The name … does not exist in [...]
Sound in Windows 98 on VMware
Saturday, February 27th, 2010By default, even after installing the VMWare Tools provided by VMWare (Player, Workstation or Server), the VMWare Tools package still does not install an audio driver, even though it installed a mouse driver and a SVGA driver for true colour graphics. However, most of the time we would like some audio in Windows 9x guests, [...]
Windows SteadyState – a free DeepFreeze?
Friday, January 8th, 2010For quite a while, the program Faronics DeepFreeze has been the standard program for locking down Windows installations against abuse by end-users. However, now even Microsoft themselves are trying to obtain a piece of this pie with a new freeware called Windows SteadyState.
This new program can act just like the full DeepFreeze program and can [...]
Console-free gtkmm applications in Visual Studio 2008
Sunday, December 6th, 2009When compiling Gtkmm programs on Microsoft Windows using Visual C++, a black console box pops up when you run the program. However, setting the application subsystem to Windows will cause the program to complain about WinMain and other problems. Here is a versatile solution from the Gtkmm mailing list to get Gtkmm to work on [...]
Enable and disable VBoxTray on demand
Saturday, September 12th, 2009If you have upgraded to VirtualBox 3, even though it may be way faster and more efficient (and now supports DirectX), there is still one feature that managed to fall through the cracks and regress: clipboard support is incomplete. For example, if you go into Windows Explorer and right click any file and “Copy”, when [...]
Media Player Classic – a small lightweight media player
Thursday, August 27th, 2009Windows Media Player is generally an good bulit-in media player, but in recent version seems to have become big and unnecessarily bloated with size, and also has become very slow. A good alternative to it would be Media Player Classic, a lightweight, small and fast media player that resembles very closely the good old-fashioned Media [...]
Firefox 3 on Windows 7 undocumented key combo
Sunday, August 16th, 2009When using Firefox 3 on Windows 7, you may find that sometimes Firefox randomly converts some of your keystrokes into different keys. However, this has not yet been experienced on any other program on Windows 7 or Firefox on a different operating system. For example some of the keys that are “randomly translated” include:
” – [...]
« Previous Entries