<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6030569578045637998</id><updated>2012-02-16T16:43:24.129-08:00</updated><category term='C#'/><category term='C# Using'/><category term='PHP'/><category term='C# Convert String'/><category term='Web Development'/><category term='C# MS Access'/><category term='Html Tags'/><category term='C# Regular Expressions'/><category term='Wordpress'/><category term='MySQL'/><category term='Html Meta Tags'/><category term='Mobile Phone'/><category term='C# Database'/><category term='C# Connection Strings'/><category term='C# Exceptions'/><category term='C# WMI'/><category term='Digital Logic Design'/><category term='Number Systems'/><category term='Google'/><category term='Website Tools'/><category term='C# MySQL'/><category term='C# GDI'/><category term='C# Convert ToString'/><category term='ASP.NET'/><title type='text'>C# Blog by ASG</title><subtitle type='html'>C# blog, .NET programming sample source codes,tips and tricks on web development.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://alperguc.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://alperguc.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Alper</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>35</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6030569578045637998.post-71140125100152539</id><published>2011-06-29T02:14:00.000-07:00</published><updated>2011-06-29T02:18:57.470-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><title type='text'>Maximum Request Length Exceeded ASP.NET</title><summary type='text'>I got this error Maximum request length exceeded while i was trying to upload several files, or a single big size file. As default, max file upload size is 4MB.
We can easily have a solution by not touching our asp.net c# source code.

Just add a single line of code in your Web.config file, and you are done.

&lt;configuration&gt;
  &lt;system.web&gt;
    &lt;httpRuntime maxRequestLength="32768" /&gt;
  &lt;/</summary><link rel='replies' type='application/atom+xml' href='http://alperguc.blogspot.com/feeds/71140125100152539/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6030569578045637998&amp;postID=71140125100152539' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/71140125100152539'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/71140125100152539'/><link rel='alternate' type='text/html' href='http://alperguc.blogspot.com/2011/06/maximum-request-length-exceeded-aspnet.html' title='Maximum Request Length Exceeded ASP.NET'/><author><name>Alper</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6030569578045637998.post-6334214471302210211</id><published>2011-04-14T05:32:00.000-07:00</published><updated>2011-04-14T05:44:59.045-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C# Convert String'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>C# Convert String to Integer</title><summary type='text'>Converting string to int is simple in c#. There are two comman ways to convert string to int.
Convert.ToInt32
 Int32.TryParse
Here is the screen shot of our string to int converter sample application:


Note that our integer number must be between −2,147,483,648 and +2,147,483,647 range.

The c# source code to convert string to integer:
private void btnConvert_Click(object sender, EventArgs e)
{
</summary><link rel='replies' type='application/atom+xml' href='http://alperguc.blogspot.com/feeds/6334214471302210211/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6030569578045637998&amp;postID=6334214471302210211' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/6334214471302210211'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/6334214471302210211'/><link rel='alternate' type='text/html' href='http://alperguc.blogspot.com/2011/04/c-convert-string-to-integer.html' title='C# Convert String to Integer'/><author><name>Alper</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-ASduF_Ax6sQ/TabnFnbOnwI/AAAAAAAAAFA/C_ltRM1nHxs/s72-c/convertstringtoint.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6030569578045637998.post-1233209838766687190</id><published>2010-12-06T02:34:00.000-08:00</published><updated>2010-12-06T02:44:23.362-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MySQL'/><category scheme='http://www.blogger.com/atom/ns#' term='PHP'/><category scheme='http://www.blogger.com/atom/ns#' term='Web Development'/><title type='text'>Fix MySQL Character Encoding Problem UTF-8 PHP</title><summary type='text'>While gathering data from Mysql database i got character encoding problems when my tables have non-english text.I found a solution that completly solves character encoding problem while you calling your sql queries.Simply set your character set before you call a sql query.$myconnection= mysql_connect(DB_SERVER, DB_USER, DB_PASS) or die(mysql_error());mysql_select_db(DB_NAME, $myconnection) or die</summary><link rel='replies' type='application/atom+xml' href='http://alperguc.blogspot.com/feeds/1233209838766687190/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6030569578045637998&amp;postID=1233209838766687190' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/1233209838766687190'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/1233209838766687190'/><link rel='alternate' type='text/html' href='http://alperguc.blogspot.com/2010/12/fix-mysql-character-encoding-problem.html' title='Fix MySQL Character Encoding Problem UTF-8 PHP'/><author><name>Alper</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6030569578045637998.post-121554806386222347</id><published>2009-05-25T07:56:00.000-07:00</published><updated>2009-05-25T08:07:08.844-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>ASP.NET How To access Master Page Variables Class Members C#.NET</title><summary type='text'>Sometimes we need to access to a variable in master page file.For example I need to change the body onload event in html.In the asp.net file, we simply cast our master page as its class name.in master page aspx we add the code below.&lt;body onload="&lt;%=myloadstr %&gt;" &gt;in master page cs code we add the code below.we declare it as public to access the variable.public string myloadstr = "";And add the </summary><link rel='replies' type='application/atom+xml' href='http://alperguc.blogspot.com/feeds/121554806386222347/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6030569578045637998&amp;postID=121554806386222347' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/121554806386222347'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/121554806386222347'/><link rel='alternate' type='text/html' href='http://alperguc.blogspot.com/2009/05/aspnet-how-to-access-master-page.html' title='ASP.NET How To access Master Page Variables Class Members C#.NET'/><author><name>Alper</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6030569578045637998.post-5325559997871742003</id><published>2009-05-22T12:46:00.000-07:00</published><updated>2009-05-22T12:58:02.925-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PHP'/><title type='text'>Run PHP On Local Machine</title><summary type='text'>When I want to develop a php website, it is always be hard to run and test the php code on local machine.After I search how to run php on local machine, I found an awesome tool for this.XAMPP is a great open source software that helps you run php on local, and also it runs MySQL Server service, Filezilla FTP.Simply download xampp and install it, I select the run apache as service option.By its </summary><link rel='replies' type='application/atom+xml' href='http://alperguc.blogspot.com/feeds/5325559997871742003/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6030569578045637998&amp;postID=5325559997871742003' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/5325559997871742003'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/5325559997871742003'/><link rel='alternate' type='text/html' href='http://alperguc.blogspot.com/2009/05/run-php-on-local-machine.html' title='Run PHP On Local Machine'/><author><name>Alper</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_o9q2uOk4QMs/ShcB9FwGxwI/AAAAAAAAACU/IYSELbu7jdI/s72-c/1240.jpg.gif' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6030569578045637998.post-8249229001503765919</id><published>2008-12-16T14:22:00.000-08:00</published><updated>2008-12-16T14:24:49.951-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C# Database'/><category scheme='http://www.blogger.com/atom/ns#' term='C# Connection Strings'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='C# MS Access'/><title type='text'>C# MS Access Connection String OLE DB OleDbConnection</title><summary type='text'>The Connection String for MS Access can be set as ;  private constr ="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=yourdbfile.mdb;Jet OLEDB:Database Password=yourpassword;"; And the C# code to connect to MS Access database ;  public bool OpenConnection(){OleDbConnection con; con = new OleDbConnection(constr);if (con.State != ConnectionState.Open){ try {   con.Open(); return true; }catch (</summary><link rel='replies' type='application/atom+xml' href='http://alperguc.blogspot.com/feeds/8249229001503765919/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6030569578045637998&amp;postID=8249229001503765919' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/8249229001503765919'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/8249229001503765919'/><link rel='alternate' type='text/html' href='http://alperguc.blogspot.com/2008/12/c-ms-access-connection-string-ole-db.html' title='C# MS Access Connection String OLE DB OleDbConnection'/><author><name>Alper</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6030569578045637998.post-203847966020910657</id><published>2008-12-16T14:08:00.001-08:00</published><updated>2008-12-16T14:09:48.666-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Mobile Phone'/><title type='text'>Mobile Phone Hide Your Number</title><summary type='text'>To hide your number when you are calling someone with your mobile phone,simply add *31# in the beginning of the number you will call.hide number*31#</summary><link rel='replies' type='application/atom+xml' href='http://alperguc.blogspot.com/feeds/203847966020910657/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6030569578045637998&amp;postID=203847966020910657' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/203847966020910657'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/203847966020910657'/><link rel='alternate' type='text/html' href='http://alperguc.blogspot.com/2008/12/mobile-phone-hide-your-number.html' title='Mobile Phone Hide Your Number'/><author><name>Alper</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6030569578045637998.post-2556794237491177800</id><published>2008-12-16T14:04:00.000-08:00</published><updated>2008-12-16T14:07:32.712-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Mobile Phone'/><title type='text'>Imei Number Learn Your Mobile Phone Imei Number</title><summary type='text'>You can easily learn you mobile phone's IMEI numberby pressing  star square 06 square*#06#</summary><link rel='replies' type='application/atom+xml' href='http://alperguc.blogspot.com/feeds/2556794237491177800/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6030569578045637998&amp;postID=2556794237491177800' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/2556794237491177800'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/2556794237491177800'/><link rel='alternate' type='text/html' href='http://alperguc.blogspot.com/2008/12/imei-number-learn-your-mobile-phone.html' title='Imei Number Learn Your Mobile Phone Imei Number'/><author><name>Alper</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6030569578045637998.post-3908342620743008487</id><published>2008-12-11T01:12:00.000-08:00</published><updated>2008-12-11T01:14:07.980-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='C# WMI'/><title type='text'>C# Read Harddisk Serial Number WMI ManagementClass Win32_LogicalDisk</title><summary type='text'>With the Win32_LogicalDisk Management path we can reach the local disk information.Even you can read harddisk serial number,size, partitions, free space and so on. Now let's read the serial number of a harddisk in C# with ManagementClass WMI. public static string HardDiskID(){ ManagementClass partionsClass = new ManagementClass("Win32_LogicalDisk"); ManagementObjectCollection partions = </summary><link rel='replies' type='application/atom+xml' href='http://alperguc.blogspot.com/feeds/3908342620743008487/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6030569578045637998&amp;postID=3908342620743008487' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/3908342620743008487'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/3908342620743008487'/><link rel='alternate' type='text/html' href='http://alperguc.blogspot.com/2008/12/c-read-harddisk-serial-number-wmi.html' title='C# Read Harddisk Serial Number WMI ManagementClass Win32_LogicalDisk'/><author><name>Alper</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6030569578045637998.post-1592313657731819971</id><published>2008-11-28T01:07:00.000-08:00</published><updated>2008-11-28T01:08:27.799-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>C# Textbox Auto Scroll To End ScrollToCaret Scrolling Textbox</title><summary type='text'>Many of my sample C# codes,I use textbox to write the results.When textbox is multiline property set to true, and when I insert text into it,I want it to auto scroll to the last line.Here is a simple way to auto scrolling textbox.  textbox1.SelectionStart = textbox1.Text.Length; textbox1.ScrollToCaret(); textbox1.Refresh(); Textbox SelectionStart will force the textbox control to select the last </summary><link rel='replies' type='application/atom+xml' href='http://alperguc.blogspot.com/feeds/1592313657731819971/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6030569578045637998&amp;postID=1592313657731819971' title='23 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/1592313657731819971'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/1592313657731819971'/><link rel='alternate' type='text/html' href='http://alperguc.blogspot.com/2008/11/c-textbox-auto-scroll-to-end.html' title='C# Textbox Auto Scroll To End ScrollToCaret Scrolling Textbox'/><author><name>Alper</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>23</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6030569578045637998.post-7340885429786730064</id><published>2008-11-28T01:04:00.000-08:00</published><updated>2008-11-28T01:07:02.839-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='C# Exceptions'/><title type='text'>C# The process cannot access the file because it is being used by another process</title><summary type='text'>The process cannot access the file because it is being used by another process.This error message is mostly comes up,when you try to access a file which is opened by another process.You may open an image file in one of your form in a picturebox with using ImageFromFile or something.I mostly use memorystream to open an image.After read it in byte[] write it into a stream and close it.You can check</summary><link rel='replies' type='application/atom+xml' href='http://alperguc.blogspot.com/feeds/7340885429786730064/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6030569578045637998&amp;postID=7340885429786730064' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/7340885429786730064'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/7340885429786730064'/><link rel='alternate' type='text/html' href='http://alperguc.blogspot.com/2008/11/c-process-cannot-access-file-because-it.html' title='C# The process cannot access the file because it is being used by another process'/><author><name>Alper</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6030569578045637998.post-1097979830116091849</id><published>2008-11-27T07:11:00.000-08:00</published><updated>2008-11-27T07:13:48.002-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='C# Convert ToString'/><title type='text'>C# Convert Hexadecimal to Binary String Conversion</title><summary type='text'>There is no need to code tons of codes, loops, to convert hex to binary string. Convert.ToInt32 function is very useful for this purpose.Let's convert the "A" character to binary format. private string hex2binary(string hexvalue){  string binaryval = "";  binaryval = Convert.ToString(Convert.ToInt32(hexvalue, 16), 2);  return binaryval;} When we call hex2binary("A"); it will return "1010" similar</summary><link rel='replies' type='application/atom+xml' href='http://alperguc.blogspot.com/feeds/1097979830116091849/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6030569578045637998&amp;postID=1097979830116091849' title='11 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/1097979830116091849'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/1097979830116091849'/><link rel='alternate' type='text/html' href='http://alperguc.blogspot.com/2008/11/c-convert-hexadecimal-to-binary-string.html' title='C# Convert Hexadecimal to Binary String Conversion'/><author><name>Alper</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>11</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6030569578045637998.post-3506022476853963632</id><published>2008-11-25T11:55:00.000-08:00</published><updated>2008-11-25T11:57:23.491-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>C# System Tray Minimize To Tray With NotifyIcon</title><summary type='text'>Minimize application form to system tray is donewith the NotifyIcon control in Visual Studio.NotifyIcon is in the System.Windows.Forms namespace.Drag and drop a NotifyIcon control to your form.To send your application form into the system tray,we simple handle the form re-size event. private void frmMain_Resize(object sender, EventArgs e){ if (FormWindowState.Minimized == this.WindowState){ </summary><link rel='replies' type='application/atom+xml' href='http://alperguc.blogspot.com/feeds/3506022476853963632/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6030569578045637998&amp;postID=3506022476853963632' title='9 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/3506022476853963632'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/3506022476853963632'/><link rel='alternate' type='text/html' href='http://alperguc.blogspot.com/2008/11/c-system-tray-minimize-to-tray-with.html' title='C# System Tray Minimize To Tray With NotifyIcon'/><author><name>Alper</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6030569578045637998.post-8793940712215165179</id><published>2008-11-25T11:33:00.000-08:00</published><updated>2008-11-25T11:39:40.966-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Web Development'/><category scheme='http://www.blogger.com/atom/ns#' term='Website Tools'/><title type='text'>Favicon Generator How To Add Favicon to Your Website ico</title><summary type='text'> Favicons are the little images, icons that appears in left of the browser address bar and bookmarks menu. Favicon size is 16x16 pixel. Favicons are very important feature, visitors may remember a website from its favicon. Favicon is kind a symbol of a website. How to add a favicon in your website html.  Create a favicon online easily visit the link below and create your favicon online. FavIcon </summary><link rel='replies' type='application/atom+xml' href='http://alperguc.blogspot.com/feeds/8793940712215165179/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6030569578045637998&amp;postID=8793940712215165179' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/8793940712215165179'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/8793940712215165179'/><link rel='alternate' type='text/html' href='http://alperguc.blogspot.com/2008/11/favicon-generator-how-to-add-favicon-to.html' title='Favicon Generator How To Add Favicon to Your Website ico'/><author><name>Alper</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6030569578045637998.post-8782895789036564656</id><published>2008-11-25T09:47:00.000-08:00</published><updated>2008-11-25T09:48:41.498-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>C# and ASP.NET Create Table Dynamically</title><summary type='text'>In the run-time sometimes we have to create table dynamically.From the namespace System.Data DataTable DataColumn classes we can easily create table dynamically in C# and also in ASP.NET. using System.Data;// Create a DataTable instanceDataTable dTbl = new DataTable("myDynamicTable");// Create a DataColumn instancesDataColumn dValue = new DataColumn();DataColumn dMember = new DataColumn();</summary><link rel='replies' type='application/atom+xml' href='http://alperguc.blogspot.com/feeds/8782895789036564656/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6030569578045637998&amp;postID=8782895789036564656' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/8782895789036564656'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/8782895789036564656'/><link rel='alternate' type='text/html' href='http://alperguc.blogspot.com/2008/11/c-and-aspnet-create-table-dynamically.html' title='C# and ASP.NET Create Table Dynamically'/><author><name>Alper</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6030569578045637998.post-2401414551835518419</id><published>2008-11-25T09:45:00.001-08:00</published><updated>2008-11-25T09:45:44.871-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Google'/><title type='text'>Meaning of De parvis grandis acervus erit</title><summary type='text'>When you open the Google toolbar about box, you may see this text there. De parvis grandis acervus erit.After I googling, I found several possible meanings;  Out of small things a great heap will be formed. Little by little there's so much done. Tall oaks from little acorns grow.  Small things will make a large pile.   I really love this quote, I think it summarize the Google great services </summary><link rel='replies' type='application/atom+xml' href='http://alperguc.blogspot.com/feeds/2401414551835518419/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6030569578045637998&amp;postID=2401414551835518419' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/2401414551835518419'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/2401414551835518419'/><link rel='alternate' type='text/html' href='http://alperguc.blogspot.com/2008/11/meaning-of-de-parvis-grandis-acervus.html' title='Meaning of De parvis grandis acervus erit'/><author><name>Alper</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6030569578045637998.post-4133755595717289453</id><published>2008-11-25T09:41:00.000-08:00</published><updated>2008-11-25T09:43:42.358-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>C# Process Process.GetProcessesByName, Kill Process and Exit Event</title><summary type='text'>A process instance can be created by call Process.GetProcessesByName with the name of the process.Let's say we want to reach, notepad.exe.  Get the process by its name   using System.Diagnostics;private Process GetaProcess(string processname){Process[] aProc = Process.GetProcessesByName(processname);if (aProc.Length &gt; 0)return aProc[0];else return null;} Call GetaProcess("notepad.exe"); will </summary><link rel='replies' type='application/atom+xml' href='http://alperguc.blogspot.com/feeds/4133755595717289453/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6030569578045637998&amp;postID=4133755595717289453' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/4133755595717289453'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/4133755595717289453'/><link rel='alternate' type='text/html' href='http://alperguc.blogspot.com/2008/11/c-process-processgetprocessesbyname.html' title='C# Process Process.GetProcessesByName, Kill Process and Exit Event'/><author><name>Alper</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6030569578045637998.post-6649172458995440856</id><published>2008-11-25T09:38:00.000-08:00</published><updated>2008-11-25T09:40:04.479-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>C# Illegal Cross Thread Operation Problem Solution</title><summary type='text'>In Visual Studio, using .NET Framework,if you are trying to access a user interface control, in multi thread operation, you may get this error Illegal Cross Thread Operation .That is the thread other than the thread it was created on has no access to change the control interface properties.To avoid the Illegal Cross Thread Operation error here is the solution;  Make a delegate for the control </summary><link rel='replies' type='application/atom+xml' href='http://alperguc.blogspot.com/feeds/6649172458995440856/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6030569578045637998&amp;postID=6649172458995440856' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/6649172458995440856'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/6649172458995440856'/><link rel='alternate' type='text/html' href='http://alperguc.blogspot.com/2008/11/c-illegal-cross-thread-operation.html' title='C# Illegal Cross Thread Operation Problem Solution'/><author><name>Alper</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6030569578045637998.post-8041642278521513465</id><published>2008-11-25T09:34:00.000-08:00</published><updated>2008-11-25T09:36:34.391-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>C# Event Log Write To EventLog Entry</title><summary type='text'>Write to event log in C#  Add reference using System.Diagnostics to your project Check whether the source exits or not. If not create event source. Create an EventLog object. Set its event source. Write the entry into event source.  C# sample source code is below;using System.Diagnostics;private void WriteToEventLog(string message){string cs = "Your Source Name";EventLog elog = new EventLog();if </summary><link rel='replies' type='application/atom+xml' href='http://alperguc.blogspot.com/feeds/8041642278521513465/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6030569578045637998&amp;postID=8041642278521513465' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/8041642278521513465'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/8041642278521513465'/><link rel='alternate' type='text/html' href='http://alperguc.blogspot.com/2008/11/c-event-log-write-to-eventlog-entry.html' title='C# Event Log Write To EventLog Entry'/><author><name>Alper</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6030569578045637998.post-924433498287469162</id><published>2008-11-25T09:28:00.000-08:00</published><updated>2008-11-25T09:30:45.933-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Digital Logic Design'/><title type='text'>Fan-out</title><summary type='text'>Fan-out is the number of loads that the output of a gate can drive without decreasing the performance of the logic gate.Fan-out depends on the logic family of related gate.</summary><link rel='replies' type='application/atom+xml' href='http://alperguc.blogspot.com/feeds/924433498287469162/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6030569578045637998&amp;postID=924433498287469162' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/924433498287469162'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/924433498287469162'/><link rel='alternate' type='text/html' href='http://alperguc.blogspot.com/2008/11/fan-out.html' title='Fan-out'/><author><name>Alper</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6030569578045637998.post-8429474325251912841</id><published>2008-11-25T09:24:00.000-08:00</published><updated>2008-11-25T09:27:56.916-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Digital Logic Design'/><title type='text'>Fan-in</title><summary type='text'>Fan-in is the number of inputs available on a logic gate.Fan in is 2 in the and gate diagram above.There are 2 inputs on this gate.</summary><link rel='replies' type='application/atom+xml' href='http://alperguc.blogspot.com/feeds/8429474325251912841/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6030569578045637998&amp;postID=8429474325251912841' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/8429474325251912841'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/8429474325251912841'/><link rel='alternate' type='text/html' href='http://alperguc.blogspot.com/2008/11/fan-in.html' title='Fan-in'/><author><name>Alper</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_o9q2uOk4QMs/SSw1MK_JGPI/AAAAAAAAAAM/rPf1pDMRGIE/s72-c/andgate.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6030569578045637998.post-1791815044514467513</id><published>2008-11-25T07:18:00.000-08:00</published><updated>2008-11-25T07:31:03.811-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Digital Logic Design'/><title type='text'>Boolean Algebra</title><summary type='text'>Basic identities used in boolean algebra digital logic.Note that X' means not X, the complement of XX+0 = XX.1 = XX+1= 1X.0 = XX+X = XX.X=XX+X'=1X.X'=0X''=XOther boolean algebra properties.Commutative: X+Y = Y+XAssociative: X+(Y+Z) = (X+Y)+ZDistributive: X(Y+Z) = XY + XZDeMorgan's: (X+Y)' = X'+Y'The identities below are useful for simpling the logic equations.X(X+Y)=X(X+Y)(X+Y')=XX(X'+Y)=</summary><link rel='replies' type='application/atom+xml' href='http://alperguc.blogspot.com/feeds/1791815044514467513/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6030569578045637998&amp;postID=1791815044514467513' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/1791815044514467513'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/1791815044514467513'/><link rel='alternate' type='text/html' href='http://alperguc.blogspot.com/2008/11/boolean-algebra.html' title='Boolean Algebra'/><author><name>Alper</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6030569578045637998.post-3886522403576812382</id><published>2008-11-25T07:05:00.000-08:00</published><updated>2008-11-25T07:31:19.470-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Digital Logic Design'/><category scheme='http://www.blogger.com/atom/ns#' term='Number Systems'/><title type='text'>BCD Binary Decimal Codes</title><summary type='text'>Binary decimal codes contains 0 to 9 numbers, that is human readable, unlike computer systems use binary number systems 0 and 1s.Decimal NumberBCD Digit00000100012001030011401005010160110701118100091001BCD example(215)10 = (0010 0001 0101)BCDBCD Binary Decimal Codes tutorial</summary><link rel='replies' type='application/atom+xml' href='http://alperguc.blogspot.com/feeds/3886522403576812382/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6030569578045637998&amp;postID=3886522403576812382' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/3886522403576812382'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/3886522403576812382'/><link rel='alternate' type='text/html' href='http://alperguc.blogspot.com/2008/11/bcd-binary-decimal-codes.html' title='BCD Binary Decimal Codes'/><author><name>Alper</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6030569578045637998.post-3459195368680525974</id><published>2008-11-25T06:57:00.000-08:00</published><updated>2008-11-25T07:31:19.470-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Digital Logic Design'/><category scheme='http://www.blogger.com/atom/ns#' term='Number Systems'/><title type='text'>Octal Number System</title><summary type='text'>Octal number system is base-8 system with 8 digits 0 to 7.Example of a octal number:  147.2Expanding numbers as a power series with base of 8.Example of octal number:(147.2)8 = 1x82 + 4x81 + 7x80 + 2x8-1 = 64 + 32 + 7 + 0.25 = (103.25)10Octal number system tutorial.</summary><link rel='replies' type='application/atom+xml' href='http://alperguc.blogspot.com/feeds/3459195368680525974/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6030569578045637998&amp;postID=3459195368680525974' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/3459195368680525974'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/3459195368680525974'/><link rel='alternate' type='text/html' href='http://alperguc.blogspot.com/2008/11/octal-number-system.html' title='Octal Number System'/><author><name>Alper</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6030569578045637998.post-3161949764448706166</id><published>2008-11-25T06:44:00.000-08:00</published><updated>2008-11-25T07:31:19.471-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Digital Logic Design'/><category scheme='http://www.blogger.com/atom/ns#' term='Number Systems'/><title type='text'>Binary Number System</title><summary type='text'>Binary number system is base-2 system with 2 digits 0 and 1.Example of a binary number: 1101.1Binary number can be expanding numbers as a power series with base of 2.Example:(1101.1)2 = 1x23 + 1x2 + 0x210 + 1x2-1 = (13.5)10Binary number 1101.1 is equal to 13.5 in base-10 number system.Also 1K (kilo) = 210Also 1M (mega) = 220Binary number system tutorial</summary><link rel='replies' type='application/atom+xml' href='http://alperguc.blogspot.com/feeds/3161949764448706166/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6030569578045637998&amp;postID=3161949764448706166' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/3161949764448706166'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/3161949764448706166'/><link rel='alternate' type='text/html' href='http://alperguc.blogspot.com/2008/11/binary-number-system.html' title='Binary Number System'/><author><name>Alper</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6030569578045637998.post-1834868327005269287</id><published>2008-11-25T04:35:00.000-08:00</published><updated>2008-11-25T04:42:20.807-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Html Tags'/><title type='text'>HTML Redirect  Tag Page Redirection</title><summary type='text'>Html redirect page tag is inserted between head tags in html page file.Copy paste HTML redirect tag code below between head tag.&lt;meta equiv="refresh" content="3;http://alperguc.blogspot.com/"&gt;3 is the duration that html page will wait and after 3 seconds page will redirect to the url.First parameter of  HTML redirect tag is seconds: 3Second parameter of  HTML redirect tag is url: http://</summary><link rel='replies' type='application/atom+xml' href='http://alperguc.blogspot.com/feeds/1834868327005269287/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6030569578045637998&amp;postID=1834868327005269287' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/1834868327005269287'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/1834868327005269287'/><link rel='alternate' type='text/html' href='http://alperguc.blogspot.com/2008/11/html-redirect-tag-page-redirection.html' title='HTML Redirect  Tag Page Redirection'/><author><name>Alper</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6030569578045637998.post-4278471561491220343</id><published>2008-11-25T01:55:00.000-08:00</published><updated>2008-11-25T01:59:37.239-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='C# WMI'/><category scheme='http://www.blogger.com/atom/ns#' term='C# Using'/><title type='text'>C# WMI Startup Programs, List Startup Applications with ManagementClass</title><summary type='text'>It is possible to list Startup Programs of operating system in C#.With the use of ManagementClass, a few lines of code will give us this list.The WMI classes are easy to use such these operations.  Add reference System.Management to your project. Add the following code to your code file. using System.Management;using System.Management.Instrumentation; Add the code below to list the startup </summary><link rel='replies' type='application/atom+xml' href='http://alperguc.blogspot.com/feeds/4278471561491220343/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6030569578045637998&amp;postID=4278471561491220343' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/4278471561491220343'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/4278471561491220343'/><link rel='alternate' type='text/html' href='http://alperguc.blogspot.com/2008/11/c-wmi-startup-programs-list-startup.html' title='C# WMI Startup Programs, List Startup Applications with ManagementClass'/><author><name>Alper</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6030569578045637998.post-2002136463105910197</id><published>2008-11-25T01:51:00.000-08:00</published><updated>2008-11-25T01:54:55.007-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C# GDI'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='C# Using'/><title type='text'>C# a generic error occurred in GDI+ Solution</title><summary type='text'>A generic error occurred in GDI+I encountered this error while I was working with images,when I try to save image file with EncoderParameter and ImageCodecInfo classes in C#.This problem is mostly occurred for the security reasons,you may not enough permission to write file and so on.Here is solution.  Create a System.IO.MemoryStream object. Create a System.IO.FileStream object Save image into </summary><link rel='replies' type='application/atom+xml' href='http://alperguc.blogspot.com/feeds/2002136463105910197/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6030569578045637998&amp;postID=2002136463105910197' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/2002136463105910197'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/2002136463105910197'/><link rel='alternate' type='text/html' href='http://alperguc.blogspot.com/2008/11/c-generic-error-occurred-in-gdi.html' title='C# a generic error occurred in GDI+ Solution'/><author><name>Alper</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6030569578045637998.post-1167676483442313</id><published>2008-11-25T01:47:00.000-08:00</published><updated>2008-11-25T01:51:42.828-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C# Database'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='C# MySQL'/><category scheme='http://www.blogger.com/atom/ns#' term='C# Using'/><title type='text'>C# ASP.NET MySQL Connection Tutorial with MySQL Connector</title><summary type='text'>In order to connect to MySQL Server with .NET in C# or ASP.NET does not matter actually,  You need to download MySQL Connector/Net . After you add a reference to your project, it is probably in C:\Program Files\MySQL\MySQL Connector Net 5.0.7\Binaries\.NET 2.0 folder, add the MySql.Data.dll file as a reference. Make your connection string, the following code will shows a standard MySQL connection</summary><link rel='replies' type='application/atom+xml' href='http://alperguc.blogspot.com/feeds/1167676483442313/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6030569578045637998&amp;postID=1167676483442313' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/1167676483442313'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/1167676483442313'/><link rel='alternate' type='text/html' href='http://alperguc.blogspot.com/2008/11/c-aspnet-mysql-connection-tutorial-with.html' title='C# ASP.NET MySQL Connection Tutorial with MySQL Connector'/><author><name>Alper</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6030569578045637998.post-6438808037078878260</id><published>2008-11-25T01:44:00.000-08:00</published><updated>2008-11-25T01:46:59.335-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='C# Using'/><title type='text'>C# How To Get Computer IP Address IPHostEntry</title><summary type='text'>To get the IP address of the local machine in C#,using system.net namespace.From IPHostEntry class, we get the list in a string array.  using System.Net;Private string GetIP(){string strHostName = "";strHostName = System.Net.Dns.GetHostName();IPHostEntry ipEntry = System.Net.Dns.GetHostEntry(strHostName);IPAddress[] addr = ipEntry.AddressList;return addr[addr.Length-1].ToString();}Read IP address</summary><link rel='replies' type='application/atom+xml' href='http://alperguc.blogspot.com/feeds/6438808037078878260/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6030569578045637998&amp;postID=6438808037078878260' title='10 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/6438808037078878260'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/6438808037078878260'/><link rel='alternate' type='text/html' href='http://alperguc.blogspot.com/2008/11/c-how-to-get-computer-ip-address.html' title='C# How To Get Computer IP Address IPHostEntry'/><author><name>Alper</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>10</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6030569578045637998.post-1696995248984342666</id><published>2008-11-25T01:38:00.000-08:00</published><updated>2008-11-25T01:41:14.263-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='C# Using'/><category scheme='http://www.blogger.com/atom/ns#' term='C# Regular Expressions'/><title type='text'>C# Regex Time Validation With Regular Expression</title><summary type='text'>In order to check whether an input is a valid time format or not, regular expressions can be used to validate the input value.The sample function below show how to check if the inputis valid time in XX:XX, code is in C#.This regular expression checks the input for 00:00 to 23:59 is a valid time format. using System.Text.RegularExpressions;public bool IsValidTime(string thetime){Regex checktime = </summary><link rel='replies' type='application/atom+xml' href='http://alperguc.blogspot.com/feeds/1696995248984342666/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6030569578045637998&amp;postID=1696995248984342666' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/1696995248984342666'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/1696995248984342666'/><link rel='alternate' type='text/html' href='http://alperguc.blogspot.com/2008/11/c-regex-time-validation-with-regular.html' title='C# Regex Time Validation With Regular Expression'/><author><name>Alper</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6030569578045637998.post-5360520031073749691</id><published>2008-11-25T01:34:00.000-08:00</published><updated>2008-11-25T01:37:46.645-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='C# Using'/><category scheme='http://www.blogger.com/atom/ns#' term='C# Regular Expressions'/><title type='text'>C# Regex Number Validation With Regular Expression</title><summary type='text'>In order to check whether an input is a valid number or not, regular expressions are very easy to use to validate the input value.The sample function below show how to check if the input is number or not, code is in C#.using System.Text.RegularExpressions;public static bool IsItNumber(string inputvalue){Regex isnumber = new Regex("[^0-9]");return !isnumber.IsMatch(inputvalue);} IsItNumber("2"); </summary><link rel='replies' type='application/atom+xml' href='http://alperguc.blogspot.com/feeds/5360520031073749691/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6030569578045637998&amp;postID=5360520031073749691' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/5360520031073749691'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/5360520031073749691'/><link rel='alternate' type='text/html' href='http://alperguc.blogspot.com/2008/11/c-regex-number-validation-with-regular.html' title='C# Regex Number Validation With Regular Expression'/><author><name>Alper</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6030569578045637998.post-2957519910838426704</id><published>2008-11-25T01:30:00.000-08:00</published><updated>2008-11-25T01:58:07.099-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='C# WMI'/><category scheme='http://www.blogger.com/atom/ns#' term='C# Using'/><title type='text'>C# Read Windows Logon User Name in WMI</title><summary type='text'>Using the namespace System.Management,we can easily read the Windows Logon User name.The WMI (Windows Media Instrumentation)queries are very similar with the SQL queries.The sample code below written in C# reads the logon user name. using System.Management;public static string logonUser(){string _user = string.Empty;ConnectionOptions co = new ConnectionOptions();System.Management.ManagementScope </summary><link rel='replies' type='application/atom+xml' href='http://alperguc.blogspot.com/feeds/2957519910838426704/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6030569578045637998&amp;postID=2957519910838426704' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/2957519910838426704'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/2957519910838426704'/><link rel='alternate' type='text/html' href='http://alperguc.blogspot.com/2008/11/c-read-windows-logon-user-name-in-wmi.html' title='C# Read Windows Logon User Name in WMI'/><author><name>Alper</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6030569578045637998.post-3332281068222280785</id><published>2008-11-25T01:27:00.000-08:00</published><updated>2008-11-25T01:29:52.077-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Wordpress'/><category scheme='http://www.blogger.com/atom/ns#' term='Html Meta Tags'/><title type='text'>How To Add HTML Meta Description Tag in Wordpress Theme</title><summary type='text'>Many search engine spiders read the description meta tag, instead of keywords meta tags.In many wordpress themes does not have description meta tag in html headers.There are several plugins for adding meta tags, but I will show you an easy way to add it without plugin install.Open your header.php file in your templates folder, and add the code below and save it.  &lt;meta name="Description" content=</summary><link rel='replies' type='application/atom+xml' href='http://alperguc.blogspot.com/feeds/3332281068222280785/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6030569578045637998&amp;postID=3332281068222280785' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/3332281068222280785'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/3332281068222280785'/><link rel='alternate' type='text/html' href='http://alperguc.blogspot.com/2008/11/how-to-add-html-meta-description-tag-in.html' title='How To Add HTML Meta Description Tag in Wordpress Theme'/><author><name>Alper</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6030569578045637998.post-3327079641281991946</id><published>2008-11-25T00:45:00.000-08:00</published><updated>2008-11-25T01:58:27.263-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='C# WMI'/><title type='text'>C# WMI Howto List Windows OS User List With Login Names</title><summary type='text'>It is not easy to reach windows login users list in C#.There are several ways to get this list, like WMI (windows media instrumentation).But here I will use a different way, let's read the registry and list the win user list. string users_reg_key=@"SOFTWAREMicrosoftWindowsCurrentVersionExplorerDocFolderPaths"; With using this registry key, we can have all users who login into that os. Let's write</summary><link rel='replies' type='application/atom+xml' href='http://alperguc.blogspot.com/feeds/3327079641281991946/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6030569578045637998&amp;postID=3327079641281991946' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/3327079641281991946'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6030569578045637998/posts/default/3327079641281991946'/><link rel='alternate' type='text/html' href='http://alperguc.blogspot.com/2008/11/c-wmi-howto-list-windows-os-user-list.html' title='C# WMI Howto List Windows OS User List With Login Names'/><author><name>Alper</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
