Skip to main content

Posts

Showing posts from June, 2008

The Five-Minute Management Course

Got this one from my friend and my highschool and college classmate. :D Lesson 1: A man is getting into the shower just as his wife is finishing up her shower, when the doorbell rings. The wife quickly wraps herself in a towel and runs downstairs. When she opens the door, there stands Bob, the next-door neighbour. Before she says a word, Bob says, 'I'll give you $800 to drop that towel.' After thinking for a moment, the woman drops her towel and stands naked in front of Bob, after a few seconds, Bob hands her $800 and leaves. The woman wraps back up in the towel and goes back upstairs. When she gets to the bathroom, her husband asks, 'Who was that?' 'It was Bob the next door neighbour,' she replies. 'Great,' the husband says, 'did he say anything about the $800 he owes me?' Moral of the story: If you share critical information pertaining to credit and risk with your shareholders in time, you may be in a position to prevent avoidable exposure...

2008 ICT rankings

Talking about ICT. A new ranking has been released by the World Economic Forum at http://www.weforum.org/pdf/gitr/2008/Rankings.pdf. According to their report , Denmark is still the most networked economy in the world (for 2 consecutive years). The report was subdivided into 4 parts: Findings of the Networked Readiness Index (NRI) 2007–2008, together with a number of insightful essays on selected issues of networked readiness, with aspecific focus on how it can foster innovation. Country/Regional case studies showcasing best policies and practices in fostering networked readiness Detailed profiles for each of the 127 economies covered in the Report, presenting a comprehensive snapshot of each economy’s current networked readiness status and allowing for international and historical comparison on specific variables orcomponents of the NRI. Detailed data tables for each of the 68 variables composing the NRI The Philippines falls at 81, fi...

Using Crystal Reports 10 with C#.net and Firebird

C# express doesn't include a report designer or viewer. Reports however, is very much needed when creating a business software. Since C# express doesn't include a report designer, we need to find other means. One is to use a free report such as MyNeoReport. This however may not work under many circumstances. The other alternative would be to use a proven report engine and designer-Crystal Report. Crystal Report has been used by many developers (in our city). However, using a free programming language and IDE, and a free database is very limiting. Not much information can be gathered on the net either (with regards to reporting as of this writing). Here's a way to use Crystal Reports using Firebird database and C# Express as software development IDE: Pre-requisites: C# Express 2005 EMS SQL Manager 2005 for InterBase & Firebird Lite Crystal Reports 10 Create the following database: Name: TestDB1 Tables: TESTTABLE1 Columns:  ID - PK, INTEGER,AUTOINCREMENT DES...

Why add RAM?

First off, let's define RAM. RAM stands for Random Access Memory. It is filled with capacitors that can do two things: temporarily carry or not carry a charge. These capacitors are arranged in banks of 8 hence the binary code (ex. 00001010). Each combination of these "bits" or charges represent a certain data. A collection of these data defines a set of instructions that a computer understands and processes. A RAM therefore, stores instructions (in binary format) for a computer to follow. Why then should we add more RAM to our computer? We use computers because we use the programs/software that assist us in our work (may it be creating an assignment, doing a presentation for our boss, or playing computer games). These programs give out instructions to the computer and the RAM temporarily stores these instructions for processing. Like any kind of storage (ex. bucket), a RAM also gets full. A good explanation about RAM can be found at http://pubs.logicalexpressions.com...

Adding a Footer to the DataGridView component

I have been searching for sites and forums that would give me a any hint on having a footer on the .net DataGridView control. It was frustrating. I found some, but not what I was looking for. I use windows forms. It would have been easier if I was into web. I decided to create one for myself. It's not complete, but it works with me. It needs improvement and I hope that some programmers who might pass through this blog will help me with it :D. Limitations: Cannot set Footer values during design time. Can sometimes hide a row when scrolled to the last item in the grid. What I did was just create a user control that inherits the DataGridView control and add a StatusStrip to act as the footer. public partial class MyDataGridView : DataGridView { public StatusStrip Footer { get { return (StatusStrip)this.Controls["Footer"]; } } private bool _footerVisible; [Browsable(false)] /// /// Sets or Gets the va...