Wednesday, June 24, 2009

Create Time table through Dimension Wizard

If you don't have any time table (table that contains dates as data) for your analysis project, just follow these steps (screens took from New Dimension wizard) and you will have a physical table in your database having data as dates.

Step 1
 01

Step 2
02

Step 3
03

Step 4
04

Step 5
05

Step 6
06

Step 7
07

End.

Wednesday, April 15, 2009

DSL Providers in Kuwait

Here is the list of DSL providers in Kuwait.

  1. kems
  2. myinternet_headerimage1
  3. logo
  4. FTlogo

Tuesday, April 14, 2009

Microsoft ActiveSync for Windows Vista

If you are trying to install classis Microsoft ActiveSync (4.x) on windows vista, you will get this error,

“ActiveSync cannot be installed on Windows Vista”

Because now Microsoft ActiveSync has been changed into a new and more powerful Synchronizing tool for Windows Vista. Windows Mobile Device Center 6.1.

Thursday, April 9, 2009

Hard reset i-mate K-jam

To perform a hard reset
1.
Press and hold the Comm Manager button and Voice Command button on the device.

2. Keep the two buttons pressed, and at the same time, use the
stylus to lightly press and hold the RESET button.

i-mate K-jam

Monday, March 9, 2009

WPF Multiline Textbox

To make a textbox multiline unlike windows forms .Multiline = “True”, in WPF you have to set these 3 properties of TextBox Control.

  1. TextWrapping="Wrap"
  2. VerticalScrollBarVisibility="Visible"
  3. AcceptsReturn="True"

e.g.

<TextBox Height="66" Margin="563,46,265,0" Name="textBox1" VerticalAlignment="Top" AcceptsReturn="True" TextWrapping="Wrap" VerticalScrollBarVisibility="Visible"/>

Sunday, March 8, 2009

Get Checkbox state in WPF

In normal WinForms application you use Checkbox.Checked property to get or set value from your checkbox control, but when you try same thing in a WPF application you will get an error when you do the following.

   1: this.chkIsDayOff.Checked = _selectedOccasionType.BlnIsDayOff;




and the error will be …

“The event 'System.Windows.Controls.Primitives.ToggleButton.Checked' can only appear on the left hand side of += or –=”

Because Checked which was property in WinForms, is now Event in WPF.


To resolve this issue use IsChecked Property, both for setting to checkbox or getting from checkbox.




   1: this.chkIsDayOff.IsChecked = _SelectedOccasionType.BlnIsDayOff;



Wednesday, February 4, 2009

Unable to get Local Internet Information Server Screen

When you run Visual Studio from Windows Vista and goto publish tab and browse for the "Publishing Folder Location" to might get below screen when you click on Local IIS



because by default in Windows Vista, applications dont run under the admin priveleges even you are logged in as an administrator.

To resolve this just close your Visual Studio and run it again like this