Archive

Archive for April, 2009

Google Language ASP.NET Controls

April 16, 2009 Leave a comment

I published my second project at CodePlex – Google Language ASP.NET Controls.

In my previuos post, I wrote the sample code to create Google Ajax Language Custom Controls – they are Ajax-able, but this time I just build regular server control to save some time :-)

The usage is:

  • Include library:
<%@ Register Assembly="GoogleLanguage.WebControls" Namespace="GoogleLanguage.WebControls" TagPrefix="glc" %>
  • Bootstrap Javascript with LanguageManager:
<glc:LanguageManager ID="LanguageManager1" runat="server" />
  • Use <Literal> tag for next text:
<glc:Literal ID="Literal5" runat="server" Text="Do you like music too?" DestinationLanguage="FRENCH" />
  • Use <Translator> tag for existing text in server controls:
<asp:TextBox ID="TextBox1" runat="server" Text="Important Notice" />
<glc:Translator ID="Translator2" runat="server" TargetControlID="TextBox1" DestinationLanguage="GERMAN" />

Screenshot – Sample Code

Sample Code

Screenshot – Sample Output

Sample Output

Expense Tracker

April 14, 2009 Leave a comment

I just publish my first windows application under Microsoft Public License (Ms-PL) – Expense Tracker – at CodePlex.com.

The idea of building Expense Tracker is I don’t want to use Excel spreed sheet to manage my expenses anymore. I have tried different personl finance programs but I found none of them fit my purpose – I just need something can allow me to enter the amount, GST and PST on things I purchase (yes, I live in Canada, so tax matters). I even bought QuickBooks for bookkeeping, but it’s too complicated for me. Anyways, I have to build my own program to manage the expenses.

Expense Tracker uses SQLite as the database to store data in a file, so any SQLite client tool can open the file and manage the data manually if necessary. I used configuration file to store GST and PST rates based on user’s residential province, so user can change the settings based on his/her needs. So far I don’t any plan to make it working outside of Canada :-)

Here is the screen shot:

Expense Tracker Screenshot

Expense Tracker Screenshot

Categories: .NET, C# Tags: , , , ,
Follow

Get every new post delivered to your Inbox.