Friday, April 29, 2011

Google Apps Standard Edition max account number limit reduction to 10 Users, starting from 10 May 2011

According to an email received from the Google Apps Team, starting from 10 May 2011, Google is lowering the maximum limit of 50 users to 10 users in it's Free Google Apps Standard Edition.

The Google Apps Standard Edition account created before the May 10 2011 will retain the current limits of 50 maximum users.
If you are considering to switch to Google Apps Standard Edition, it could be a nice idea doing the switch before the 10 May 2011.

Wednesday, April 20, 2011

Inno Setup Extensions Knowledge Base

Inno Setup Extensions Knowledge Base

Inno Setup is an open source script-driven installation system created in Delphi by Jordan Russell.

Inno Setup at Wikipedia

The Inno Setup Extensions Knowledge Base (ISXKB) aims to support users of this installation system by providing a source of information, code snippets, guide lines, and ready-to-use solutions.

There are currently 150 articles in the ISXKB. You can search the ISXKB, browse through a list with all articles, or view them sorted by category. A list sorted by article popularity is also available as well as all special pages.

Monday, April 18, 2011

WikiMatrix - Compare them all -


A very useful service for comparing more than 100 Wiki engine (online, local, hosted, free, open-source....)

Friday, April 15, 2011

Reblog: ExpandoObject class in C# 4.0 - DotNetJalps

ExpandoObject class in C# 4.0

As you know till now in c# everything was static and known at design time. But with the C# 4.0  language Microsoft have enabled new dynamic data type which is belongs to Dynamic Language Runtime on top of CLR(Common language Runtime). As you know that dynamic object will know their behaviour at run time. Here Microsoft has given one new class called ExpandoObject class. ExpandoObject class is a member of System.Dynamic namespace and is defined in the System.Core assembly. This class object members can be dynamically added and removed at runtime. This is class is a sealed class and implements number of interfaces like below.

public sealed class ExpandoObject :  IDynamicMetaObjectProvider,  IDictionary<string, object>,  ICollection<KeyValuePair<string, object>>,  IEnumerable<KeyValuePair<string, object>>,  IEnumerable,  INotifyPropertyChanged;

Now let’s take a simple example of console application. Where we will create a object of expandoobject class and manipulate that class at run time. Let’s create a simple code like below.

using System; using System.Collections.Generic; using System.Linq; using System.Text;  namespace ExpandoObject { class Program { static void Main(string[] args) { dynamic users = new System.Dynamic.ExpandoObject(); users.UserName = "Jalpesh"; users.Password = "Password";  Console.WriteLine(string.Format("{0}:{1}","UserName:",users.UserName)); Console.WriteLine(string.Format("{0}:{1}","Password:",users.Password));  Console.ReadKey(); } } }

Here in the above code I have added a new memeber called UserName and Password for the new dynamic user type and then print their value. Now let’s run the application and see its output as below


That’s it. You can add valid type of member to ExpandoOjbect class. Isn’t interesting.. Hope you liked it.. Stay tuned for more..

Thursday, April 14, 2011

How to print only a selected portion of a web page with Google Chrome


Here is how to print only a selected portion of a web page with Google Chrome

1) Select the portion of the page that you want to print.
2) press CTRL+P to open the print dialog
3) check "Selection"
4) click Print

Wednesday, April 13, 2011

Flattr: a new interesting way to donate money for things you like

I've just discovered Flattr. It's a revolutionary social micropayment system that you can use to donate/pay money for the things you like.

Here is the "how it works" video :-)

Reblog: How to make "Copy As HTML" Visual Studio 2008 addins work on VS2010


To make it work on Visual Studio 2010, go to the installation folder of the addin, usually it will pick your MyDocument folder '.\MyDocument\Visual Studio 2008\Addins', copy the addin to the new Visual Studio folder '.\MyDocument\Visual Studio 2010\Addins'.

Here are the folders and files you need to copy.


After you done with it, you will need to edit this file 'LavernockEnterprises.CopyAsHtml.2008.AddIn' and add Visual Studio to the supported hosts.

Add the following above the existing entry.

<Name>Microsoft Visual Studio</Name>

Here you can find the CopyAsHTML Addin

HowTo: Force calendar dropdown in .Net DateTimePicker control using VB.Net

Here is how to force to show-up, and activate, the dropdown calendar of the standard .Net DateTimePicker control, using VB.Net.
The sample code is tested on .Net 4.0, but should work on all .Net framework version.

Code Snippet
  1. Dim dateTimePickerControl As DateTimePicker
  3. Private Declare Auto Function SendMessage Lib "user32.dll" (ByVal hWnd As IntPtr, ByVal msg As Integer, ByVal wParam As IntPtr, ByVal lParam As IntPtr) As IntPtr
  5. Public Sub DropDownCalendar()
  6.     Const WM_LBUTTONDOWN As Int32 = &H201
  7.     Const WM_LBUTTONUP As Int32 = &H202
  9.     Dim x As Integer = Me.dateTimePickerControl.Width - 10
  10.     Dim y As Integer = CInt(Me.dateTimePickerControl.Height / 2)
  11.     Dim lParam As Integer = x + y * &H10000
  13.     'click down, adn show the calendar
  14.     SendMessage(Me.dateTimePickerControl.Handle, WM_LBUTTONDOWN, CType(1, IntPtr), CType(lParam, IntPtr))
  16.     'click-up, and activate the calendar (without this the calendar is showed, but is not active, and doesen't works as expected)
  17.     SendMessage(Me.dateTimePickerControl.Handle, WM_LBUTTONUP, CType(1, IntPtr), CType(lParam, IntPtr))
  18. End Sub