• Uncategorized

    Posted on March 12th, 2008

    Written by Emad Ibrahim

    Tags

    ,

    Silverlight Tip: Fill the browser window

    RE: Silverlight 2 Beta 1 with Blend 2.5 March 2008 Preview You can Make your XAML silverlight page fit the whole browser window. In Blend, select the user control from the objects and timeline Set the width and height to Auto and the horizontal and vertical alignment to stretch There will be arrows surrounding the [...]

  • Programming

    Posted on February 20th, 2008

    Written by Emad Ibrahim

    Tags

    , ,

    Get Enum Value from String

    Here is a quick tip.  If you have the following Enum Enum Frequencies DAILY WEEKLY MONTHLY End Enum .csharpcode, .csharpcode pre { font-size: small; color: black; font-family: consolas, “Courier New”, courier, monospace; background-color: #ffffff; /*white-space: pre;*/ } .csharpcode pre { margin: 0em; } .csharpcode .rem { color: #008000; } .csharpcode .kwrd { color: #0000ff; } [...]

  • Random

    Posted on February 19th, 2008

    Written by Emad Ibrahim

    Tags

    , , , , ,

    Improve LINQ Query Performance

    I was writing a small utility for Outlook 2007 and was using LINQ to query Outlook Tasks.  This query was nested within another query.  While debugging, I realized that looping though the query results in my For Each loop was taking too long. If you have read anything about LINQ, I am sure you already [...]

  • Programming

    Posted on January 6th, 2008

    Written by Emad Ibrahim

    Tags

    , , ,

    Get Tasks in Outlook 2007 with VB.NET

    You can retrieve the list of tasks in your Outlook 2007 using the following code Dim ns As Outlook.NameSpaceDim tasks As Outlook.Itemsns = Application.GetNamespace(“MAPI”)tasks = ns.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderTasks).Items Dim task As ObjectFor Each task In tasks    ‘ iterate through the tasks hereNext

  • Programming

    Posted on December 28th, 2007

    Written by Emad Ibrahim

    Tags

    , , , , , , ,

    Fame, Fortune and WCF

    I need your help to bring me fame and fortune. I wrote an article at code project which was entered for a competition.  The winner gets $10k.  Can you please check it out at http://www.codeproject.com/KB/WCF/myfeedreader.aspx and if you like it, please vote for it.  I can’t win if you don’t vote.  Voting will be closed [...]

  • Older Posts Yeah! There are more posts, check them out.

    Newer Posts Yeah! There are more posts, check them out.