TweakTown did a performance comparison between Windows 7 Beta and Vista on SSD and the results show that Windows 7 Beta outperforms Vista, but how about from a standard user’s point of view? Is it easy to install and use? How compatible it is with other applications? That is the reason I wrote this post. I have used Windows 7 Beta build 7000 for two weeks and I have to admit I am surprised how […]
General
I having been using IXWebhosting as my hosting provider for about two years, and now I am thinking switching to another provider. The reasons are: 1. Long waiting period for the help desk ticket. Usually about 6 hours, and up to 24 hours. 2. Some staff who answer the help ticket do not have enough knowledge and don’t know what they are doing. For instance, they will promise you that your issue is resolved and […]
Since I decided to stop using www.techhippos.net, I created a simple index.php with a META refresh tag to redirect visitors to my new site. This is what I used in my index.php file: <meta http-equiv=”refresh” content=”10; https://learningpenguin.net/index.php” > This works fine in FireFox, but in IE, it keeps refresh itself without redirecting to the new site. It took me quite some time to figure out that I missed “url=” for the destination URL. So it […]
I like to use desktop client software for writing blog posts, and I use Windows Live Writer on my Windows machine and ScribeFire when I am on my Linux machine. I know, ScribeFire is not really a desktop client so to speak, but I can’t find a very good desktop blog client for Linux, so I use this FireFox add-on until I can find a good satisfactory desktop blogging tool for Linux. One of the […]
Have been using Googl Chrome since it was released, and have found some interest things. First, I have to add “–no-sandbox” option to lauch Chrome, otherwise, I will get an initilization error. Secondly, it has a lot better memory release mechnism than FireFox and IE. Chrome only used about 96MB of memory with 13 tabs opened, but FireFox used about 142MB of memory with only 9 tabs opened. IE used even more memory. However, I […]
When I tried to install IIS on my laptop which is running Windows XP Pro SP2, I got this error during the installtion: “Copy error Setup cannot copy the file staxmem.dl_. Ensure that the disk labeled ‘Windows XP Professional Service pack 2 CD’ is in the drive selected below, or provide the location where the file can be found.” After some search on the Internet, it turned out it is a very common error that […]
I came across this old YouTube video and it cracked me up.
Scenario: You need to dynamically add a drop down list in a DataGridView control in a WinForm. Requirements: The items of the drop down list are dynamically bound with data from database. Solution: 1. Connect to database and retrieve data into a datatable, i.e. dtRanks; 2. Create a DataGridViewCombBoxColumn, set necessary properties of the CombBox column, then add it to the GridView control: DataGridViewComboBoxColumn ranks = new DataGridViewComboBoxColumn(); ranks.DataPropertyName = “TestID”; ranks.Name = “TestID”; ranks.HeaderText […]
I have been using SqlDataAdapter and strong typed DataSet and DataTable in my projects in .NET 1.1 for quite some time and have not had any problems. Now, in .NET 2.0, SqlDataAdapter is replaced with TableAdapter, which is much easier than SqlDataAdapter to create a data access layer. When I played with it in one of my projects last week, I came across an exception error when updating a DataTable with TableAdapter. The error happens […]
I have been working on a project which involves sending out emails to our customers in the past week and came across a very interesting error with a DataView object. The application is required to send out batch emails once a day, so I created an email message queue table to store the outgoing email messages. After a message is sent, the column that stores the delivery status will be changed from 0 to1 so […]