<?xml version="1.0" ?>

<feed xmlns="http://www.w3.org/2005/Atom">
    <title>My C# Corner</title>
    <subtitle>C# ASP.NET tools, tips, tutorials from an unemployed programmer</subtitle>
    <author>
        <name>Yousef Mannaa</name>
    </author>
    <id>http://www.mycsharpcorner.com/</id>
    <updated>2009-01-06T06:05:12-05:00</updated>
    <link rel="self" href="http://www.mycsharpcorner.com/Services/Atom.aspx" />
    <rights>Copyright (c) 2007 Yousef Mannaa</rights>

  <entry>
    <id>http://www.mycsharpcorner.com/Post.aspx?postID=57</id>
    <title>Real Estate Site in ASP.NET</title>
    <updated>2008-09-12T07:00:21-04:00</updated>
    <published>2008-09-12T07:00:21-04:00</published>
    <link rel="alternate" href="http://www.mycsharpcorner.com/Post.aspx?postID=57" />
    <category term="My Latest Projects" />
    <summary type="html">
		&lt;p&gt;Over the past month, I've been working on a &lt;a href=&quot;http://www.hishamkhraisat.com/&quot;&gt;real estate site&lt;/a&gt; for one of my clients. The site is made in Arabic, and was written in C# ASP.NET from grounds up. It allows adding, removing and modifying lands for sale, and acts like an ASP.NET&#160;template kit for any similar content management system with an Admin area. The site is now live and can be seen by following this link: &lt;a href=&quot;http://www.hishamkhraisat.com/&quot;&gt;http://www.hishamkhraisat.com/&lt;/a&gt;&lt;/p&gt;</summary>
  </entry>

  <entry>
    <id>http://www.mycsharpcorner.com/Post.aspx?postID=56</id>
    <title>Convert CSS templates from LTR to RTL for developing multi-language sites with Right To Left web design</title>
    <updated>2008-07-26T09:14:05-04:00</updated>
    <published>2008-07-26T09:14:05-04:00</published>
    <link rel="alternate" href="http://www.mycsharpcorner.com/Post.aspx?postID=56" />
    <category term="Web &amp; GUI Design" />
    <summary type="html">
		&lt;p&gt;I was working on an Arabic language site for one of my clients, and needed to adapt one of the free CSS designs out there on the web, however my problem was that the CSS design was written for Latin based languages, or more accurately for Left-To-Right languages, and I needed a quick way to convert it to work for the Arabic language, which is a&#160;Right-To-Left language. So while I was just about to put on my heavy armored CSS gear,&#160;I googled around a little and found this very cool tool published by</summary>
  </entry>

  <entry>
    <id>http://www.mycsharpcorner.com/Post.aspx?postID=55</id>
    <title>Regular Expression to Screen-Scrape VIEWSTATE value from an ASP.NET Login page</title>
    <updated>2008-06-18T06:39:40-04:00</updated>
    <published>2008-06-18T06:39:40-04:00</published>
    <link rel="alternate" href="http://www.mycsharpcorner.com/Post.aspx?postID=55" />
    <category term="RegEx" />
    <summary type="html">
		&lt;p&gt;I was working on a screen scrapping project, and was looking for away to automate the login form for an ASP.NET web page. Googling around, I found a very helpful &lt;a href=&quot;http://odetocode.com/articles/162.aspx&quot;&gt;article&lt;/a&gt; written by Scott Allen that lists the steps necessary to automate login using HttpWebRequest.&lt;/p&gt;</summary>
  </entry>

  <entry>
    <id>http://www.mycsharpcorner.com/Post.aspx?postID=54</id>
    <title>Finding strings of certain length in a bigger string using Regular Expressions</title>
    <updated>2008-05-30T10:41:45-04:00</updated>
    <published>2008-05-30T10:41:45-04:00</published>
    <link rel="alternate" href="http://www.mycsharpcorner.com/Post.aspx?postID=54" />
    <category term="RegEx" />
    <summary type="html">
		&lt;p&gt;The other day I was working on a YoutTube auto uploader software for one of my clients, and I needed to prevent passing along single character tags to the uploader engine. If you are familiar with the rules of the tag field when uploading videos to YouTube, you know that tags must be 2 or more characters long. &lt;/p&gt;</summary>
  </entry>

  <entry>
    <id>http://www.mycsharpcorner.com/Post.aspx?postID=53</id>
    <title>Customer Management Web Application in ASP.NET</title>
    <updated>2008-05-05T05:08:42-04:00</updated>
    <published>2008-05-05T05:08:42-04:00</published>
    <link rel="alternate" href="http://www.mycsharpcorner.com/Post.aspx?postID=53" />
    <category term="My Latest Projects" />
    <summary type="html">
		&lt;p&gt;This is a proect I worked on recently, it is a simple customer email followup system done in ASP.NET. &lt;/p&gt;
		&lt;p&gt;You can add/delete/update customers. The app allows you to send emails to each customer, and records the last contact date. &lt;/p&gt;
		&lt;p&gt;You can also add/delete/update predefined/defaul&#160;email text, then use them to quickly compose email letters.&lt;/p&gt;
		&lt;p&gt;You can see a demo for the app here:&lt;/p&gt;
		&lt;p&gt;
				&lt;a href=&quot;http://86.108.13.86:8088&quot;&gt;Customer Management Web App&lt;/a&gt;
		&lt;/p&gt;
		&lt;p&gt;&#160;&lt;/p&gt;</summary>
  </entry>

  <entry>
    <id>http://www.mycsharpcorner.com/Post.aspx?postID=52</id>
    <title>How to Remove Selected Items from a ListBox, ComboBox ...etc</title>
    <updated>2008-04-14T08:04:17-04:00</updated>
    <published>2008-04-14T08:04:17-04:00</published>
    <link rel="alternate" href="http://www.mycsharpcorner.com/Post.aspx?postID=52" />
    <category term="C# .NET" />
    <summary type="html">
		&lt;p&gt;I was writing a Windows Application and&#160;I had a very simple need: Remove all Selected items from a ListBox control. If you have tried to simple use code like the one below:&lt;/p&gt;</summary>
  </entry>

  <entry>
    <id>http://www.mycsharpcorner.com/Post.aspx?postID=51</id>
    <title>Alogrithm #105 in C# - Optimizing Paper Scrape When Printing Pages on a Large Sheet</title>
    <updated>2008-04-08T09:26:21-04:00</updated>
    <published>2008-04-08T09:26:21-04:00</published>
    <link rel="alternate" href="http://www.mycsharpcorner.com/Post.aspx?postID=51" />
    <category term="ASP.NET" />
    <summary type="html">
		&lt;p&gt;This is a project I worked on last year. It is an algorithm to to show the best way to cut small pieces of paper out of a larger piece. I wrote the algorithm in C# then used System.Drawing.Imaging to to demo its output&#160;on an ASP.NET page. &lt;/p&gt;
		&lt;p&gt;You can see the &lt;a href=&quot;http://projects.mycsharpcorner.com/Algorithm-105.aspx&quot;&gt;demo page here&lt;/a&gt;&lt;/p&gt;
		&lt;p&gt;Here were the project's requirements:&lt;/p&gt;</summary>
  </entry>

  <entry>
    <id>http://www.mycsharpcorner.com/Post.aspx?postID=50</id>
    <title>SharedSection &amp; Max Number of Open Windows on XP &amp; Vista</title>
    <updated>2008-03-02T08:24:00-05:00</updated>
    <published>2008-03-02T08:24:00-05:00</published>
    <link rel="alternate" href="http://www.mycsharpcorner.com/Post.aspx?postID=50" />
    <category term="Windows Tips" />
    <summary type="html">
		&lt;p class=&quot;MsoNormal&quot; style=&quot;MARGIN: 0in 0in 0pt&quot;&gt;
				&lt;font face=&quot;Calibri&quot;&gt;If you are a RAM hungry user like me, leave many windows, apps and virtual machines open on your Vista System, you have probably ran into a situation where you could not open any more windows… even though your system has plenty of RAM… (2 GB in my case &lt;/font&gt;
				&lt;span style=&quot;FONT-FAMILY: Wingdings&quot;&gt;J&lt;/span&gt;
				&lt;font face=&quot;Calibri&quot;&gt;) you would still get to a point where you are not even able to get the context menu when you</summary>
  </entry>

  <entry>
    <id>http://www.mycsharpcorner.com/Post.aspx?postID=49</id>
    <title>Hide automatically generated column fields in GridView</title>
    <updated>2007-12-26T07:04:19-05:00</updated>
    <published>2007-12-26T07:04:19-05:00</published>
    <link rel="alternate" href="http://www.mycsharpcorner.com/Post.aspx?postID=49" />
    <category term="ASP.NET" />
    <summary type="html">
		&lt;p&gt;When you bind a GridView to an ObjectSource in ASP.NET, sometimes, you don't want to display all of the columns returned from the ObjectSource DataTable, but if you use a GridView and let it autmatically generate the columns, it becomes not a striaght forward deal to hide the individual selected columns. Here is a way to do that:&lt;/p&gt;
		&lt;p&gt;Simply catch the RowDataBound event on the GridView and if you know the index of the column to hide, just use it as follows:&lt;/p&gt;</summary>
  </entry>

  <entry>
    <id>http://www.mycsharpcorner.com/Post.aspx?postID=48</id>
    <title>Primary And Secondary Sorting for a DataTable in a DataSet</title>
    <updated>2007-07-24T05:30:20-04:00</updated>
    <published>2007-07-24T05:30:20-04:00</published>
    <link rel="alternate" href="http://www.mycsharpcorner.com/Post.aspx?postID=48" />
    <category term="C# .NET" />
    <summary type="html">
		&lt;p&gt;I recently stumbled across the following C# code that allows sorting and filtering rows in a DataTable using DataTable.Select method:&lt;/p&gt;
		&lt;p&gt;
				&lt;a href=&quot;http://authors.aspalliance.com/olson/methods/FilterSortData.aspx&quot;&gt;http://authors.aspalliance.com/olson/methods/FilterSortData.aspx&lt;/a&gt;
		&lt;/p&gt;
		&lt;p&gt;However, what I needed was to sort on a primary column, then if DataRows had the same value for the primary column, perform a secondary sort based on another secondary column.&lt;/p&gt;</summary>
  </entry>

  <entry>
    <id>http://www.mycsharpcorner.com/Post.aspx?postID=47</id>
    <title>Free FTP client in Windows XP!</title>
    <updated>2007-06-26T18:56:00-04:00</updated>
    <published>2007-06-26T18:56:00-04:00</published>
    <link rel="alternate" href="http://www.mycsharpcorner.com/Post.aspx?postID=47" />
    <category term="Misc Tips" />
    <summary type="html">
		&lt;p&gt;Not many people know that you can use your simple Windows Explorer with as an FTP client to upload and download files... Well maybe I'm the only one who doesn't know, but it surely made my day today when I found out.&lt;/p&gt;
		&lt;p&gt;The nice thing about using Windows Explorer as an FTP client is that you get all the drag and drop features that come with it, while uploading and downloading remotely, and no need to buy an FTP client software.&lt;/p&gt;</summary>
  </entry>

  <entry>
    <id>http://www.mycsharpcorner.com/Post.aspx?postID=46</id>
    <title>YouTube Like Project in ASP.NET</title>
    <updated>2007-06-05T18:23:18-04:00</updated>
    <published>2007-06-05T18:23:18-04:00</published>
    <link rel="alternate" href="http://www.mycsharpcorner.com/Post.aspx?postID=46" />
    <category term="My Latest Projects" />
    <summary type="html">
		&lt;p&gt;I recently finished working on a &lt;a href=&quot;http://videos.mycsharpcorner.com&quot;&gt;YouTube-like project&lt;/a&gt; where you can upload any video file (mpeg, avi...etc.) and automatically convert it into FLV then display a link to the converted video into an online flash movie player. &lt;/p&gt;
		&lt;p&gt;The project involved using the free open source utility ffmpeg along with some other utilities from around the net. In addition it shows upload progress as the user is uploading the movie file. &lt;/p&gt;</summary>
  </entry>

  <entry>
    <id>http://www.mycsharpcorner.com/Post.aspx?postID=45</id>
    <title>From Relative Path to Absolute Path in ASP.NET without using the Tilde ~ </title>
    <updated>2007-05-29T07:36:58-04:00</updated>
    <published>2007-05-29T07:36:58-04:00</published>
    <link rel="alternate" href="http://www.mycsharpcorner.com/Post.aspx?postID=45" />
    <category term="ASP.NET" />
    <summary type="html">
		&lt;p&gt;We all know in ASP.NET, to get the absolute path from the relative path, you can prefix your relative path with the Tilde character as follows:&lt;/p&gt;
		&lt;p&gt;
				&lt;font face=&quot;Courier New&quot; size=&quot;2&quot;&gt;MyHyperLink.NavigateUrl &lt;font color=&quot;#a52a2a&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;=&lt;/font&gt; &quot;~/Catalog/ASP/Products&quot;&lt;/font&gt;;&lt;/font&gt;
		&lt;/p&gt;</summary>
  </entry>

  <entry>
    <id>http://www.mycsharpcorner.com/Post.aspx?postID=44</id>
    <title>Including IIF statement in SQL query for MS Access and using Is Null</title>
    <updated>2007-05-23T05:01:17-04:00</updated>
    <published>2007-05-23T05:01:17-04:00</published>
    <link rel="alternate" href="http://www.mycsharpcorner.com/Post.aspx?postID=44" />
    <category term="SQL" />
    <summary type="html">
		&lt;p&gt;I'm currently organizing an MS Access database and setting up some SQL queries that export data into CSV files for Yahoo Store. One of the things I had to do was to create fields in the CSV file that are compound of other existing fields in the database, and some that even depended on the existence of other physical fields in the Access database.&lt;?xml:namespace prefix = o ns = &quot;urn:schemas-microsoft-com:office:office&quot; /??&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;</summary>
  </entry>

  <entry>
    <id>http://www.mycsharpcorner.com/Post.aspx?postID=43</id>
    <title>SQL Select LIKE statement in MS Access needs * instead of %</title>
    <updated>2007-05-16T16:13:51-04:00</updated>
    <published>2007-05-16T16:13:51-04:00</published>
    <link rel="alternate" href="http://www.mycsharpcorner.com/Post.aspx?postID=43" />
    <category term="SQL" />
    <summary type="html">
		&lt;p&gt;Using LIKE statement in an SQL query requires specifying wild cards in the search pattern. In C# .NET, the wild card is %, however if you are building your SQL query directly from MS Access, I found out you need to use the &lt;span style=&quot;FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA&quot;&gt;asterisk &lt;/span&gt;(*) instead of (%) wild card to achieve the same result.&lt;/p&gt;</summary>
  </entry>

  <entry>
    <id>http://www.mycsharpcorner.com/Post.aspx?postID=42</id>
    <title>A More Responsive Worker Thread.Sleep in C# </title>
    <updated>2007-04-27T17:53:32-04:00</updated>
    <published>2007-04-27T17:53:32-04:00</published>
    <link rel="alternate" href="http://www.mycsharpcorner.com/Post.aspx?postID=42" />
    <category term="C# .NET" />
    <summary type="html">
		&lt;p class=&quot;MsoNormal&quot; style=&quot;MARGIN: 0in 0in 0pt&quot;&gt;We all had to use &lt;span style=&quot;FONT-SIZE: 10pt; COLOR: teal; FONT-FAMILY: 'Courier New'; mso-no-proof: yes&quot;&gt;Thread&lt;/span&gt;&lt;span style=&quot;FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes&quot;&gt;.Sleep&lt;/span&gt; at one point or another to wait on an event to happen, or to satisfy a configuration setting during cyclic calculations or a processing. But is your&#160;worker thread&#160;sleeping too much? Does it feel sometimes that your code sleeps in the wrong time</summary>
  </entry>

  <entry>
    <id>http://www.mycsharpcorner.com/Post.aspx?postID=41</id>
    <title>Free Utilities And User Controls</title>
    <updated>2007-04-20T15:12:28-04:00</updated>
    <published>2007-04-20T15:12:28-04:00</published>
    <link rel="alternate" href="http://www.mycsharpcorner.com/Post.aspx?postID=41" />
    <category term="Free Utilities" />
    <summary type="html">
		&lt;p&gt;Here is a list of all the free utlities&#160;&amp;amp; user controls developed and published on &lt;a href=&quot;&quot;&gt;http://www.mycsharpcorner.com&lt;/a&gt; . More will be coming soon, but for now, here is a quick list:&lt;/p&gt;
		&lt;p&gt;
				&lt;a href=&quot;/src/SocialLinksBar.zip&quot;&gt;Social Links User Control in ASP.NET&lt;/a&gt; - Read the &lt;a href=&quot;/Post.aspx?postID=38&quot;&gt;related article&lt;/a&gt;&lt;/p&gt;</summary>
  </entry>

  <entry>
    <id>http://www.mycsharpcorner.com/Post.aspx?postID=40</id>
    <title>301 Moved Permanently Redirect &amp; ASP.NET</title>
    <updated>2007-04-17T10:03:31-04:00</updated>
    <published>2007-04-17T10:03:31-04:00</published>
    <link rel="alternate" href="http://www.mycsharpcorner.com/Post.aspx?postID=40" />
    <category term="SEO" />
    <summary type="html">
		&lt;p class=&quot;MsoNormal&quot; style=&quot;MARGIN: 0in 0in 0pt&quot;&gt;If you have done SEO work, you know that Search Engines would penalize my site if both &lt;a href=&quot;/&quot;&gt;http://www.mycsharpcorner.com&lt;/a&gt; and &lt;a href=&quot;http://mycsharpcorner.com/&quot;&gt;http://mycsharpcorner.com/&lt;/a&gt; requests returned a 200 OK code in the HTTP header. Why? Because from a Search Engine's spider point of view, there are 2 sites, one with the www prefix, and one without it, yet in reality they the same site. So what’s wrong if the Search Engine thinks</summary>
  </entry>

  <entry>
    <id>http://www.mycsharpcorner.com/Post.aspx?postID=39</id>
    <title>Column Formulas in Excel</title>
    <updated>2007-04-17T06:01:54-04:00</updated>
    <published>2007-04-17T06:01:54-04:00</published>
    <link rel="alternate" href="http://www.mycsharpcorner.com/Post.aspx?postID=39" />
    <category term="Misc Tips" />
    <summary type="html">
		&lt;p&gt;Well, this is not a programming tip; it is more of a general Excel tip from a recent assignment I had for one of my clients. I had an Excel document with two columns; one needed be calculated from the other based on a percentage formula, so:&lt;/p&gt;
		&lt;p&gt;SalePriceColumn=OriginalPriceColumn + 15% extra&lt;/p&gt;</summary>
  </entry>

  <entry>
    <id>http://www.mycsharpcorner.com/Post.aspx?postID=38</id>
    <title>Socialize your ASP.NET Pages with the Social Bar User Control</title>
    <updated>2007-04-14T07:52:14-04:00</updated>
    <published>2007-04-14T07:52:14-04:00</published>
    <link rel="alternate" href="http://www.mycsharpcorner.com/Post.aspx?postID=38" />
    <category term="ASP.NET" />
    <summary type="html">
		&lt;p&gt;Do you like the social links bar on top of this article? Do you hate it? In today's internet blog, you almost never miss seeing&#160;a &quot;Digg It&quot;, a &quot;Kick it&quot;, a &quot;Ridd It&quot; a Furl it, burl it...or squirrel it... link&#160;or icon at the end of each article&#160;you read in someone's blog. Well, regardless of the opinions people might have about this phenomenon, if you are an ASP.NET&#160;programmer like me,&#160;your concern would probably be over how to construct&#160;the &quot;social-butterfly&quot; user control, rather than</summary>
  </entry>

  <entry>
    <id>http://www.mycsharpcorner.com/Post.aspx?postID=35</id>
    <title>Website Traffic Tracker Project...</title>
    <updated>2007-04-11T18:14:37-04:00</updated>
    <published>2007-04-11T18:14:37-04:00</published>
    <link rel="alternate" href="http://www.mycsharpcorner.com/Post.aspx?postID=35" />
    <category term="Personal" />
    <summary type="html">
		&lt;p&gt;It's been three&#160;weeks since I started this project, and I've been curious to see how the site is being used, and how many people are visiting... what are they reading...etc. So I started a small little project on the side, called the Traffic Tracker. &lt;/p&gt;</summary>
  </entry>

  <entry>
    <id>http://www.mycsharpcorner.com/Post.aspx?postID=22</id>
    <title>How to insert text at a specified line number in a file using C#</title>
    <updated>2007-04-10T06:31:12-04:00</updated>
    <published>2007-04-10T06:31:12-04:00</published>
    <link rel="alternate" href="http://www.mycsharpcorner.com/Post.aspx?postID=22" />
    <category term="C# .NET" />
    <summary type="html">
		&lt;span style=&quot;FONT-FAMILY: Georgia&quot;&gt;
				&lt;span style=&quot;FONT-FAMILY: Georgia&quot;&gt;
						&lt;p style=&quot;BACKGROUND: white; LINE-HEIGHT: 150%&quot;&gt;
								&lt;span style=&quot;FONT-FAMILY: Georgia&quot;&gt;System.IO.StreamWriter allows you to write text to a file easily if you are creating the file and know the order of the lines. However, what if you are trying to edit a file? For example, you need to insert a text at a specified line number in an existing&#160;text file. Say you have a text file that contains:&lt;?xml:namespace prefix =</summary>
  </entry>

  <entry>
    <id>http://www.mycsharpcorner.com/Post.aspx?postID=33</id>
    <title>How to utilize Google gmail server in your.NET Web &amp; Windows Applications</title>
    <updated>2007-04-09T13:14:47-04:00</updated>
    <published>2007-04-09T13:14:47-04:00</published>
    <link rel="alternate" href="http://www.mycsharpcorner.com/Post.aspx?postID=33" />
    <category term="ASP.NET" />
    <summary type="html">&lt;SPAN style=&quot;FONT-FAMILY: Georgia&quot;&gt;&lt;SPAN style=&quot;FONT-FAMILY: Georgia&quot;&gt;&lt;SPAN style=&quot;FONT-FAMILY: Georgia&quot;&gt;
&lt;P style=&quot;BACKGROUND: white&quot;&gt;&lt;SPAN style=&quot;FONT-FAMILY: Georgia&quot;&gt;Did you know you can use your gmail mail server to send and receive emails programmatically for free?&lt;?xml:namespace prefix = o ns = &quot;urn:schemas-microsoft-com:office:office&quot; /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;</summary>
  </entry>

  <entry>
    <id>http://www.mycsharpcorner.com/Post.aspx?postID=34</id>
    <title>Ever wanted to know when Google bot visits your site?</title>
    <updated>2007-04-09T12:19:43-04:00</updated>
    <published>2007-04-09T12:19:43-04:00</published>
    <link rel="alternate" href="http://www.mycsharpcorner.com/Post.aspx?postID=34" />
    <category term="SEO" />
    <summary type="html">&lt;SPAN style=&quot;FONT-FAMILY: Georgia&quot;&gt;&lt;SPAN style=&quot;FONT-FAMILY: Georgia&quot;&gt;&lt;SPAN style=&quot;FONT-FAMILY: Georgia&quot;&gt;
&lt;P style=&quot;BACKGROUND: white; LINE-HEIGHT: 150%&quot;&gt;&lt;SPAN style=&quot;FONT-FAMILY: Georgia&quot;&gt;If you are monetizing your site with AdSense, one important piece of traffic you want to monitor, is when Google spider visits your site to crawl it.&amp;nbsp;Or maybe you want to know if the Google robot ever comes to visit or not, and if it does, when, and how often does it crawl your site? Doing this in ASP.NET is very</summary>
  </entry>

  <entry>
    <id>http://www.mycsharpcorner.com/Post.aspx?postID=32</id>
    <title>FindWindow Alternative in C# .NET</title>
    <updated>2007-04-05T19:34:30-04:00</updated>
    <published>2007-04-05T19:34:30-04:00</published>
    <link rel="alternate" href="http://www.mycsharpcorner.com/Post.aspx?postID=32" />
    <category term="C# .NET" />
    <summary type="html">&lt;P&gt;Back in the good (or bad :) ) days of Win32 programming, there was a nice little function named FindWindow. It enabled you to find any window belonging to any process on your system&lt;/P&gt;
&lt;P&gt;These days are gone with C# .NET, well... not quite!&lt;/P&gt;
&lt;P&gt;If you have been looking for an alternative to FindWindow, Read along. There are&amp;nbsp;two alternatives, the first involves invoking FindWindow directly from the Native Win32 DLL API, but that takes us back to the old days. &lt;/P&gt;</summary>
  </entry>

  <entry>
    <id>http://www.mycsharpcorner.com/Post.aspx?postID=31</id>
    <title>A Timer class for C# Console Applications</title>
    <updated>2007-04-05T10:29:54-04:00</updated>
    <published>2007-04-05T10:29:54-04:00</published>
    <link rel="alternate" href="http://www.mycsharpcorner.com/Post.aspx?postID=31" />
    <category term="C# .NET" />
    <summary type="html">
		&lt;p&gt;
				&lt;span style=&quot;FONT-FAMILY: Georgia&quot;&gt;In Console Applications, you don't have an event message loop like&#160;in a Windows Application project, hence, so you can't use&#160;the &lt;/span&gt;
				&lt;span style=&quot;FONT-SIZE: 10pt; LINE-HEIGHT: 110%; FONT-FAMILY: Verdana&quot;&gt;System.Windows.Forms.&lt;span style=&quot;COLOR: teal&quot;&gt;Timer &lt;/span&gt;&lt;/span&gt;
				&lt;span style=&quot;FONT-FAMILY: Georgia&quot;&gt;object since it depends on Windows Message loop to&#160;fire its tick events.&lt;/span&gt;
		&lt;/p&gt;</summary>
  </entry>

  <entry>
    <id>http://www.mycsharpcorner.com/Post.aspx?postID=30</id>
    <title>Visual Control Validator for Windows Forms in C# - Control Flasher</title>
    <updated>2007-04-05T07:10:23-04:00</updated>
    <published>2007-04-05T07:10:23-04:00</published>
    <link rel="alternate" href="http://www.mycsharpcorner.com/Post.aspx?postID=30" />
    <category term="Web &amp; GUI Design" />
    <summary type="html">
		&lt;p&gt;
				&lt;img src=&quot;/Images/ControlFlasherDemo-FlashedForm.PNG&quot; /&gt;&#160;&lt;a href=&quot;/Software/ControlFlasherDemo.zip&quot;&gt;Download&lt;/a&gt;&lt;/p&gt;
		&lt;p&gt;One common Windows Application development task is to validate a TextBox or a Windows Control against a certain value, or whether the user has entered a value at all before hitting the submit/Ok button, then display some kind of an error. &lt;?xml:namespace prefix = o ns = &quot;urn:schemas-microsoft-com:office:office&quot; /?&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;</summary>
  </entry>

  <entry>
    <id>http://www.mycsharpcorner.com/Post.aspx?postID=29</id>
    <title>Adding Registry Import capability to your C# application</title>
    <updated>2007-04-04T08:45:10-04:00</updated>
    <published>2007-04-04T08:45:10-04:00</published>
    <link rel="alternate" href="http://www.mycsharpcorner.com/Post.aspx?postID=29" />
    <category term="C# .NET" />
    <summary type="html">
		&lt;p&gt;One of my clients needed to run a script on&#160;a user machine every time the user logged in. The script would import some registry keys and settings that customize certain parts in Windows for their client.&lt;/p&gt;
		&lt;p&gt;My task was to write the script. Well, my first thought was to write a text parser for their .reg file, then using the .NET Registry classes to import all the keys into the registry one by one. &lt;/p&gt;</summary>
  </entry>

  <entry>
    <id>http://www.mycsharpcorner.com/Post.aspx?postID=28</id>
    <title>Error: The requested name is valid, but no data of the requested type was found when calling Dns GetHostByAddress</title>
    <updated>2007-04-04T07:50:01-04:00</updated>
    <published>2007-04-04T07:50:01-04:00</published>
    <link rel="alternate" href="http://www.mycsharpcorner.com/Post.aspx?postID=28" />
    <category term="ASP.NET" />
    <summary type="html">&lt;P&gt;In my previous article, &lt;A id=ctl00_Content_BlogPosts_ctl00_TitleLink href=&quot;http://www.mycsharpcorner.com/Post.aspx?postID=27&quot;&gt;&lt;FONT color=#800080&gt;How to track visitors to your site in ASP.NET &amp;amp; C#&lt;/FONT&gt;&lt;/A&gt;, I discussed how you can log the Host Info for each page visitor on your site using Dns.GetHostByAddress function.&lt;/P&gt;
&lt;P&gt;One thing I did not stress out was the need to catch all exceptions from that method call. There are cases when this call:&lt;/P&gt;</summary>
  </entry>

  <entry>
    <id>http://www.mycsharpcorner.com/Post.aspx?postID=27</id>
    <title>How to track visitors to your site in ASP.NET &amp; C#</title>
    <updated>2007-04-03T13:52:07-04:00</updated>
    <published>2007-04-03T13:52:07-04:00</published>
    <link rel="alternate" href="http://www.mycsharpcorner.com/Post.aspx?postID=27" />
    <category term="ASP.NET" />
    <summary type="html">
		&lt;p&gt;Once you have published a site in ASP.NET, you'd like to know who are your visitors. One way is to check your event log on the host server. Another option is to write your own code. You'd basically like to log the IP address, and DNS name for the visitor, and it would be nice to know which page they are visiting.&lt;/p&gt;
		&lt;p&gt;To log the ip address using ASP.NET, you can call:&lt;font size=&quot;2&quot;&gt;&lt;/font&gt;&lt;/p&gt;</summary>
  </entry>

  <entry>
    <id>http://www.mycsharpcorner.com/Post.aspx?postID=15</id>
    <title>How to find a string between two begin and end strings in C#</title>
    <updated>2007-04-03T13:51:41-04:00</updated>
    <published>2007-04-03T13:51:41-04:00</published>
    <link rel="alternate" href="http://www.mycsharpcorner.com/Post.aspx?postID=15" />
    <category term="C# .NET" />
    <summary type="html">
		&lt;p&gt;One common requirement especially when doing screen scrapping is to find strings contained between html tags, or other strings. Regular Expressions&#160;provide a powerful way to do so, but are initially intimidating for a beginner programmer. Here is an alternative solution to finding a string between two other strings that uses simple string manipulation in C#, without Regular Expressions:&lt;/p&gt;
		&lt;p&gt;Usage:&lt;/p&gt;</summary>
  </entry>

  <entry>
    <id>http://www.mycsharpcorner.com/Post.aspx?postID=17</id>
    <title>Remove a sub string between two begin and end tags in C#</title>
    <updated>2007-04-03T13:50:55-04:00</updated>
    <published>2007-04-03T13:50:55-04:00</published>
    <link rel="alternate" href="http://www.mycsharpcorner.com/Post.aspx?postID=17" />
    <category term="C# .NET" />
    <summary type="html">&lt;P&gt;We all know how to remove/replace a string in C#, for example:&lt;/P&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;string&lt;/FONT&gt;&lt;FONT size=2&gt; myString = &lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;&quot;Yousef (programmer) likes to write in C#&quot;&lt;/FONT&gt;&lt;FONT size=2&gt;;&lt;/P&gt;&lt;/FONT&gt;
&lt;P&gt;To remove &quot;(programmer)&quot;, we can write:&lt;/P&gt;&lt;FONT size=2&gt;
&lt;P&gt;myString = myString.Replace(&lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;&quot;(programmer)&quot;&lt;/FONT&gt;&lt;FONT size=2&gt;, &lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;&quot;&quot;&lt;/FONT&gt;&lt;FONT size=2&gt;);&lt;/P&gt;</summary>
  </entry>

  <entry>
    <id>http://www.mycsharpcorner.com/Post.aspx?postID=26</id>
    <title>How to track visitors to your site in ASP.NET &amp; C#</title>
    <updated>2007-04-03T13:47:31-04:00</updated>
    <published>2007-04-03T13:47:31-04:00</published>
    <link rel="alternate" href="http://www.mycsharpcorner.com/Post.aspx?postID=26" />
    <category term="ASP.NET" />
    <summary type="html">&lt;P&gt;Once you have published a site in ASP.NET, you'd like to know who are your visitors. One way is to check your event log on the host server. Another option is to write your own code. You'd basically like to log the IP address, and DNS name for the visitor, and it would be nice to know which page they are visiting.&lt;/P&gt;
&lt;P&gt;To log the ip address using ASP.NET, you can call:&lt;FONT size=2&gt;&lt;/P&gt;
&lt;P&gt;Request.ServerVariables[&lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;&quot;HTTP_X_FORWARDED_FOR&quot;&lt;/FONT&gt;&lt;FONT size=2&gt;]&lt;/P&gt;</summary>
  </entry>

  <entry>
    <id>http://www.mycsharpcorner.com/Post.aspx?postID=25</id>
    <title>Monitor programs start/stop times with Process Logger 1.0 freeware</title>
    <updated>2007-04-02T16:21:32-04:00</updated>
    <published>2007-04-02T16:21:32-04:00</published>
    <link rel="alternate" href="http://www.mycsharpcorner.com/Post.aspx?postID=25" />
    <category term="Free Utilities" />
    <summary type="html">&lt;P&gt;Process Logger monitors processes as they start and end on your computer and logs them out. It's very &lt;SPAN style=&quot;FONT-SIZE: 12pt; FONT-FAMILY: Georgia; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA&quot;&gt;useful &lt;/SPAN&gt;if you are suspecting some spy ware or even viruses being on your computer, and want to closely monitor what process starts and stops as soon as it happens. It can also help</summary>
  </entry>

  <entry>
    <id>http://www.mycsharpcorner.com/Post.aspx?postID=24</id>
    <title>Writing a simple Windows Process Logger in C#</title>
    <updated>2007-04-02T13:22:32-04:00</updated>
    <published>2007-04-02T13:22:32-04:00</published>
    <link rel="alternate" href="http://www.mycsharpcorner.com/Post.aspx?postID=24" />
    <category term="C# .NET" />
    <summary type="html">&lt;P&gt;Here is a&amp;nbsp;quick C# script&amp;nbsp;to log the start and end times of running processes on your machine.&lt;/P&gt;
&lt;P&gt;The idea is query the currently running processes every x number of seconds utilizing the Process.GetProcesses function in .NET, while maintaining a book for currently running processes each cycle, then if a new process appears (or disappears), you log the result as start and end respectively.&lt;/P&gt;
&lt;P&gt;Here is how to get currently running processes on your machine using C#:&lt;/P&gt;</summary>
  </entry>

  <entry>
    <id>http://www.mycsharpcorner.com/Post.aspx?postID=23</id>
    <title>A Clock User Control for your Windows Form in C#</title>
    <updated>2007-04-01T17:23:02-04:00</updated>
    <published>2007-04-01T17:23:02-04:00</published>
    <link rel="alternate" href="http://www.mycsharpcorner.com/Post.aspx?postID=23" />
    <category term="C# .NET" />
    <summary type="html">
		&lt;p&gt;Making your own&#160;Clock&#160;control to display&#160;on your Windows Form to display and update the current time&#160;up to the second is an easy deal using C# Timers.&lt;/p&gt;
		&lt;p align=&quot;center&quot;&gt;
				&lt;img src=&quot;/Images/ClockControl.png&quot; /&gt;
		&lt;/p&gt;
		&lt;p&gt;
				&lt;strong&gt;
						&lt;u&gt;Creating The Clock User Control Step By Step&lt;/u&gt;
				&lt;/strong&gt;
		&lt;/p&gt;
		&lt;p&gt;Here is one way to do it: &lt;/p&gt;</summary>
  </entry>

  <entry>
    <id>http://www.mycsharpcorner.com/Post.aspx?postID=21</id>
    <title>Displaying a Please Wait... message during a lengthy background operation using multithreading in C#</title>
    <updated>2007-03-31T18:28:04-04:00</updated>
    <published>2007-03-31T18:28:04-04:00</published>
    <link rel="alternate" href="http://www.mycsharpcorner.com/Post.aspx?postID=21" />
    <category term="C# .NET" />
    <summary type="html">
		&lt;p&gt;I was writing this application for a client of mine, and I needed to dsiplay a &quot;Please Wait...&quot; message while&#160;disabling access to the the rest of the application controls during a lengthy background process, but at the same time, wanted to show that the application is alive and well.... not frozen, maybe even put a cancel&#160;or a stop button to terminate the lengthy process.&lt;/p&gt;</summary>
  </entry>

  <entry>
    <id>http://www.mycsharpcorner.com/Post.aspx?postID=20</id>
    <title>ComboBox vs RadioButton?</title>
    <updated>2007-03-31T14:56:37-04:00</updated>
    <published>2007-03-31T14:56:37-04:00</published>
    <link rel="alternate" href="http://www.mycsharpcorner.com/Post.aspx?postID=20" />
    <category term="Web &amp; GUI Design" />
    <summary type="html">&lt;P&gt;Both controls provide functionality to select from multiple choices, so what's the difference between them? And when to use one over the other?&lt;/P&gt;
&lt;P&gt;In short, ComboBox is a more compact GUI control to house multiple choices, so it is more suitable for large number of choices, so all choices can be shown in the same space that is needed by one choice, while RadioButton groups tend to show all the available choices in the web form, or windows form. &lt;/P&gt;</summary>
  </entry>

  <entry>
    <id>http://www.mycsharpcorner.com/Post.aspx?postID=19</id>
    <title>Check Box vs. Radio Button</title>
    <updated>2007-03-31T14:51:51-04:00</updated>
    <published>2007-03-31T14:51:51-04:00</published>
    <link rel="alternate" href="http://www.mycsharpcorner.com/Post.aspx?postID=19" />
    <category term="Web &amp; GUI Design" />
    <summary type="html">&lt;P&gt;What's the difference between a check box and a Radion button?&lt;/P&gt;
&lt;P&gt;The short answer to this is: &lt;/P&gt;
&lt;P&gt;- Check box is used to indicated a boolean value: True or False&lt;/P&gt;
&lt;P&gt;- A group of Radio Buttons is used when you have more choices than True or False... say you have a choice like &quot;Maybe&quot;...&lt;/P&gt;
&lt;P&gt;So use a group of Radio button when you have multiple choices and you only want to select one and only one choice. Use a Check box when you have only 2 choices, this or that, and no more.&lt;/P&gt;</summary>
  </entry>

  <entry>
    <id>http://www.mycsharpcorner.com/Post.aspx?postID=18</id>
    <title>How long would it take to learn Object Oriented Programming?</title>
    <updated>2007-03-31T14:04:14-04:00</updated>
    <published>2007-03-31T14:04:14-04:00</published>
    <link rel="alternate" href="http://www.mycsharpcorner.com/Post.aspx?postID=18" />
    <category term="OOP " />
    <summary type="html">&lt;SPAN style=&quot;FONT-FAMILY: Georgia&quot;&gt;
&lt;P style=&quot;BACKGROUND: white; LINE-HEIGHT: 150%&quot;&gt;&lt;SPAN style=&quot;FONT-FAMILY: Georgia&quot;&gt;Someone asked me how long it will take them to learn C++, then how long will it take to learn OOP concepts, so I thought I share my answer here.&lt;?xml:namespace prefix = o ns = &quot;urn:schemas-microsoft-com:office:office&quot; /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;</summary>
  </entry>

  <entry>
    <id>http://www.mycsharpcorner.com/Post.aspx?postID=16</id>
    <title>e-Market Web Application </title>
    <updated>2007-03-29T19:35:22-04:00</updated>
    <published>2007-03-29T19:35:22-04:00</published>
    <link rel="alternate" href="http://www.mycsharpcorner.com/Post.aspx?postID=16" />
    <category term="My Latest Projects" />
    <summary type="html">&lt;P&gt;I just finished working on an e-Market&amp;nbsp;Web Application using ASP.NET 2.0. The app allows users to sign up for accounts, create a Seller profile and add/remove/modify products for sale. &lt;/P&gt;
&lt;P&gt;The e Market allows display and browsing of all products and allows admin to manage users, sellers and products.&lt;/P&gt;
&lt;P&gt;You can see a demo of the Web App here:&lt;/P&gt;
&lt;P&gt;&lt;A href=&quot;http://laemarket.firstmortgagenews.com&quot;&gt;http://laemarket.firstmortgagenews.com&lt;/A&gt;&lt;/P&gt;</summary>
  </entry>

  <entry>
    <id>http://www.mycsharpcorner.com/Post.aspx?postID=14</id>
    <title>Hello World!</title>
    <updated>2007-03-29T19:24:00-04:00</updated>
    <published>2007-03-29T19:24:00-04:00</published>
    <link rel="alternate" href="http://www.mycsharpcorner.com/Post.aspx?postID=14" />
    <category term="Personal" />
    <summary type="html">&lt;P&gt;Welcome everyone,&lt;/P&gt;
&lt;P&gt;I've been playing with the idea of launching this site for a while now, and today after finding this &lt;A href=&quot;http://www.shankun.com/downloads/bsk_preview.zip&quot;&gt;free ASP.NET blog starter kit&lt;/A&gt; written in C#,&amp;nbsp;I finally decided to put it to use. Thanks to Shanku Niyogi for making this kit available. &lt;/P&gt;</summary>
  </entry>

</feed>    




