tag:blogger.com,1999:blog-229493872024-03-05T19:24:27.471+02:00Amr ElGarhyAmrhttp://www.blogger.com/profile/09858019818591071259noreply@blogger.comBlogger43125tag:blogger.com,1999:blog-22949387.post-63127106052641098342009-02-22T01:13:00.003+02:002009-07-12T02:56:53.158+03:00Follow meFollow me on my personal website <a href="http://amrelgarhy.com/">amrelgarhy.com</a><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://amrelgarhy.com"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 400px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgymR39AWpnleTPwco8tBwSYOhwaxApk0ZLV8zu5M5acCwn2Bu7yXaMGoFTta3hxTloF4Pc19oeFa8uCihq43WnWt2JWiYRoxZuxpY39NnxEgOndCYJbkBiZaqfx8T-ZIAXA4Vw_w/s400/AMG2.gif" alt="" id="BLOGGER_PHOTO_ID_5357355768217070754" border="0" /></a><br /><span style="text-decoration: underline;"><br /></span>Amrhttp://www.blogger.com/profile/09858019818591071259noreply@blogger.com0tag:blogger.com,1999:blog-22949387.post-4791584487312797102008-11-20T13:46:00.000+02:002008-11-20T13:47:44.586+02:00Connecting to Server When All Active Sessions are Used<p>Simply use mstsc -console if didn't work then use mstsc -admin.</p> <p><a href="http://haacked.com/archive/2005/10/13/remote_desktop_to_console_session.aspx">Reference</a></p> Amrhttp://www.blogger.com/profile/09858019818591071259noreply@blogger.com0tag:blogger.com,1999:blog-22949387.post-20874791812471286542008-10-25T21:44:00.002+02:002008-10-25T21:47:25.401+02:00Microsoft new home page design<p>microsoft changed their home page design a little bit, now you can reach everything from the home page more easy and more clear.</p> <p><a href="http://lh5.ggpht.com/amrelgarhy81/SQN2-tm_ruI/AAAAAAAAAmQ/71dotW6o3Yo/s1600-h/MicrosoftHomePage%5B5%5D.png"><img style="border: 0px none ;" alt="MicrosoftHomePage" src="http://lh3.ggpht.com/amrelgarhy81/SQN3CGhTzSI/AAAAAAAAAmU/JzURzsTgAy8/MicrosoftHomePage_thumb%5B3%5D.png?imgmax=800" border="0" width="540" height="301" /></a></p><p><br /></p><p><a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2famrelgarhytech.blogspot.com%2f2008%2f10%2fmicrosoft-new-home-page-design.html"><img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2famrelgarhytech.blogspot.com%2f2008%2f10%2fmicrosoft-new-home-page-design.html" border="0" alt="kick it on DotNetKicks.com" /></a><br /></p>Amrhttp://www.blogger.com/profile/09858019818591071259noreply@blogger.com2tag:blogger.com,1999:blog-22949387.post-55669370926805381272008-10-20T10:23:00.001+02:002008-10-20T10:23:24.680+02:00Small Tip, Restore Database with replace "MSSQL 2005"<pre><code>RESTORE DATABASE AdventureWorks<br />    FROM DISK = 'C:\BackupAdventureworks.bak'<br />            WITH REPLACE</code></pre> Amrhttp://www.blogger.com/profile/09858019818591071259noreply@blogger.com1tag:blogger.com,1999:blog-22949387.post-19776583459972516602008-10-15T01:14:00.001+02:002008-10-15T01:14:03.395+02:00Small Tips "IIS Restart"<p><strong>iisreset /noforce</strong></p> <p>reference: <a title="http://technet.microsoft.com/en-us/library/cc758159.aspx" href="http://technet.microsoft.com/en-us/library/cc758159.aspx">http://technet.microsoft.com/en-us/library/cc758159.aspx</a></p> Amrhttp://www.blogger.com/profile/09858019818591071259noreply@blogger.com0tag:blogger.com,1999:blog-22949387.post-22755514560368466012008-09-14T19:45:00.003+02:002008-09-14T19:50:18.977+02:00a href=”javascript:void(0);” — avoid the void<p><a href="http://lh3.ggpht.com/amrelgarhy81/SM1Ny_eqCrI/AAAAAAAAAmI/Yt-Wc_90wxI/s1600-h/ist2_3163272-computer-programming-code-with-pen%5B2%5D.jpg"><img style="border: 0px none ;" alt="ist2_3163272-computer-programming-code-with-pen" src="http://lh5.ggpht.com/amrelgarhy81/SM1NziZdQaI/AAAAAAAAAmM/K8kIsxjk8dc/ist2_3163272-computer-programming-code-with-pen_thumb.jpg?imgmax=800" border="0" width="164" height="244" /></a> </p> <p>One of the most important hints about javascript and web development.</p> <h4><a href="http://blog.reindel.com/2006/08/11/a-hrefjavascriptvoid0-avoid-the-void/">a href=”javascript:void(0);” — avoid the void</a></h4><br /><a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2famrelgarhytech.blogspot.com%2f2008%2f09%2fhrefjavascriptvoid0-avoid-void.html"><img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2famrelgarhytech.blogspot.com%2f2008%2f09%2fhrefjavascriptvoid0-avoid-void.html" border="0" alt="kick it on DotNetKicks.com" /></a>Amrhttp://www.blogger.com/profile/09858019818591071259noreply@blogger.com2tag:blogger.com,1999:blog-22949387.post-60168639471693729422008-09-10T21:11:00.002+02:002008-09-10T21:12:48.034+02:00DotNetNuke container customized<p>You will find in the following zipped file the default Image Header - Color Background container but I made customized it to use div instead of tables.</p> <p><a title="http://cid-fa1922bb57748e08.skydrive.live.com/self.aspx/Shared%20Source/NewContainer.zip" href="http://cid-fa1922bb57748e08.skydrive.live.com/self.aspx/Shared%20Source/NewContainer.zip">http://cid-fa1922bb57748e08.skydrive.live.com/self.aspx/Shared%20Source/NewContainer.zip</a></p> <p><a href="http://lh3.ggpht.com/amrelgarhy81/SMgbxRBRqmI/AAAAAAAAAmA/V0oCACFYUTk/s1600-h/dnn-seo-spider-net%5B2%5D.png"><img style="border: 0px none ;" alt="dnn-seo-spider-net" src="http://lh5.ggpht.com/amrelgarhy81/SMgbyj4uiLI/AAAAAAAAAmE/bwensjhQh8Q/dnn-seo-spider-net_thumb.png?imgmax=800" border="0" width="244" height="244" /></a></p><p><a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2famrelgarhytech.blogspot.com%2f2008%2f09%2fdotnetnuke-container-customized.html"><img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2famrelgarhytech.blogspot.com%2f2008%2f09%2fdotnetnuke-container-customized.html" border="0" alt="kick it on DotNetKicks.com" /></a><br /></p>Amrhttp://www.blogger.com/profile/09858019818591071259noreply@blogger.com0tag:blogger.com,1999:blog-22949387.post-82713830833938513972008-09-10T19:22:00.002+02:002008-09-10T19:32:02.532+02:00DotNetNuke skin customized<p>You will find in the following zipped file the default DNN-Blue skin but I made customized it to use div instead of tables and to be 4 columns instead of 3.</p> <p>Note: You will find the admin panel down instead of top.</p> <p><a title="http://cid-fa1922bb57748e08.skydrive.live.com/self.aspx/Shared%20Source/NewSkin.zip" href="http://cid-fa1922bb57748e08.skydrive.live.com/self.aspx/Shared%20Source/NewSkin.zip">http://cid-fa1922bb57748e08.skydrive.live.com/self.aspx/Shared%20Source/NewSkin.zip</a></p> <p><a href="http://lh3.ggpht.com/amrelgarhy81/SMgCYZPt9sI/AAAAAAAAAl4/_Aqjj01FM1Q/s1600-h/dotnetnuke_by_t3kton%5B5%5D.jpg"><img style="border: 0px none ;" alt="dotnetnuke_by_t3kton" src="http://lh5.ggpht.com/amrelgarhy81/SMgCaP0Ax6I/AAAAAAAAAl8/HfIx5XfRIWM/dotnetnuke_by_t3kton_thumb%5B3%5D.jpg?imgmax=800" border="0" width="451" height="340" /></a></p><p><a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2famrelgarhytech.blogspot.com%2f2008%2f09%2fdotnetnuke-skin-customized.html"><img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2famrelgarhytech.blogspot.com%2f2008%2f09%2fdotnetnuke-skin-customized.html" border="0" alt="kick it on DotNetKicks.com" /></a><br /></p>Amrhttp://www.blogger.com/profile/09858019818591071259noreply@blogger.com0tag:blogger.com,1999:blog-22949387.post-2933630699147216942008-09-03T21:44:00.005+02:002008-09-03T21:54:03.661+02:00Browsers War<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkoHZteNe76tX_GxzDZdYgMkY8RtwtID-AAg31z_7O5K7ymKpn5WS8JIv8M_lmHJXSgtxPzUC_FHSR4b_mLdkKuV8k7PJQs1zQYpMRQ4SeD-hWNcWuHAjZThy8ytrPJLzmHTMOiw/s1600-h/9-3-2008+10-47-05+PM.png"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkoHZteNe76tX_GxzDZdYgMkY8RtwtID-AAg31z_7O5K7ymKpn5WS8JIv8M_lmHJXSgtxPzUC_FHSR4b_mLdkKuV8k7PJQs1zQYpMRQ4SeD-hWNcWuHAjZThy8ytrPJLzmHTMOiw/s400/9-3-2008+10-47-05+PM.png" alt="" id="BLOGGER_PHOTO_ID_5241885596696272434" border="0" /></a><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOI6CZDF3Tj2VZd2IxTLIkJirAmS6LXPd_0vlIedu7kMju2hqy0BfGZSUkcrFQcMzL84bH-mcdCzXCPL4m4lWNH8nj7aIpYQ-q2QxZLX4-fUBrkk3zssMzhehqtLO5jlM2l-VuUw/s1600-h/9-3-2008+10-45-27+PM.png"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOI6CZDF3Tj2VZd2IxTLIkJirAmS6LXPd_0vlIedu7kMju2hqy0BfGZSUkcrFQcMzL84bH-mcdCzXCPL4m4lWNH8nj7aIpYQ-q2QxZLX4-fUBrkk3zssMzhehqtLO5jlM2l-VuUw/s400/9-3-2008+10-45-27+PM.png" alt="" id="BLOGGER_PHOTO_ID_5241885420015824978" border="0" /></a><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDjqMgS3QoD2Hqa9WPx8E8yMBdgER3m5SGZI4awl8rVgB0U-P995FlQ01n84FltmjgvQKO-68rd6rgtm7AHtaYvMOA9GNKDd0gcqrKToyvjfgRq5k3ZlGAAtvCwB7J_yRmL-dV6w/s1600-h/9-3-2008+10-42-32+PM.png"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDjqMgS3QoD2Hqa9WPx8E8yMBdgER3m5SGZI4awl8rVgB0U-P995FlQ01n84FltmjgvQKO-68rd6rgtm7AHtaYvMOA9GNKDd0gcqrKToyvjfgRq5k3ZlGAAtvCwB7J_yRmL-dV6w/s400/9-3-2008+10-42-32+PM.png" alt="" id="BLOGGER_PHOTO_ID_5241884899407638242" border="0" /></a><br />They will fight "Browsers Companies", we will win "Users" :)Amrhttp://www.blogger.com/profile/09858019818591071259noreply@blogger.com1tag:blogger.com,1999:blog-22949387.post-61891559485712573692008-08-29T20:49:00.004+02:002008-08-29T21:16:33.355+02:00Just a question "Yahoo Shuts Down Mash"<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLK-bpq3bKv3kGSZ6m2zFm9Ji6dw3o5dYJ8B6Gpt2le9lDcVfZ7H4phLmJNlpkKUWj8zXkmlOOqgMhDM70MKjUbpylYk_8ViSU_iEfd9jO8ep55dOPY4-y-ADLTVFISgmn_zTRrg/s1600-h/question-mark.jpg"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLK-bpq3bKv3kGSZ6m2zFm9Ji6dw3o5dYJ8B6Gpt2le9lDcVfZ7H4phLmJNlpkKUWj8zXkmlOOqgMhDM70MKjUbpylYk_8ViSU_iEfd9jO8ep55dOPY4-y-ADLTVFISgmn_zTRrg/s400/question-mark.jpg" alt="" id="BLOGGER_PHOTO_ID_5240020645706117906" border="0" /></a><br /><a href="http://www.techcrunch.com/2008/08/28/yahoo-shuts-down-mash-0-4-on-social-networking/" rel="bookmark" title="Permanent Link to Yahoo Shuts Down Mash, 0-4 On Social Networking">Yahoo Shuts Down Mash, 0-4 On Social Networking</a><br /><br /><br />What will happen for you if you saw the following news while checking your mails or RSS?<br /><br />Google Shuts Down Google Docs (will lose all your documents?)<br />Google Shuts Down Blogger (will lose all your ideas you wrote?)<br />Google Shuts Down Gmail (will lose your mails? "hell")<br /><br />Facebook Shuts Down (will lose contact to all you friends?)<br /><br /><br /><br />My Advice:<br />Use these tools, they are nice and its a must to use them, but please don't put all what you have there, to make your life rely on them, you still have space on your hard disc for saving files, you still have a small note to save your ideas, contacts,.......Amrhttp://www.blogger.com/profile/09858019818591071259noreply@blogger.com0tag:blogger.com,1999:blog-22949387.post-73160135168272401252008-08-16T15:00:00.003+03:002008-09-02T13:36:02.183+02:00List of countries, cities, languages<p><a href="http://lh5.ggpht.com/amrelgarhy81/SKbBIt4MrhI/AAAAAAAAAac/gQ9Pi1fLv9A/s1600-h/WORLD_MAP_by_SUNZHINE%5B3%5D.jpg"><img style="border: 0px none ;" alt="WORLD_MAP_by_SUNZHINE" src="http://lh3.ggpht.com/amrelgarhy81/SKbBPozWnJI/AAAAAAAAAag/emnQv-lhEEE/WORLD_MAP_by_SUNZHINE_thumb%5B1%5D.jpg?imgmax=800" border="0" width="438" height="349" /></a> </p> <p>You will find in the following links list of countries, cities, and their languages in CSV format, you can import into any database:</p> <p>Countries:</p> <p><a href="http://www.ziddu.com/download/1936707/Country.csv.html"><b>http://www.ziddu.com/download/1936707/Country.csv.html</b></a></p> <p>Cities:</p> <p><a href="http://www.ziddu.com/download/1936708/City.csv.html"><b>http://www.ziddu.com/download/1936708/City.csv.html</b></a></p> <p>Languages:</p> <p><a href="http://www.ziddu.com/download/1936713/Language.csv.html"><b>http://www.ziddu.com/download/1936713/Language.csv.html</b></a></p> <p> </p> <p>and the following is the sql script to create these tables in sql server 2005:</p> <div> <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; background-color: rgb(244, 244, 244);font-family:consolas,'Courier New',courier,monospace;font-size:8pt;"><span style="color: rgb(0, 0, 255);">USE</span> [World]<br /><span style="color: rgb(0, 0, 255);">GO</span><br />/****** <span style="color: rgb(0, 0, 255);">Object</span>: <span style="color: rgb(0, 0, 255);">Table</span> [dbo].[City] Script <span style="color: rgb(0, 0, 255);">Date</span>: 08/16/2008 14:48:58 ******/<br /><span style="color: rgb(0, 0, 255);">SET</span> ANSI_NULLS <span style="color: rgb(0, 0, 255);">ON</span><br /><span style="color: rgb(0, 0, 255);">GO</span><br /><span style="color: rgb(0, 0, 255);">SET</span> QUOTED_IDENTIFIER <span style="color: rgb(0, 0, 255);">ON</span><br /><span style="color: rgb(0, 0, 255);">GO</span><br /><span style="color: rgb(0, 0, 255);">CREATE</span> <span style="color: rgb(0, 0, 255);">TABLE</span> [dbo].[City](<br /> [ID] [<span style="color: rgb(0, 0, 255);">int</span>] <span style="color: rgb(0, 0, 255);">NOT</span> <span style="color: rgb(0, 0, 255);">NULL</span>,<br /> [Name] [nvarchar](35) <span style="color: rgb(0, 0, 255);">COLLATE</span> Arabic_CI_AS <span style="color: rgb(0, 0, 255);">NOT</span> <span style="color: rgb(0, 0, 255);">NULL</span>,<br /> [CountryCode] [nvarchar](3) <span style="color: rgb(0, 0, 255);">COLLATE</span> Arabic_CI_AS <span style="color: rgb(0, 0, 255);">NOT</span> <span style="color: rgb(0, 0, 255);">NULL</span>,<br /> [District] [nvarchar](20) <span style="color: rgb(0, 0, 255);">COLLATE</span> Arabic_CI_AS <span style="color: rgb(0, 0, 255);">NULL</span>,<br /> [Population] [<span style="color: rgb(0, 0, 255);">int</span>] <span style="color: rgb(0, 0, 255);">NULL</span><br />) <span style="color: rgb(0, 0, 255);">ON</span> [<span style="color: rgb(0, 0, 255);">PRIMARY</span>]<br /><br /><span style="color: rgb(0, 0, 255);">GO</span><br />/****** <span style="color: rgb(0, 0, 255);">Object</span>: <span style="color: rgb(0, 0, 255);">Table</span> [dbo].[Country] Script <span style="color: rgb(0, 0, 255);">Date</span>: 08/16/2008 14:48:58 ******/<br /><span style="color: rgb(0, 0, 255);">SET</span> ANSI_NULLS <span style="color: rgb(0, 0, 255);">ON</span><br /><span style="color: rgb(0, 0, 255);">GO</span><br /><span style="color: rgb(0, 0, 255);">SET</span> QUOTED_IDENTIFIER <span style="color: rgb(0, 0, 255);">ON</span><br /><span style="color: rgb(0, 0, 255);">GO</span><br /><span style="color: rgb(0, 0, 255);">CREATE</span> <span style="color: rgb(0, 0, 255);">TABLE</span> [dbo].[Country](<br /> [Code] [nvarchar](150) <span style="color: rgb(0, 0, 255);">COLLATE</span> Arabic_CI_AS <span style="color: rgb(0, 0, 255);">NOT</span> <span style="color: rgb(0, 0, 255);">NULL</span>,<br /> [Name] [nvarchar](150) <span style="color: rgb(0, 0, 255);">COLLATE</span> Arabic_CI_AS <span style="color: rgb(0, 0, 255);">NOT</span> <span style="color: rgb(0, 0, 255);">NULL</span>,<br /> [Continent] [nvarchar](150) <span style="color: rgb(0, 0, 255);">COLLATE</span> Arabic_CI_AS <span style="color: rgb(0, 0, 255);">NOT</span> <span style="color: rgb(0, 0, 255);">NULL</span>,<br /> [Region] [nvarchar](150) <span style="color: rgb(0, 0, 255);">COLLATE</span> Arabic_CI_AS <span style="color: rgb(0, 0, 255);">NOT</span> <span style="color: rgb(0, 0, 255);">NULL</span>,<br /> [SurfaceArea] [nvarchar](150) <span style="color: rgb(0, 0, 255);">NOT</span> <span style="color: rgb(0, 0, 255);">NULL</span>,<br /> [IndepYear] [nvarchar](150) <span style="color: rgb(0, 0, 255);">NULL</span>,<br /> [Population] [nvarchar](150) <span style="color: rgb(0, 0, 255);">NOT</span> <span style="color: rgb(0, 0, 255);">NULL</span>,<br /> [LifeExpectancy] [nvarchar](150) <span style="color: rgb(0, 0, 255);">NULL</span>,<br /> [GNP] [nvarchar](150) <span style="color: rgb(0, 0, 255);">NULL</span>,<br /> [GNPOld] [nvarchar](150) <span style="color: rgb(0, 0, 255);">NULL</span>,<br /> [LocalName] [nvarchar](150) <span style="color: rgb(0, 0, 255);">COLLATE</span> Arabic_CI_AS <span style="color: rgb(0, 0, 255);">NOT</span> <span style="color: rgb(0, 0, 255);">NULL</span>,<br /> [GovernmentForm] [nvarchar](150) <span style="color: rgb(0, 0, 255);">COLLATE</span> Arabic_CI_AS <span style="color: rgb(0, 0, 255);">NOT</span> <span style="color: rgb(0, 0, 255);">NULL</span>,<br /> [HeadOfState] [nvarchar](150) <span style="color: rgb(0, 0, 255);">COLLATE</span> Arabic_CI_AS <span style="color: rgb(0, 0, 255);">NULL</span>,<br /> [Capital] [nvarchar](150) <span style="color: rgb(0, 0, 255);">NULL</span>,<br /> [Code2] [nvarchar](150) <span style="color: rgb(0, 0, 255);">COLLATE</span> Arabic_CI_AS <span style="color: rgb(0, 0, 255);">NOT</span> <span style="color: rgb(0, 0, 255);">NULL</span>,<br /><span style="color: rgb(0, 0, 255);">CONSTRAINT</span> [PK_Country] <span style="color: rgb(0, 0, 255);">PRIMARY</span> <span style="color: rgb(0, 0, 255);">KEY</span> <span style="color: rgb(0, 0, 255);">CLUSTERED</span><br />(<br /> [Code] <span style="color: rgb(0, 0, 255);">ASC</span><br />)<span style="color: rgb(0, 0, 255);">WITH</span> (PAD_INDEX = <span style="color: rgb(0, 0, 255);">OFF</span>, STATISTICS_NORECOMPUTE = <span style="color: rgb(0, 0, 255);">OFF</span>, IGNORE_DUP_KEY = <span style="color: rgb(0, 0, 255);">OFF</span>, ALLOW_ROW_LOCKS = <span style="color: rgb(0, 0, 255);">ON</span>, ALLOW_PAGE_LOCKS = <span style="color: rgb(0, 0, 255);">ON</span>) <span style="color: rgb(0, 0, 255);">ON</span> [<span style="color: rgb(0, 0, 255);">PRIMARY</span>]<br />) <span style="color: rgb(0, 0, 255);">ON</span> [<span style="color: rgb(0, 0, 255);">PRIMARY</span>]<br /><br /><span style="color: rgb(0, 0, 255);">GO</span><br />/****** <span style="color: rgb(0, 0, 255);">Object</span>: <span style="color: rgb(0, 0, 255);">Table</span> [dbo].[<span style="color: rgb(0, 0, 255);">Language</span>] Script <span style="color: rgb(0, 0, 255);">Date</span>: 08/16/2008 14:48:58 ******/<br /><span style="color: rgb(0, 0, 255);">SET</span> ANSI_NULLS <span style="color: rgb(0, 0, 255);">ON</span><br /><span style="color: rgb(0, 0, 255);">GO</span><br /><span style="color: rgb(0, 0, 255);">SET</span> QUOTED_IDENTIFIER <span style="color: rgb(0, 0, 255);">ON</span><br /><span style="color: rgb(0, 0, 255);">GO</span><br /><span style="color: rgb(0, 0, 255);">CREATE</span> <span style="color: rgb(0, 0, 255);">TABLE</span> [dbo].[<span style="color: rgb(0, 0, 255);">Language</span>](<br /> [CountryCode] [nvarchar](50) <span style="color: rgb(0, 0, 255);">COLLATE</span> Arabic_CI_AS <span style="color: rgb(0, 0, 255);">NOT</span> <span style="color: rgb(0, 0, 255);">NULL</span>,<br /> [<span style="color: rgb(0, 0, 255);">Language</span>] [nvarchar](50) <span style="color: rgb(0, 0, 255);">COLLATE</span> Arabic_CI_AS <span style="color: rgb(0, 0, 255);">NOT</span> <span style="color: rgb(0, 0, 255);">NULL</span>,<br /> [IsOfficial] [<span style="color: rgb(0, 0, 255);">bit</span>] <span style="color: rgb(0, 0, 255);">NULL</span>,<br /> [Percentage] [nvarchar](50) <span style="color: rgb(0, 0, 255);">COLLATE</span> Arabic_CI_AS <span style="color: rgb(0, 0, 255);">NULL</span>,<br /><span style="color: rgb(0, 0, 255);">CONSTRAINT</span> [PK_Language] <span style="color: rgb(0, 0, 255);">PRIMARY</span> <span style="color: rgb(0, 0, 255);">KEY</span> <span style="color: rgb(0, 0, 255);">CLUSTERED</span><br />(<br /> [CountryCode] <span style="color: rgb(0, 0, 255);">ASC</span>,<br /> [<span style="color: rgb(0, 0, 255);">Language</span>] <span style="color: rgb(0, 0, 255);">ASC</span><br />)<span style="color: rgb(0, 0, 255);">WITH</span> (PAD_INDEX = <span style="color: rgb(0, 0, 255);">OFF</span>, STATISTICS_NORECOMPUTE = <span style="color: rgb(0, 0, 255);">OFF</span>, IGNORE_DUP_KEY = <span style="color: rgb(0, 0, 255);">OFF</span>, ALLOW_ROW_LOCKS = <span style="color: rgb(0, 0, 255);">ON</span>, ALLOW_PAGE_LOCKS = <span style="color: rgb(0, 0, 255);">ON</span>) <span style="color: rgb(0, 0, 255);">ON</span> [<span style="color: rgb(0, 0, 255);">PRIMARY</span>]<br />) <span style="color: rgb(0, 0, 255);">ON</span> [<span style="color: rgb(0, 0, 255);">PRIMARY</span>]<br /><br /><br /><a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2famrelgarhytech.blogspot.com%2f2008%2f08%2flist-of-countries-cities-languages.html"><img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2famrelgarhytech.blogspot.com%2f2008%2f08%2flist-of-countries-cities-languages.html" border="0" alt="kick it on DotNetKicks.com" /></a><br /></pre><br /></div>Amrhttp://www.blogger.com/profile/09858019818591071259noreply@blogger.com18tag:blogger.com,1999:blog-22949387.post-11122558134244603152008-08-02T03:27:00.001+03:002008-08-02T03:27:08.486+03:00Subsonic going visual ( SubStage )<p>Subsonic is going up in subsonic,</p> <p>everyday we feel how subsonic is a very good tool.</p> <p>They created a good visual tool called <a href="http://subsonicproject.com/2-1-pakala/using-substage/" target="_blank">SubStage</a> to easily  generate code.</p> <p><a title="http://subsonicproject.com/2-1-pakala/using-substage/" href="http://subsonicproject.com/2-1-pakala/using-substage/">http://subsonicproject.com/2-1-pakala/using-substage/</a></p> <p> <a href="http://lh5.ggpht.com/amrelgarhy81/SJOpzaUkjhI/AAAAAAAAAaY/rJk5zyjuKM4/s1600-h/subsonic%5B3%5D.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="394" alt="subsonic" src="http://lh6.ggpht.com/amrelgarhy81/SJOp1cYFE_I/AAAAAAAAAaU/yBsSxYXKEKU/subsonic_thumb%5B3%5D.jpg?imgmax=800" width="542" border="0" /></a></p> <p><a href="http://lh5.ggpht.com/amrelgarhy81/SJOpzaUkjhI/AAAAAAAAAaY/rJk5zyjuKM4/s1600-h/subsonic%5B3%5D.jpg"></a></p> Amrhttp://www.blogger.com/profile/09858019818591071259noreply@blogger.com0tag:blogger.com,1999:blog-22949387.post-74704745197852297302008-07-05T03:28:00.003+03:002008-09-04T13:00:52.267+02:00Select an option in select tag by value<div> <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; background-color: rgb(244, 244, 244);font-family:consolas,'Courier New',courier,monospace;font-size:8pt;"><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">SELECT</span> <span style="color: rgb(255, 0, 0);">name</span><span style="color: rgb(0, 0, 255);">="fruit"</span><span style="color: rgb(0, 0, 255);">></span><br /> <span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">OPTION</span> <span style="color: rgb(255, 0, 0);">value</span><span style="color: rgb(0, 0, 255);">="apple"</span><span style="color: rgb(0, 0, 255);">></span>apple<span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">option</span><span style="color: rgb(0, 0, 255);">></span><br /> <span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">OPTION</span> <span style="color: rgb(255, 0, 0);">value</span><span style="color: rgb(0, 0, 255);">="orange"</span><span style="color: rgb(0, 0, 255);">></span>orange<span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">option</span><span style="color: rgb(0, 0, 255);">></span><br /> <span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">OPTION</span> <span style="color: rgb(255, 0, 0);">value</span><span style="color: rgb(0, 0, 255);">="pear"</span><span style="color: rgb(0, 0, 255);">></span>pear<span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">option</span><span style="color: rgb(0, 0, 255);">></span><br /><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">SELECT</span><span style="color: rgb(0, 0, 255);">></span></pre><br /></div>If you need to select an option in a select tag by index you can do the following:<br /><div><br /><pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; background-color: rgb(244, 244, 244);font-family:consolas,'Courier New',courier,monospace;font-size:8pt;">document.getElementById(<span style="color: rgb(0, 96, 128);">'dropDown'</span>).selectedIndex = 1;</pre><br /></div><br />But if you want to select an option in a select tag by value you can do the following:<br /><br /><div><span style="color: rgb(0, 0, 255);">for</span>(<span style="color: rgb(0, 0, 255);">var</span> i=0; i<document.getElementById(<span style="color: rgb(0, 96, 128);">'dropDown'</span>).options.length;i++)<br /><pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; background-color: rgb(244, 244, 244);font-family:consolas,'Courier New',courier,monospace;font-size:8pt;"> <span style="color: rgb(0, 0, 255);">if</span>(document.getElementById(<span style="color: rgb(0, 96, 128);">'dropDown'</span>).options[i].value == <span style="color: rgb(0, 96, 128);">"MYVALUE"</span>)<br /> document.getElementById(<span style="color: rgb(0, 96, 128);">'dropDown'</span>).selectedIndex = i;</pre><br /><br /><br /><a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2famrelgarhytech.blogspot.com%2f2008%2f07%2fselect-option-in-select-tag-by-value.html"><img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2famrelgarhytech.blogspot.com%2f2008%2f07%2fselect-option-in-select-tag-by-value.html" border="0" alt="kick it on DotNetKicks.com" /></a><br /></div>Amrhttp://www.blogger.com/profile/09858019818591071259noreply@blogger.com0tag:blogger.com,1999:blog-22949387.post-85777585836415240842008-06-19T01:53:00.002+03:002008-06-19T01:56:39.391+03:00Disable or stop AutoCompleteExtender (Javascript)<p>To disable or stop the AutoCompleteExtender from running or calling its service to load auto suggested list, (Using Javascript)</p> <p>Its very simple</p> <p>-Set the BehaviorID property for the AutoCompleteExtender</p> <p> </p> <div> <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; background-color: rgb(244, 244, 244);font-family:consolas,'Courier New',courier,monospace;font-size:8pt;"><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">ajaxToolkit:AutoCompleteExtender</span><br /> <span style="color: rgb(255, 0, 0);">runat</span><span style="color: rgb(0, 0, 255);">="server"</span><br /> <span style="color: rgb(255, 0, 0);">ID</span><span style="color: rgb(0, 0, 255);">="autoSuggest"</span><br /> <span style="color: rgb(255, 0, 0);">TargetControlID</span><span style="color: rgb(0, 0, 255);">="SearchBox"</span><br /> <span style="color: rgb(255, 0, 0);">ServiceMethod</span><span style="color: rgb(0, 0, 255);">="GetSuggestedList"</span><br /> <span style="color: rgb(255, 0, 0);">ServicePath</span><span style="color: rgb(0, 0, 255);">="~/_Services/AutoSuggest.asmx"</span><br /> <span style="color: rgb(255, 0, 0);">MinimumPrefixLength</span><span style="color: rgb(0, 0, 255);">="2"</span><br /> <span style="color: rgb(255, 0, 0);">CompletionInterval</span><span style="color: rgb(0, 0, 255);">="1"</span><br /> <span style="color: rgb(255, 0, 0);">EnableCaching</span><span style="color: rgb(0, 0, 255);">="true"</span><br /> <span style="color: rgb(255, 0, 0);">CompletionSetCount</span><span style="color: rgb(0, 0, 255);">="10"</span><br /> <span style="color: rgb(255, 0, 0);">CompletionListCssClass</span><span style="color: rgb(0, 0, 255);">="AutoSuggestSearch"</span><br /> <span style="color: rgb(255, 0, 0);">CompletionListItemCssClass</span><span style="color: rgb(0, 0, 255);">="listItem"</span><br /> <span style="color: rgb(255, 0, 0);">CompletionListHighlightedItemCssClass</span><span style="color: rgb(0, 0, 255);">="highlightedListItem"</span><br /> <span style="color: rgb(255, 0, 0);">BehaviorID</span><span style="color: rgb(0, 0, 255);">="autoSuggest"</span><br /> <span style="color: rgb(0, 0, 255);">/></span></pre><br /></div><br /><br /><p>Then using javascript just write:</p><br /><br /><div><br /> <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; background-color: rgb(244, 244, 244);font-family:consolas,'Courier New',courier,monospace;font-size:8pt;"><span style="color: rgb(0, 0, 255);">function</span> selectType()<br />{<br /> <span style="color: rgb(0, 0, 255);">var</span> a = $find(<span style="color: rgb(0, 96, 128);">"autoSuggest"</span>);<br /> a.set_serviceMethod(<span style="color: rgb(0, 96, 128);">''</span>);<br />}</pre><br /></div><br />By setting the service method to empty, the autosuggestextender will not find the service to call and will stop working<br /><br /><a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2famrelgarhytech.blogspot.com%2f2008%2f06%2fdisable-or-stop-autocompleteextender.html"><img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2famrelgarhytech.blogspot.com%2f2008%2f06%2fdisable-or-stop-autocompleteextender.html" border="0" alt="kick it on DotNetKicks.com" /></a>Amrhttp://www.blogger.com/profile/09858019818591071259noreply@blogger.com3tag:blogger.com,1999:blog-22949387.post-36528115098181849412008-06-17T23:19:00.002+03:002008-06-17T23:24:32.063+03:00Window.open invalid argument<p>Just a hint about a simple problem could happen to you while writing javascript code to open a new browser window using window.open, it may give you the following error message box</p> <p><a href="http://lh3.ggpht.com/amrelgarhy81/SFgcZxkTp4I/AAAAAAAAAaI/X4w83sHH-lA/s1600-h/windowopenerror2.jpg"><img style="border-width: 0px;" alt="windowopenerror" src="http://lh4.ggpht.com/amrelgarhy81/SFgca-s8uSI/AAAAAAAAAaM/S0Ad1hoKhE0/windowopenerror_thumb.jpg?imgmax=800" border="0" height="163" width="225" /></a> </p> <p>in case you wrote it like that:</p> <p>window.open("<a href="http://www.google.com/talk/service/badge/Start?tk=z01q6amlqma09ncbnh1qtjj35sk427q45j0470f5768fsognnbl0q1u7la1bmvd3nrb6632csh5ajka4cg7r6k3umnloe2nkn3c6giocojcjaqbkeualc9ij8m3k91bl96jrjb32j7l4aodlbc715s9l57u65ck72jtdoccpp0ao82pt7cinclegop3tcvb78pk">http://www.google.com"</a>, "This Is My Page", "status=1, width=300,height=500");</p> <p>where is the wrong argument?</p> <p>its the name argument "This Is My Page"</p> <p>You can write it like that (without spaces):</p> <p>window.open("<a href="http://www.google.com/talk/service/badge/Start?tk=z01q6amlqma09ncbnh1qtjj35sk427q45j0470f5768fsognnbl0q1u7la1bmvd3nrb6632csh5ajka4cg7r6k3umnloe2nkn3c6giocojcjaqbkeualc9ij8m3k91bl96jrjb32j7l4aodlbc715s9l57u65ck72jtdoccpp0ao82pt7cinclegop3tcvb78pk">http://www.google.com"</a>, "ThisIsMyPage", "status=1, width=300,height=500");</p> <p>Note:</p> <p>It wont give you any errors in firefox in both cases, this error just happen in IE.</p> <p><a href="http://javascript.about.com/library/blpopup10.htm" target="_blank">window.open good article</a></p><p><br /></p><p><a href="http://javascript.about.com/library/blpopup10.htm" target="_blank"><a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2famrelgarhytech.blogspot.com%2f2008%2f06%2fwindowopen-invalid-argument.html"><img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2famrelgarhytech.blogspot.com%2f2008%2f06%2fwindowopen-invalid-argument.html" border="0" alt="kick it on DotNetKicks.com" /></a><br /></a></p>Amrhttp://www.blogger.com/profile/09858019818591071259noreply@blogger.com11tag:blogger.com,1999:blog-22949387.post-59463032651052676622008-05-31T01:15:00.006+03:002008-05-31T17:44:25.106+03:00Post to your blog without ever leaving Firefox (ScribeFire)<span style="color: rgb(0, 153, 0);font-size:130%;" >Post to your blog without ever leaving Firefox</span><br /><br /><span style="font-size:180%;"><a href="http://www.scribefire.com/">ScribeFire</a></span> is an extension for the Mozilla Firefox Web Browser that integrates with your browser to let you easily post to your blog: you can drag and drop formatted text from pages you are browsing, take notes, and post to your blog.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.scribefire.com/"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-ZLV0Cv2ivNsVdPyfB6Lm08g8ygBrLDqV_Z_W5Y9esxNlm741YYc2shj6oKxcXPZBmFtmqzqq7CZQl7LQNpF-Zsz_IX5baJN8UKOsW1KUZPHC2lOiqua4GpIY__zMZOpGY_K1Vg/s400/scibefire.jpg" alt="" id="BLOGGER_PHOTO_ID_5206298194291308226" border="0" /></a>Amrhttp://www.blogger.com/profile/09858019818591071259noreply@blogger.com1tag:blogger.com,1999:blog-22949387.post-79813796504977197792008-05-28T02:02:00.001+03:002008-06-22T13:51:29.912+03:00Links<h5></h5> <a href="http://blogs.msdn.com/johnwpowell/archive/2008/05/22/the-7-habits-of-highly-effective-developers.aspx" target="_blank">The 7 Habits of Highly Effective Developers</a> <h5><a href="http://www.dimebrain.com/2007/07/a-dual-slider-f.html" target="_blank">A Dual Slider for AJAX Control Toolkit</a></h5> <h3><a href="http://www.readwriteweb.com/archives/whats_killing_twitter.php" target="_blank">What's Killing Twitter: Twitter Gets Help Digging its Grave</a></h3> <p><a href="http://www.sharepointjoel.com/Lists/Posts/Post.aspx?ID=34"><font size="1">Ranking Your Blog - Managing and Gaining Popularity</font></a></p> <h4><a href="http://weblogs.asp.net/dwahlin/archive/2008/05/27/free-ebook-best-of-simple-talk-asp-net.aspx" target="_blank">Free eBook - Best of Simple Talk ASP.NET</a></h4> <h3> </h3> <h2></h2> <h2><a href="http://www.hookedonlinq.com/Default.aspx?AspxAutoDetectCookieSupport=1" target="_blank">Hooked on LINQ - Developers' Wiki for .NET Language Integrated Query</a></h2> <h2></h2> <p> </p> <h2><a href="http://dotnetperls.com/Content/Precompiled-ASPNET.aspx" target="_blank">ASP.NET - Precompiled Site Options</a></h2> <h3> </h3> <h3><a href="http://blogs.telerik.com/AtanasKorchev/Posts/08-06-06/The_difference_between_ID_ClientID_and_UniqueID.aspx" target="_blank">The difference between ID, ClientID and UniqueID</a></h3> <h3> </h3> <h2></h2> <h2><a href="http://www.codeplex.com/WebserviceStudio" target="_blank">WebServiceStudio</a></h2> <p> </p> <h2><a href="http://lifehacker.com/395353/ietester-renders-sites-like-internet-explorer-55-through-8" target="_blank">IETester Renders Sites like Internet Explorer 5.5 Through 8</a></h2> <p> </p> <h2><a href="http://sixrevisions.com/tools/faster_web_page/" target="_blank">15 Tools to Help You Develop Faster Web Pages</a></h2> Amrhttp://www.blogger.com/profile/09858019818591071259noreply@blogger.com0tag:blogger.com,1999:blog-22949387.post-11494936611530992412008-05-28T02:01:00.001+03:002008-05-28T02:01:19.621+03:00Take care from your HTML comments<p>Commenting in html code may make a web page renders the wrong way,</p> <p>The problem i faced is if you wrote:</p> <p><!-- some comments <!-- another some comments --></p> <p>OR</p> <p><!------> hello--></p> <p>Not all HTML parsers get this right, so my problem was that the VS and dream weaver consider it as comments but in the browser i saw "some comments, hello-->" showing, so the browser didn't consider it as a HTML comment, so take care from this point.</p> <p> </p> <a href="http://htmlhelp.com/reference/wilbur/misc/comment.html" target="_blank">See some more hints about html comments</a> Amrhttp://www.blogger.com/profile/09858019818591071259noreply@blogger.com0tag:blogger.com,1999:blog-22949387.post-52633381853163947472008-05-22T15:53:00.004+03:002008-05-23T15:12:53.646+03:00The biggest collection of "Programming Jokes"The best and biggest programming jokes i read online:<br /><br /><a href="http://www.devtopics.com/best-programming-jokes/">http://www.devtopics.com/best-programming-jokes/</a><br /><br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcy4k-tVKOK9HscFveMYAXA2boaDz6cc5jWde36Rq8qq60dlezUYGFZnEyAtdT3L9Qj3JMj0U8Ar40zAg-dzXkHWzwIeDqDY_EVUrmVtKWQ3D1PDH9LYozdT8lQw66MMikTN6fSQ/s1600-h/vbpower.jpg"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcy4k-tVKOK9HscFveMYAXA2boaDz6cc5jWde36Rq8qq60dlezUYGFZnEyAtdT3L9Qj3JMj0U8Ar40zAg-dzXkHWzwIeDqDY_EVUrmVtKWQ3D1PDH9LYozdT8lQw66MMikTN6fSQ/s400/vbpower.jpg" alt="" id="BLOGGER_PHOTO_ID_5203186619334375090" border="0" /></a><br /><br /><a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2famrelgarhytech.blogspot.com%2f2008%2f05%2fbiggest-collection-of-programming-jokes.html"><img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2famrelgarhytech.blogspot.com%2f2008%2f05%2fbiggest-collection-of-programming-jokes.html" border="0" alt="kick it on DotNetKicks.com" /></a>Amrhttp://www.blogger.com/profile/09858019818591071259noreply@blogger.com1tag:blogger.com,1999:blog-22949387.post-50416947992624705332008-05-16T14:35:00.003+03:002008-05-23T15:10:24.087+03:00Add Microsoft Ajax reference to javascript file<p>To use microsoft ajax library reference inside your javascript file and see the Intellisense (VS 2008) while writing your javascript code:</p><br /><p>/// <reference name="MicrosoftAjax.debug.js" /></p><p><br /></p><p><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSgAH4sm-8-_HMFmli9U_NPDtzEXUttRQGCVjEb4uZr59lo4TZobFNC7rAjC2yXYx3IScjLRZkadJhRqpM2ZxEoNDpusCYDNZf2acA0k2T4iNh_BH7SWBhFGbLpBoI_DP2XwpT5Q/s1600-h/ajax.png"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSgAH4sm-8-_HMFmli9U_NPDtzEXUttRQGCVjEb4uZr59lo4TZobFNC7rAjC2yXYx3IScjLRZkadJhRqpM2ZxEoNDpusCYDNZf2acA0k2T4iNh_BH7SWBhFGbLpBoI_DP2XwpT5Q/s320/ajax.png" alt="" id="BLOGGER_PHOTO_ID_5200938384146782914" border="0" /></a></p><p><a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2famrelgarhytech.blogspot.com%2f2008%2f05%2fadd-microsoft-ajax-reference-to.html"><img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2famrelgarhytech.blogspot.com%2f2008%2f05%2fadd-microsoft-ajax-reference-to.html" border="0" alt="kick it on DotNetKicks.com" /></a><br /></p>Amrhttp://www.blogger.com/profile/09858019818591071259noreply@blogger.com0tag:blogger.com,1999:blog-22949387.post-44166737641028237712008-05-15T22:50:00.004+03:002008-05-15T23:26:45.522+03:00Show hide system objects SQL Server's Enterprise Manager<p>If you want to show or hide the system objects in SQL server's enterprise manager such as "master database, system tables, system stored procedures":</p> <p><strong><u>1- In SQL Server 7.0 and SQL Server 2000:</u></strong></p><br /><p><u>Step 1:</u></p><p><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjV1y_vbVatxAPe4snabnzspEIzBa62UkA2BIXYeJ2llKAC3twH8Lyw4kR3EEl7JJTzE7mdYp6-kToXGwugzYYt6kdja8EPUC90D5kqwhcxkWq0F6qkiDRywnsM6mHS0TqYgWHYQw/s1600-h/sql1.jpg"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjV1y_vbVatxAPe4snabnzspEIzBa62UkA2BIXYeJ2llKAC3twH8Lyw4kR3EEl7JJTzE7mdYp6-kToXGwugzYYt6kdja8EPUC90D5kqwhcxkWq0F6qkiDRywnsM6mHS0TqYgWHYQw/s320/sql1.jpg" alt="" id="BLOGGER_PHOTO_ID_5200695065659529858" border="0" /></a></p> <p> </p> <p><br /><u>Step 2:</u></p><p><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkOj4AwyLamrYp7tGFsB_S1wkp3Zs0iKtUoMtYhvGyEb2ea77Zn_j75ThfeA8VSFzITiTUatwz-_4jEJnV9qk0u23my0ZBC8DQAObcmrgUjK1Bp0vlO08evjrdd0GZCQzFhZ0A0A/s1600-h/sql2.jpg"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkOj4AwyLamrYp7tGFsB_S1wkp3Zs0iKtUoMtYhvGyEb2ea77Zn_j75ThfeA8VSFzITiTUatwz-_4jEJnV9qk0u23my0ZBC8DQAObcmrgUjK1Bp0vlO08evjrdd0GZCQzFhZ0A0A/s320/sql2.jpg" alt="" id="BLOGGER_PHOTO_ID_5200695314767633042" border="0" /></a></p> <p> </p> <p> </p> <p><strong><u>2- In SQL Server 2005's Management Studio:</u></strong></p> <p><u>Step 1:</u></p><p><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgFLX9_3_477IRrrHkEqc68RKz3ySTmjeXR0All4yqZHJzfXteU_WkBJGtODDQX_K9SHC2eyMwcPcdkHVOnttb_YMeCAIh-ZM5lYutNEEynZ6poxXcDB4FlOwG5zYMKwoOTBqhbA/s1600-h/sql3.jpg"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgFLX9_3_477IRrrHkEqc68RKz3ySTmjeXR0All4yqZHJzfXteU_WkBJGtODDQX_K9SHC2eyMwcPcdkHVOnttb_YMeCAIh-ZM5lYutNEEynZ6poxXcDB4FlOwG5zYMKwoOTBqhbA/s320/sql3.jpg" alt="" id="BLOGGER_PHOTO_ID_5200695572465670818" border="0" /></a></p> <p> </p> <p><u>Step 2:</u></p><p><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwb6ahlSd-R4rpOWh8vCUwJZbxv10vjSqKugdcvPDlwF6xXOLV4FFL5JuZMHR2_iAvL7XV87ionmUpy6WeE6QNCnDkiMMyjQUsVbbZmrW8xJ0NXyWvkKjca6V80G8h9xm_a-QMbg/s1600-h/sql4.jpg"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwb6ahlSd-R4rpOWh8vCUwJZbxv10vjSqKugdcvPDlwF6xXOLV4FFL5JuZMHR2_iAvL7XV87ionmUpy6WeE6QNCnDkiMMyjQUsVbbZmrW8xJ0NXyWvkKjca6V80G8h9xm_a-QMbg/s320/sql4.jpg" alt="" id="BLOGGER_PHOTO_ID_5200695821573774002" border="0" /></a></p> <p> </p> <p>Hint: In SQL Server 2005's Management Studio you will need to restart the management studio to make changes take effect.</p><br /><p><a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2famrelgarhytech.blogspot.com%2f2008%2f05%2fshow-hide-system-objects-sql-server.html"><img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2famrelgarhytech.blogspot.com%2f2008%2f05%2fshow-hide-system-objects-sql-server.html" border="0" alt="kick it on DotNetKicks.com" /></a><br /></p>Amrhttp://www.blogger.com/profile/09858019818591071259noreply@blogger.com0tag:blogger.com,1999:blog-22949387.post-25988358849444754612008-04-30T11:44:00.006+03:002008-04-30T11:55:41.054+03:00Free File hostingi found a very good website for file hosting for free.<br />You can upload there any files and refer friends to download.<br />try it:<br /><br /><span style="font-weight:bold;"><a href="http://www.ziddu.com/register.php?referralid=(y];NcQs9a">Ziddu</a></span><br /><br /><br /><br /><br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBEu37XEx6O_v8hq1qI9ASiC5iYICrDqbWggrJXtsaWj9OA7PQ-UVeyA6vn14a7OPKQjc63q-Ymz77LtKTDo0a9BEIEqPHCJ6Kjnh5Y6bBpb6v8d9aH1_Cni4tnvGgzbHhS1OQ2w/s1600-h/ziddu.jpg"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBEu37XEx6O_v8hq1qI9ASiC5iYICrDqbWggrJXtsaWj9OA7PQ-UVeyA6vn14a7OPKQjc63q-Ymz77LtKTDo0a9BEIEqPHCJ6Kjnh5Y6bBpb6v8d9aH1_Cni4tnvGgzbHhS1OQ2w/s320/ziddu.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5194958332747499394" /></a>Amrhttp://www.blogger.com/profile/09858019818591071259noreply@blogger.com0tag:blogger.com,1999:blog-22949387.post-9443303644887112802008-03-27T23:32:00.003+02:002008-03-27T23:39:03.430+02:00Free Icons 3 (32 X 32)<p>Download many free icons.</p> <p>1039 Free icon.</p> <p>Download by clicking on the following links.</p> <p><a href="http://www.ziddu.com/download.php?uid=ZrKgl5qlZayZlOKnYqqhkZSoX6ygmpSu2" target="_blank">actions</a></p> <p><a href="http://www.ziddu.com/download.php?uid=bbKgnZSlbrGanOKnZqqhkZSoY6ygnZuo6" target="_blank">apps</a></p> <p><a href="http://www.ziddu.com/download.php?uid=ba6dl5yraq%2BclJentqyZlJyiaK2Wlput8">devices</a></p> <p><a href="http://www.ziddu.com/download.php?uid=Za%2BanJSoaLKbluKnY6qhkZSoYKygl5Wq3">filesystems</a></p> <p><a href="http://www.ziddu.com/download.php?uid=arKgnZqlY7CelpStr6yZlJyiYa2Wlpur1">mimetypes</a><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-BwdrdCG5ThHNpawXZRlG-cnNp-GwjGCV38zChQGDWsY_nBEP5-BMR051zddWnv7v6cvw7pWe4YhdhDzOoliJTjRWfIj3Fu0ioX8kSHTdnm-85KcQdh_FKENsVGJoJINt5Jvr8Q/s1600-h/icons3.png"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 494px; height: 241px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-BwdrdCG5ThHNpawXZRlG-cnNp-GwjGCV38zChQGDWsY_nBEP5-BMR051zddWnv7v6cvw7pWe4YhdhDzOoliJTjRWfIj3Fu0ioX8kSHTdnm-85KcQdh_FKENsVGJoJINt5Jvr8Q/s320/icons3.png" alt="" id="BLOGGER_PHOTO_ID_5182538595086249906" border="0" /></a></p> <p> </p> <p><a href="http://amrelgarhytech.blogspot.com/2008/03/free-icons-2-22-x-22.html">22 X 22 Version</a></p> <p><a href="http://amrelgarhytech.blogspot.com/2008/03/free-icons-1-16x16.html">16 X 16 Version</a></p> <p> </p>Amrhttp://www.blogger.com/profile/09858019818591071259noreply@blogger.com0tag:blogger.com,1999:blog-22949387.post-6442920448924467992008-03-22T22:56:00.002+02:002008-03-22T23:31:05.296+02:00Add to bookmarks<p>Javascript simple code to add the current url to bookmarks (FireFox), or Favorites (IE).</p> <div style="border: 1px solid gray; margin: 20px 0px 10px; padding: 4px; overflow: auto; width: 97.5%; cursor: text; max-height: 200px; line-height: 12pt; background-color: rgb(244, 244, 244);font-family:consolas,'Courier New',courier,monospace;font-size:8pt;"> <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; width: 100%; color: black; line-height: 12pt; background-color: rgb(244, 244, 244);font-family:consolas,'Courier New',courier,monospace;font-size:8pt;"><span style="color: rgb(0, 0, 255);">function</span> addToBookMarks()<br />{<br /> <span style="color: rgb(0, 0, 255);">if</span>(document.all) <span style="color: rgb(0, 128, 0);">//IE</span><br /> window.external.AddFavorite(location.href,document.title);<br /> <span style="color: rgb(0, 0, 255);">else</span> <span style="color: rgb(0, 0, 255);">if</span>(window.sidebar)window.sidebar.addPanel <span style="color: rgb(0, 128, 0);">//FireFox</span><br /> (document.title,location.href,<span style="color: rgb(0, 96, 128);">''</span>);<br />}</pre><br /></div> <a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2famrelgarhytech.blogspot.com%2f2008%2f03%2fadd-to-bookmarks.html"><img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2famrelgarhytech.blogspot.com%2f2008%2f03%2fadd-to-bookmarks.html" border="0" alt="kick it on DotNetKicks.com" /></a>Amrhttp://www.blogger.com/profile/09858019818591071259noreply@blogger.com3tag:blogger.com,1999:blog-22949387.post-6632154335537757002008-03-15T00:23:00.004+02:002008-03-15T00:32:04.293+02:00Free Icons 2 (22 X 22)<p>Download many free icons.</p> <p>1039 Free icon.</p> <p>Download by clicking on the following links.</p> <p> <a href="http://www.ziddu.com/download.php?uid=ZbChmZinZayZlOKnYqqhkZSoX6qhmpSq2" target="_blank">actions</a></p> <p><a href="http://www.ziddu.com/download.php?uid=a6qhnJilbbGaluKnaaqhkZSoZqqhl5iu9" target="_blank">apps</a></p> <p><a href="http://www.ziddu.com/download.php?uid=bq6cl5WrcbKempent6yZlJyiaa2WlJyn9" target="_blank">devices</a></p> <p><a href="http://www.ziddu.com/download.php?uid=bK6cnZumaqqgluKnaaqhkZSoZqqhmZqs9" target="_blank">filesystems</a></p> <p><a href="http://www.ziddu.com/download.php?uid=aa6cnZemZKqem52nsayZlJyiY62WlJyr3" target="_blank">mimetypes</a><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-0iwmkP_UnB5UNq6I4mXioM3vcVsfrpDcbplS-tXYG5cRoEXcKFj6fVzsdViQZ_HmWC_4YOdAbWPjKtlJAkpxRYtofvnUm_J1SQ6bY_IhRnCOtvnKjCR_E4tcHVpbGVRO7vpBsQ/s1600-h/icons.png"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 429px; height: 246px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-0iwmkP_UnB5UNq6I4mXioM3vcVsfrpDcbplS-tXYG5cRoEXcKFj6fVzsdViQZ_HmWC_4YOdAbWPjKtlJAkpxRYtofvnUm_J1SQ6bY_IhRnCOtvnKjCR_E4tcHVpbGVRO7vpBsQ/s320/icons.png" alt="" id="BLOGGER_PHOTO_ID_5177728579985610866" border="0" /></a></p><p><a href="http://www.ziddu.com/download.php?uid=aa6cnZemZKqem52nsayZlJyiY62WlJyr3" target="_blank"><br /></a></p><p><br /></p><p><a href="http://www.ziddu.com/download.php?uid=ZK%2BblZiuYq6bmJmlr6yZlJyiYa2WlJyp1" target="_blank"></a><a href="http://amrelgarhytech.blogspot.com/2008/03/free-icons-1-16x16.html">16 X 16 Version</a><br /></p>Amrhttp://www.blogger.com/profile/09858019818591071259noreply@blogger.com1