<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:copyright="http://blogs.law.harvard.edu/tech/rss" xmlns:image="http://purl.org/rss/1.0/modules/image/">
    <channel>
        <title>aspxWizard.net</title>
        <link>http://www.aspxwizard.net/Default.aspx</link>
        <description>.net &amp; other Stuff</description>
        <language>en-US</language>
        <copyright>Amir Magdy</copyright>
        <generator>Subtext Version 2.5.0.3</generator>
        <image>
            <title>aspxWizard.net</title>
            <url>http://www.aspxwizard.net/images/RSS2Image.gif</url>
            <link>http://www.aspxwizard.net/Default.aspx</link>
            <width>77</width>
            <height>60</height>
        </image>
        <item>
            <title>Android Design Site</title>
            <category>Android</category>
            <link>http://www.aspxwizard.net/archive/2012/01/29/android-design-site.aspx</link>
            <description>&lt;p&gt;Design site has just launched by Googe&lt;/p&gt;  &lt;p&gt;it’s a must read for all android Developers&lt;/p&gt;  &lt;p&gt;visit the &lt;a title="Design Sire" href="http://developer.android.com/design/index.html" target="_blank"&gt;site&lt;/a&gt; now&lt;/p&gt;  &lt;p&gt; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.aspxwizard.net/images/www_aspxwizard_net/Windows-Live-Writer/Android-Design-Site_1450C/creative_vision_main_2.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="creative_vision_main" border="0" alt="creative_vision_main" src="http://www.aspxwizard.net/images/www_aspxwizard_net/Windows-Live-Writer/Android-Design-Site_1450C/creative_vision_main_thumb.png" width="575" height="256" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://www.aspxwizard.net/aggbug/268.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Amir Magdy</dc:creator>
            <guid>http://www.aspxwizard.net/archive/2012/01/29/android-design-site.aspx</guid>
            <pubDate>Sun, 29 Jan 2012 21:08:00 GMT</pubDate>
            <comments>http://www.aspxwizard.net/archive/2012/01/29/android-design-site.aspx#feedback</comments>
            <wfw:commentRss>http://www.aspxwizard.net/comments/commentRss/268.aspx</wfw:commentRss>
            <trackback:ping>http://www.aspxwizard.net/services/trackbacks/268.aspx</trackback:ping>
        </item>
        <item>
            <title>Fixed: Sharepoint 2010 The timer job for this operation has been created, but it will fail because the administrative service for this server is not enabled</title>
            <category>Sharepoint</category>
            <category>tips</category>
            <link>http://www.aspxwizard.net/archive/2011/11/30/fixed-sharepoint-2010-the-timer-job-for-this-operation-has.aspx</link>
            <description>&lt;p&gt;I was using installing WSPs and I got this error &lt;/p&gt;  &lt;h3&gt;Error&lt;/h3&gt;  &lt;p&gt;The timer job for this operation has been created, but it will fail because the   &lt;br /&gt;administrative service for this server is not enabled. If the timer job is sched    &lt;br /&gt;uled to run at a later time, you can run the jobs all at once using stsadm.exe -    &lt;br /&gt;o execadmsvcjobs. To avoid this problem in the future, enable the Microsoft Shar    &lt;br /&gt;ePoint Foundation administrative service, or run your operation through the STSA    &lt;br /&gt;DM.exe command line utility.&lt;/p&gt;  &lt;h3&gt;FIX&lt;/h3&gt;  &lt;p&gt;to continue installing my tome jobs I typed this in sharepoint console&lt;/p&gt;  &lt;div id="codeSnippetWrapper"&gt;   &lt;div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet"&gt;     &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum1"&gt;   1:&lt;/span&gt; stsadm -o execadmsvcjobs&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;/div&gt;
&lt;/div&gt;

&lt;p&gt; &lt;/p&gt;

&lt;p&gt;for this not to happen again &lt;/p&gt;

&lt;h5&gt;Sharepoint 2010&lt;/h5&gt;

&lt;p&gt;make sure this service is running &lt;/p&gt;

&lt;p&gt;“SharePoint 2010 Administration”&lt;/p&gt;

&lt;p&gt; &lt;/p&gt;

&lt;h5&gt;Sharepoint 2007&lt;/h5&gt;

&lt;p&gt;make sure that this service is running &lt;/p&gt;

&lt;p&gt;“Windows SharePoint Services Administration service”&lt;/p&gt;&lt;img src="http://www.aspxwizard.net/aggbug/267.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Amir Magdy</dc:creator>
            <guid>http://www.aspxwizard.net/archive/2011/11/30/fixed-sharepoint-2010-the-timer-job-for-this-operation-has.aspx</guid>
            <pubDate>Wed, 30 Nov 2011 09:46:57 GMT</pubDate>
            <comments>http://www.aspxwizard.net/archive/2011/11/30/fixed-sharepoint-2010-the-timer-job-for-this-operation-has.aspx#feedback</comments>
            <wfw:commentRss>http://www.aspxwizard.net/comments/commentRss/267.aspx</wfw:commentRss>
            <trackback:ping>http://www.aspxwizard.net/services/trackbacks/267.aspx</trackback:ping>
        </item>
        <item>
            <title>Install SharePoint 2010 Language Pack on windows 7</title>
            <category>Sharepoint</category>
            <category>tips</category>
            <link>http://www.aspxwizard.net/archive/2011/11/29/install-sharepoint-2010-language-pack-on-windows-7.aspx</link>
            <description>&lt;p&gt; &lt;/p&gt;  &lt;h3&gt;Download&lt;/h3&gt;  &lt;p&gt;first download language pack from this link&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;amp;id=3411"&gt;http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;amp;id=3411&lt;/a&gt;&lt;/p&gt;  &lt;p&gt; &lt;/p&gt;  &lt;h3&gt;Extracting the Package&lt;/h3&gt;  &lt;p&gt;to extract the package open command prompt  and navigate to the folder that has the package and then type in &lt;/p&gt;  &lt;p&gt;ServerLanguagePack.exe /extract:c:\FolderName&lt;/p&gt;  &lt;p&gt;where FolderName is where you want the extracted files to be&lt;/p&gt;  &lt;h3&gt;Modify package configurations&lt;/h3&gt;  &lt;p&gt;we need to modify package configuration file to skip the check for windows 2008&lt;/p&gt;  &lt;p&gt;to do that &lt;/p&gt;  &lt;p&gt;navigate to &lt;/p&gt;  &lt;p&gt;c:\FolderName\Files\Setup\&lt;/p&gt;  &lt;p&gt;and open this file Config.xml&lt;/p&gt;  &lt;div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: 'Courier New', courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; overflow: auto; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper"&gt;   &lt;div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet"&gt;     &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum1"&gt;   1:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;Configuration&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum2"&gt;   2:&lt;/span&gt;     &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;Setting&lt;/span&gt; &lt;span style="color: #ff0000"&gt;Id&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="OSERVERLPK"&lt;/span&gt; &lt;span style="color: #ff0000"&gt;Value&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="1"&lt;/span&gt;&lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum3"&gt;   3:&lt;/span&gt;     &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;Logging&lt;/span&gt; &lt;span style="color: #ff0000"&gt;Type&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="verbose"&lt;/span&gt; &lt;span style="color: #ff0000"&gt;Path&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="%temp%"&lt;/span&gt; &lt;span style="color: #ff0000"&gt;Template&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="SharePoint 2010 Products Language Pack Setup(*).log"&lt;/span&gt;&lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum4"&gt;   4:&lt;/span&gt;     &lt;font style="background-color: #ffff00"&gt;&lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;Setting&lt;/span&gt; &lt;span style="color: #ff0000"&gt;Id&lt;/span&gt;=”&lt;span style="color: #ff0000"&gt;AllowWindowsClientInstall&lt;/span&gt;” &lt;span style="color: #ff0000"&gt;Value&lt;/span&gt;=”&lt;span style="color: #ff0000"&gt;True&lt;/span&gt;”&lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum5"&gt;   5:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;Configuration&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;/div&gt;
&lt;/div&gt;

&lt;p&gt;I have added the highlighted line to the file and saved it.&lt;/p&gt;

&lt;h3&gt;Install the package&lt;/h3&gt;

&lt;p&gt; &lt;/p&gt;

&lt;p&gt;now go to c:\FolderName\setup.exe and insatll it&lt;/p&gt;

&lt;p&gt; &lt;/p&gt;

&lt;h3&gt;Configurations wizard&lt;/h3&gt;

&lt;p&gt; &lt;/p&gt;

&lt;p&gt;in the end run sharepoint 2010 configurations wizard in the end.&lt;/p&gt;&lt;img src="http://www.aspxwizard.net/aggbug/266.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Amir Magdy</dc:creator>
            <guid>http://www.aspxwizard.net/archive/2011/11/29/install-sharepoint-2010-language-pack-on-windows-7.aspx</guid>
            <pubDate>Tue, 29 Nov 2011 12:48:35 GMT</pubDate>
            <comments>http://www.aspxwizard.net/archive/2011/11/29/install-sharepoint-2010-language-pack-on-windows-7.aspx#feedback</comments>
            <wfw:commentRss>http://www.aspxwizard.net/comments/commentRss/266.aspx</wfw:commentRss>
            <trackback:ping>http://www.aspxwizard.net/services/trackbacks/266.aspx</trackback:ping>
        </item>
        <item>
            <title>Problems running SharePoint 2010 Configurations Wizards for the first time</title>
            <category>tips</category>
            <category>Sharepoint</category>
            <category>fixed</category>
            <link>http://www.aspxwizard.net/archive/2011/11/27/problems-running-sharepoint-2010-configurations-wizards-for-the-first-time.aspx</link>
            <description>&lt;p&gt; &lt;/p&gt;  &lt;p&gt;I Just installed SharePoint on my machine now and I got two consecutive errors the first one was&lt;/p&gt;  &lt;p&gt; &lt;/p&gt;  &lt;h2&gt;Could not load file or assembly ‘Microsoft.IdentityModel&lt;/h2&gt;  &lt;p&gt;An exception of type System.IO.FileNotFoundException was thrown.  Additional exception information: Could not load file or assembly ‘Microsoft.IdentityModel, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35′ or one of its dependencies. The system cannot find the file specified.&lt;/p&gt;  &lt;p&gt; &lt;/p&gt;  &lt;p&gt;and the fix was to install this package&lt;/p&gt;  &lt;p&gt;Windows6.1-KB974405-x64.msu&lt;/p&gt;  &lt;p&gt;From the URL&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;amp;id=17331"&gt;http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;amp;id=17331&lt;/a&gt;&lt;/p&gt;  &lt;p&gt; &lt;/p&gt;  &lt;p&gt;and the second problem was &lt;/p&gt;  &lt;h2&gt;Failed to call GetTypes on assembly Microsoft.Office.Server.Search&lt;/h2&gt;  &lt;p&gt;An exception of type Microsoft.SharePoint.Upgrade.SPUpgradeException was thrown. Additional exception information: Failed to call GetTypes on assembly Microsoft.Office.Server.Search, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c. Could not load file or assembly 'System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.&lt;/p&gt;  &lt;p&gt;and the fix was &lt;/p&gt;  &lt;p&gt;Install this (MS Char component)&lt;/p&gt;  &lt;p&gt;&lt;a href="http://go.microsoft.com/fwlink/?LinkID=122517"&gt;http://go.microsoft.com/fwlink/?LinkID=122517&lt;/a&gt;&lt;/p&gt;&lt;img src="http://www.aspxwizard.net/aggbug/265.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Amir Magdy</dc:creator>
            <guid>http://www.aspxwizard.net/archive/2011/11/27/problems-running-sharepoint-2010-configurations-wizards-for-the-first-time.aspx</guid>
            <pubDate>Sun, 27 Nov 2011 13:02:03 GMT</pubDate>
            <comments>http://www.aspxwizard.net/archive/2011/11/27/problems-running-sharepoint-2010-configurations-wizards-for-the-first-time.aspx#feedback</comments>
            <wfw:commentRss>http://www.aspxwizard.net/comments/commentRss/265.aspx</wfw:commentRss>
            <trackback:ping>http://www.aspxwizard.net/services/trackbacks/265.aspx</trackback:ping>
        </item>
        <item>
            <title>Android Splash Activity removed from history</title>
            <category>Android</category>
            <category>tips</category>
            <link>http://www.aspxwizard.net/archive/2011/11/20/android-splash-activity-removed-from-history.aspx</link>
            <description>&lt;p&gt;I usually have a splash activity either to load and prepare variables for execution or just to check for latest updates to the application and its data.&lt;/p&gt;  &lt;p&gt;I just don’t want the users to be able to click back on their mobiles and go back to that splash activity &lt;/p&gt;  &lt;p&gt;I looked at a lot of internet posts but this is the simplest&lt;/p&gt;  &lt;p&gt;I have added the noHistory Attribute to the splash activity in the manifest file&lt;/p&gt;  &lt;div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: 'Courier New', courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; overflow: auto; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper"&gt;   &lt;div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet"&gt;     &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum1"&gt;   1:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;activity&lt;/span&gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum2"&gt;   2:&lt;/span&gt;     ...&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum3"&gt;   3:&lt;/span&gt;     &lt;span style="color: #ff0000"&gt;android:noHistory&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="true"&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum4"&gt;   4:&lt;/span&gt;     &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;intent-filter&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum5"&gt;   5:&lt;/span&gt;         ...&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum6"&gt;   6:&lt;/span&gt;     &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;intent-filter&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum7"&gt;   7:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;activity&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum8"&gt;   8:&lt;/span&gt;   &lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;font color="#4d4d4d" /&gt;&lt;img src="http://www.aspxwizard.net/aggbug/264.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Amir Magdy</dc:creator>
            <guid>http://www.aspxwizard.net/archive/2011/11/20/android-splash-activity-removed-from-history.aspx</guid>
            <pubDate>Sun, 20 Nov 2011 08:33:14 GMT</pubDate>
            <comments>http://www.aspxwizard.net/archive/2011/11/20/android-splash-activity-removed-from-history.aspx#feedback</comments>
            <wfw:commentRss>http://www.aspxwizard.net/comments/commentRss/264.aspx</wfw:commentRss>
            <trackback:ping>http://www.aspxwizard.net/services/trackbacks/264.aspx</trackback:ping>
        </item>
        <item>
            <title>Edit Android database on your pc</title>
            <category>Android</category>
            <category>tools</category>
            <link>http://www.aspxwizard.net/archive/2011/11/19/edit-android-database-on-your-pc.aspx</link>
            <description>&lt;p&gt;Because Android Databases are SQLite Database it’s pretty standard so when you are developing your android application you can go in and explore your device to the database location and copy the database to your PC and start playing with it.&lt;/p&gt;  &lt;h2&gt;Getting the Database&lt;/h2&gt;  &lt;p&gt;In Eclipse as you have an emulator active and connected you will be able to browse all files on the device &lt;/p&gt;  &lt;p&gt;you can do that by using the Android File Explorer if you can not see it go to window =&amp;gt; show View =&amp;gt; other and then in the Android Group Select File Explorer &lt;/p&gt;  &lt;p&gt; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.aspxwizard.net/images/www_aspxwizard_net/Windows-Live-Writer/Edit-Android-Database-on-your-pc_D895/image_6.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.aspxwizard.net/images/www_aspxwizard_net/Windows-Live-Writer/Edit-Android-Database-on-your-pc_D895/image_thumb_2.png" width="249" height="350" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt; &lt;/p&gt;  &lt;p&gt;when you select it you will be able to browse files&lt;/p&gt;  &lt;p&gt;now go to &lt;/p&gt;  &lt;p&gt;Data ==&amp;gt; Data ==&amp;gt;com.yourpackage &lt;/p&gt;  &lt;p&gt;and in there you can find the database you created.&lt;/p&gt;  &lt;p&gt; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.aspxwizard.net/images/www_aspxwizard_net/Windows-Live-Writer/Edit-Android-Database-on-your-pc_D895/image_2.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.aspxwizard.net/images/www_aspxwizard_net/Windows-Live-Writer/Edit-Android-Database-on-your-pc_D895/image_thumb.png" width="394" height="261" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt; &lt;/p&gt;  &lt;p&gt;then on the top of this window click export &lt;/p&gt;  &lt;p&gt;at that point you have your database field now what you need a tool that can edit and view your database &lt;/p&gt;  &lt;h2&gt;Editing the Database&lt;/h2&gt;  &lt;p&gt;the tool is &lt;a href="http://sourceforge.net/projects/sqlitebrowser/" target="_blank"&gt;Sqlite Browser&lt;/a&gt; that you can find on source forge&lt;/p&gt;  &lt;p&gt;once you download that just double click it and open the database that you just imported and run all sql statements that you need on that.&lt;/p&gt;  &lt;p&gt;the tool supports UTF-8 as the database ofcourse&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.aspxwizard.net/images/www_aspxwizard_net/Windows-Live-Writer/Edit-Android-Database-on-your-pc_D895/image_8.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.aspxwizard.net/images/www_aspxwizard_net/Windows-Live-Writer/Edit-Android-Database-on-your-pc_D895/image_thumb_3.png" width="505" height="415" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;in another post I’ll explain how you can include a database to your android app package.&lt;/p&gt;&lt;img src="http://www.aspxwizard.net/aggbug/263.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Amir Magdy</dc:creator>
            <guid>http://www.aspxwizard.net/archive/2011/11/19/edit-android-database-on-your-pc.aspx</guid>
            <pubDate>Sat, 19 Nov 2011 13:43:33 GMT</pubDate>
            <comments>http://www.aspxwizard.net/archive/2011/11/19/edit-android-database-on-your-pc.aspx#feedback</comments>
            <wfw:commentRss>http://www.aspxwizard.net/comments/commentRss/263.aspx</wfw:commentRss>
            <trackback:ping>http://www.aspxwizard.net/services/trackbacks/263.aspx</trackback:ping>
        </item>
        <item>
            <title>Convert Flash to HTML5 [Swiffy]</title>
            <category>tips</category>
            <category>tools</category>
            <category>HTML5</category>
            <link>http://www.aspxwizard.net/archive/2011/11/19/convert-flash-to-html5-swiffy.aspx</link>
            <description>&lt;h2&gt;Google has recently released Swiffy&lt;/h2&gt;  &lt;p&gt;Swiffy is a tool that acts as a Flash extension and allows compiling your flash projects into HTML 5 files.&lt;/p&gt;  &lt;p&gt; &lt;/p&gt;  &lt;p&gt;&lt;img src="http://www.google.com/doubleclick/studio/swiffy/install_details.png" /&gt;&lt;/p&gt;  &lt;p&gt; &lt;/p&gt;  &lt;p&gt;and then you can export the flash projecs instea of SWF to HTML&lt;/p&gt;  &lt;p&gt; &lt;/p&gt;  &lt;p&gt;&lt;img src="http://www.google.com/doubleclick/studio/swiffy/command_details.png" /&gt;&lt;/p&gt;  &lt;h2&gt;Download Link is here&lt;/h2&gt;  &lt;p&gt;&lt;a href="http://www.google.com/doubleclick/studio/swiffy/extension.html"&gt;http://www.google.com/doubleclick/studio/swiffy/extension.html&lt;/a&gt;&lt;/p&gt;  &lt;p&gt; &lt;/p&gt;  &lt;p&gt;Google has also provided samples here including projects with action scripting &lt;/p&gt;  &lt;h2&gt;Here you go check this link &lt;/h2&gt;  &lt;p&gt;&lt;a href="http://www.google.com/doubleclick/studio/swiffy/gallery/example3.html"&gt;http://www.google.com/doubleclick/studio/swiffy/gallery/example3.html&lt;/a&gt;&lt;/p&gt;&lt;img src="http://www.aspxwizard.net/aggbug/262.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Amir Magdy</dc:creator>
            <guid>http://www.aspxwizard.net/archive/2011/11/19/convert-flash-to-html5-swiffy.aspx</guid>
            <pubDate>Sat, 19 Nov 2011 13:02:00 GMT</pubDate>
            <comments>http://www.aspxwizard.net/archive/2011/11/19/convert-flash-to-html5-swiffy.aspx#feedback</comments>
            <wfw:commentRss>http://www.aspxwizard.net/comments/commentRss/262.aspx</wfw:commentRss>
            <trackback:ping>http://www.aspxwizard.net/services/trackbacks/262.aspx</trackback:ping>
        </item>
        <item>
            <title>SQL Server Management Studio Row Limit</title>
            <category>SQL Server</category>
            <category>tips</category>
            <category>tools</category>
            <link>http://www.aspxwizard.net/archive/2011/08/08/sql-server-management-studio-row-limit.aspx</link>
            <description>&lt;p&gt;&lt;a href="http://www.aspxwizard.net/images/www_aspxwizard_net/WindowsLiveWriter/SQLServerManagementStudioRowLimit_B861/image_2.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Management Studio" border="0" alt="Management Studio" src="http://www.aspxwizard.net/images/www_aspxwizard_net/WindowsLiveWriter/SQLServerManagementStudioRowLimit_B861/image_thumb.png" width="576" height="342" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt; &lt;/p&gt;  &lt;p&gt; &lt;/p&gt;  &lt;p&gt;if you are tired of the limit of editing and selecting rows in Management studio this is how you can change it. from tools menu select options and this is how you can change it.&lt;/p&gt;  &lt;p&gt;know that loading a lot of rows affects the client machine memory to say the least not to mention locking rows in case of editing.&lt;/p&gt;&lt;img src="http://www.aspxwizard.net/aggbug/261.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Amir Magdy</dc:creator>
            <guid>http://www.aspxwizard.net/archive/2011/08/08/sql-server-management-studio-row-limit.aspx</guid>
            <pubDate>Mon, 08 Aug 2011 11:06:32 GMT</pubDate>
            <comments>http://www.aspxwizard.net/archive/2011/08/08/sql-server-management-studio-row-limit.aspx#feedback</comments>
            <wfw:commentRss>http://www.aspxwizard.net/comments/commentRss/261.aspx</wfw:commentRss>
            <trackback:ping>http://www.aspxwizard.net/services/trackbacks/261.aspx</trackback:ping>
        </item>
        <item>
            <title>Solved : An unsecured or incorrectly secured fault was received from the other party.</title>
            <category>wcf</category>
            <link>http://www.aspxwizard.net/archive/2011/08/08/solved-an-unsecured-or-incorrectly-secured-fault-was-received-from.aspx</link>
            <description>&lt;p&gt;after reading a loooot of articles about security of wcf and impersonation of web applications we finally found out that the problem is caused by server and client does not have the same clock time.&lt;/p&gt;  &lt;p&gt; &lt;/p&gt;  &lt;p&gt;so we simply fixed the time on the client machine and the problem disappeared. &lt;/p&gt;&lt;img src="http://www.aspxwizard.net/aggbug/260.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Amir Magdy</dc:creator>
            <guid>http://www.aspxwizard.net/archive/2011/08/08/solved-an-unsecured-or-incorrectly-secured-fault-was-received-from.aspx</guid>
            <pubDate>Mon, 08 Aug 2011 10:20:00 GMT</pubDate>
            <comments>http://www.aspxwizard.net/archive/2011/08/08/solved-an-unsecured-or-incorrectly-secured-fault-was-received-from.aspx#feedback</comments>
            <wfw:commentRss>http://www.aspxwizard.net/comments/commentRss/260.aspx</wfw:commentRss>
            <trackback:ping>http://www.aspxwizard.net/services/trackbacks/260.aspx</trackback:ping>
        </item>
        <item>
            <title>Switch URL to Youtube video, Switch URL to Hyperlink using c#</title>
            <category>C#</category>
            <category>asp.net</category>
            <category>tips</category>
            <link>http://www.aspxwizard.net/archive/2011/07/02/switch-url-to-youtube-video-switch-url-to-hyperlink-using.aspx</link>
            <description>&lt;p&gt;a friend of mine (who is not a developer) has told me that facebook is somehow affiliated with youtube and his reason was that if you type a video URL in the post box in facebook it automatically appears as video &lt;/p&gt;  &lt;p&gt;it took me 10 minutes to build this demo,&lt;/p&gt;  &lt;p&gt;this demo takes a block of text “post text ” which presumably includes a youtube URL and turns it into a youtube video in a webpage&lt;/p&gt;  &lt;p&gt; &lt;/p&gt;  &lt;div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: 'Courier New', courier, monospace; direction: ltr; height: 328px; max-height: 200px; font-size: 8pt; overflow: auto; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper"&gt;   &lt;div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet"&gt;     &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum1"&gt;   1:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;private&lt;/span&gt; &lt;span style="color: #0000ff"&gt;const&lt;/span&gt; &lt;span style="color: #0000ff"&gt;string&lt;/span&gt; FIND_URL_REGEX = &lt;span style="color: #006080"&gt;"http://([\\w+?\\.\\w+])+([a-zA-Z0-9\\~\\!\\@\\#\\$\\%\\^\\&amp;amp;amp;\\*\\(\\)_\\-\\=\\+\\\\\\/\\?\\.\\:\\;\\'\\,]*)?"&lt;/span&gt;;&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum2"&gt;   2:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;private&lt;/span&gt; &lt;span style="color: #0000ff"&gt;const&lt;/span&gt; &lt;span style="color: #0000ff"&gt;string&lt;/span&gt; YOUTUBE_TEMPLATE = &lt;span style="color: #006080"&gt;"&amp;lt;object width=\"425\" height=\"355\"&amp;gt;&amp;lt;param name=\"movie\" value=\"http://www.youtube.com/v/{0}&amp;amp;amp;hl=en\"&amp;gt;&amp;lt;embed src=\"http://www.youtube.com/v/{0}&amp;amp;amp;hl=en\" type=\"application/x-shockwave-flash\" width=\"425\" height=\"355\"&amp;gt;&amp;lt;/object&amp;gt;"&lt;/span&gt;;&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum3"&gt;   3:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;private&lt;/span&gt; &lt;span style="color: #0000ff"&gt;const&lt;/span&gt; &lt;span style="color: #0000ff"&gt;string&lt;/span&gt; URL_TEMPLATE = &lt;span style="color: #006080"&gt;"&amp;lt;a href=\"{0}\"&amp;gt;{0}&amp;lt;/a&amp;gt;"&lt;/span&gt;;&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum4"&gt;   4:&lt;/span&gt;  &lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum5"&gt;   5:&lt;/span&gt;  &lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum6"&gt;   6:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;protected&lt;/span&gt; &lt;span style="color: #0000ff"&gt;string&lt;/span&gt; MakeLinks(&lt;span style="color: #0000ff"&gt;string&lt;/span&gt; txt)&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum7"&gt;   7:&lt;/span&gt; {&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum8"&gt;   8:&lt;/span&gt;     Regex regx = &lt;span style="color: #0000ff"&gt;new&lt;/span&gt; Regex(FIND_URL_REGEX, RegexOptions.IgnoreCase);&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum9"&gt;   9:&lt;/span&gt;     MatchCollection mactches = regx.Matches(txt);&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum10"&gt;  10:&lt;/span&gt;     &lt;span style="color: #0000ff"&gt;foreach&lt;/span&gt; (Match match &lt;span style="color: #0000ff"&gt;in&lt;/span&gt; mactches)&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum11"&gt;  11:&lt;/span&gt;     {&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum12"&gt;  12:&lt;/span&gt;         &lt;span style="color: #0000ff"&gt;if&lt;/span&gt; (match.Value.ToLower().Contains(&lt;span style="color: #006080"&gt;"youtube.com"&lt;/span&gt;))&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum13"&gt;  13:&lt;/span&gt;         {&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum14"&gt;  14:&lt;/span&gt;             &lt;span style="color: #0000ff"&gt;try&lt;/span&gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum15"&gt;  15:&lt;/span&gt;             {&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum16"&gt;  16:&lt;/span&gt;                 txt = txt.Replace(match.Value, &lt;span style="color: #0000ff"&gt;string&lt;/span&gt;.Format(YOUTUBE_TEMPLATE, match.Value.Split(&lt;span style="color: #006080"&gt;'='&lt;/span&gt;)[1].Split(&lt;span style="color: #006080"&gt;'&amp;amp;'&lt;/span&gt;)[0]));&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum17"&gt;  17:&lt;/span&gt;             }&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum18"&gt;  18:&lt;/span&gt;             &lt;span style="color: #0000ff"&gt;catch&lt;/span&gt; { }&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum19"&gt;  19:&lt;/span&gt;         }&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum20"&gt;  20:&lt;/span&gt;         &lt;span style="color: #0000ff"&gt;else&lt;/span&gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum21"&gt;  21:&lt;/span&gt;         {&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum22"&gt;  22:&lt;/span&gt;             txt = txt.Replace(match.Value, &lt;span style="color: #0000ff"&gt;string&lt;/span&gt;.Format(URL_TEMPLATE, match.Value));&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum23"&gt;  23:&lt;/span&gt;         }&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum24"&gt;  24:&lt;/span&gt;     }&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum25"&gt;  25:&lt;/span&gt;     &lt;span style="color: #0000ff"&gt;return&lt;/span&gt; txt;&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum26"&gt;  26:&lt;/span&gt; }&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum27"&gt;  27:&lt;/span&gt;  &lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum28"&gt;  28:&lt;/span&gt;  &lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;/div&gt;
&lt;/div&gt;



&lt;p&gt;&lt;font color="#4d4d4d"&gt;the previous code takes a block of text assuming this is what the user has posted and switches and text that looks like a URL to a hyper link and any youtube URL to video block&lt;/font&gt;&lt;/p&gt;&lt;img src="http://www.aspxwizard.net/aggbug/259.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Amir Magdy</dc:creator>
            <guid>http://www.aspxwizard.net/archive/2011/07/02/switch-url-to-youtube-video-switch-url-to-hyperlink-using.aspx</guid>
            <pubDate>Sat, 02 Jul 2011 18:18:07 GMT</pubDate>
            <comments>http://www.aspxwizard.net/archive/2011/07/02/switch-url-to-youtube-video-switch-url-to-hyperlink-using.aspx#feedback</comments>
            <wfw:commentRss>http://www.aspxwizard.net/comments/commentRss/259.aspx</wfw:commentRss>
            <trackback:ping>http://www.aspxwizard.net/services/trackbacks/259.aspx</trackback:ping>
        </item>
    </channel>
</rss>
