<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width=".7*" />
<ColumnDefinition Width=".3*" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<TextBlock Grid.Column="0">70% width</TextBlock>
<TextBlock Grid.Column="1">30% width</TextBlock>
</Grid>
Wednesday, March 7, 2012
WPF: Define Percentage In Column Widths
Monday, February 27, 2012
Microsoft Brushes.Colors
http://msdn.microsoft.com/en-us/library/system.windows.media.colors.aspx
Special Characters Sort Order
Here is a list of some of these characters along with the sort order (ascending to descending)
' (back tick)
- (hyphen)
! (exclamation)
# (pound symbol)
$ (dollar)
% (percent symbol)
& (ampersand)
( (open parenthesis)
) (close parenthesis)
* (asterisk)
@ (at symbol)
^ (carrot)
_ (underscore)
~ (tilde)
+ (plus)
= (equals)
Thanks to Jim McBee: http://msmvps.com/blogs/erikr/archive/2008/09/20/special-character-sort-order-gal.aspx
Thursday, May 26, 2011
SSAS: Unexpected error occured: 'Error in application.'
I'm new to this SQL Server Analysis Services cube processing and have been working on this project for a month plus.
Gotten into this error when trying to browse the Cube Calculation tab.
Software: Visual Studio 2005
Operating System: Windows 7
What's the problem?
This might be caused by version mismatch between some binaries of msmdlocal.dll and msmgdsrv.dll.
The Solution?
Manage to get help from Internet Search engine and route to this page:
http://social.msdn.microsoft.com/forums/en-US/sqlanalysisservices/thread/773988a0-1767-47ed-9405-77430e7db37f/
Making sure that the ones installed into %ProgramFiles%\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\ are the same as those in %ProgramFiles%\Common Files\System\Ole DB\
(if they are not then try updating the ones in the PrivateAssemblies with the ones from ole db; you might want to save the original ones as to be able to get back to original state just in case...)
Thursday, February 4, 2010
Working with Dates and Times in C# (URL)
http://www.techotopia.com/index.php/Working_with_Dates_and_Times_in_C_Sharp
Friday, September 25, 2009
Server Application Unavailable
Oh my god... Checked on the IIS, every setting is correct, verify file is there, permission is correct as well.
I even tried setting Everyone's permission to Full control but this is not solving the problem.
So my next step?
Re-registering aspnet_regiis.exe -i
(c:\windows\microsoft.net\framework\v2.0.50727\aspnet_regiis -i )
And Voila, everything works back to normal. YAY!!!

If the above still couldn't fix your problem, you can try the solution in this link, http://blog.crowe.co.nz/archive/2005/08/30/242.aspx
Cheers, :)
Thursday, July 2, 2009
HTTP Error 404 - File or Directory not found
Encountered this problem on my VPC (Virtual PC), Windows 2003, IIS 6.0.
When I try to view default.asp or default.aspx file, nothing seems to work.
The error returned in the browser was:
HTTP Error 404 - File or Directory not found.
Search the web and found this useful site from microsoft which explains why it happen and the solution: http://support.microsoft.com/kb/315122
What's the problem?
- Error message 1
HTTP Error 404 - File Not Found - Error message 2
HTTP Error 404- File or Directory not found
Cause?
By default, when IIS is installed on any version of the Windows Server 2003 family, IIS only serves static content (HTML).
The Solution?
Enable a Pre-existing Web Service Extension in IIS 6.0
To permit IIS to serve content that requires a specific ISAPI or CGI extension that is already listed in the Web service extensions list, follow these steps:
- Open IIS Manager, expand the master server node (that is, the Servername node), and then select the Web service extensions node.
- In the right pane of IIS Manager, right-click the extension that you want to enable. In this example, this is Active Server Pages.
- Click to select the Allow check box.
For more information on this, refer to http://support.microsoft.com/kb/315122

