<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>TechToggle &#187; Tutorials</title>
	<atom:link href="http://techtoggle.com/category/tutorials/feed/" rel="self" type="application/rss+xml" />
	<link>http://techtoggle.com</link>
	<description>Technology Bites Right At The Click Of Your Mouse</description>
	<lastBuildDate>Wed, 16 Mar 2011 15:11:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
		<item>
		<title>How To Convert Movies For iPhone or iPod Touch</title>
		<link>http://techtoggle.com/2010/03/how-to-convert-movies-for-iphone-or-ipod-touch/</link>
		<comments>http://techtoggle.com/2010/03/how-to-convert-movies-for-iphone-or-ipod-touch/#comments</comments>
		<pubDate>Tue, 09 Mar 2010 11:38:13 +0000</pubDate>
		<dc:creator>Salman</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Computers]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[convert movies for iphone]]></category>
		<category><![CDATA[download free software hand brake]]></category>
		<category><![CDATA[dvdvideo soft]]></category>
		<category><![CDATA[free software to convert movies for iphone and ipod touch]]></category>
		<category><![CDATA[hand brake]]></category>
		<category><![CDATA[how to convert movies for ipod touch]]></category>
		<category><![CDATA[how to play avi movies on iphone and ipod touch]]></category>
		<category><![CDATA[how to play movies on iphone and ipod touch]]></category>
		<category><![CDATA[Iphone]]></category>
		<category><![CDATA[ipod touch]]></category>
		<category><![CDATA[Kvip]]></category>

		<guid isPermaLink="false">http://techtoggle.com/?p=3194</guid>
		<description><![CDATA[I am sure many of you would be looking for some free tools and softwares with the help of which you can convert movies to the formats supported by iphone and ipod touch.  So I decided to test some free video converting applications and then make a tutorial on how to use the best tool. [...]]]></description>
			<content:encoded><![CDATA[<p>I am sure many of you would be looking for some free tools and softwares with the help of which you can convert movies to the formats supported by iphone and ipod touch.  So I decided to test some free video converting applications and then make a tutorial on how to use the best tool. In this article I will give you a step by step guide for a tool called <strong><a href="http://www.box.net/shared/6hxl63nome" target="_blank">Handbrake</a></strong><strong>. </strong>At the end, I will also give you a list of other possible alternatives.</p>
<p><span id="more-3194"></span></p>
<p>The iPhone can only play movies that are encoded using MPEG-4 and H.264 codecs and have the extensions <em>&#8216;.mp4&#8242;</em> or <em>&#8216;.m4v&#8217;</em>. In this tutorial I will show you how to convert movies that are in other formats (for example, wmv, avi, mkv, etc.) to iPhone playable movies.</p>
<p><strong>How To Use HandBrake To Convert Movies To The iPhone Format:</strong></p>
<p>HandBrake is an freeware application that can convert movies from any DVD-like source such as: VIDEO_TS folders, DVD images, real DVDs, .VOB and .TS files and any other multimedia formats. It can convert them to MP4, MKV, AVI or OGM using the MPEG-4, H.264, Theora video codecs and the following audio codecs: AAC, MP3, Vorbis or AC-3.</p>
<p>You can download the free tool from<strong> <a href="http://www.box.net/shared/6hxl63nome" target="_blank">Handbrake</a></strong><strong>. </strong>Just download it and install it. Now launch Handbrake and let&#8217;s see how we can convert a typical .avi movie into a playable iPhone one.</p>
<p>When you launch <em>Handbrake</em>, click on the <em>&#8216;Source&#8217;</em> button from the menu bar, to select the movie that you want toconvert. As you can see, you have two choices: a video file or an DVD/VIDEO_TS folder. Choose what you prefer and then browse to the desired video file.</p>
<p><a href="http://techtoggle.com/wp-content/uploads/2010/03/handbrake.jpg"><img class="aligncenter size-full wp-image-3195" title="handbrake" src="http://techtoggle.com/wp-content/uploads/2010/03/handbrake.jpg" alt="" width="197" height="113" /></a></p>
<p>Now click on the <em>Browse</em> button and choose a destination folder for the new video and type its file name.</p>
<p><a href="http://techtoggle.com/wp-content/uploads/2010/03/handbrake1.jpg"><img class="aligncenter size-full wp-image-3196" title="handbrake1" src="http://techtoggle.com/wp-content/uploads/2010/03/handbrake1.jpg" alt="" width="460" height="93" /></a></p>
<p>Next, select the output settings for the video file. This can be done from the presets panel on the right. Simply click on the <em>&#8216;iPhone &amp; iPod Touch&#8217;</em> option and all the output settings will be set in automatically. Also, if you will use thisapplication only for this task, you can click on the <em>&#8216;Set Default&#8217;</em> button at the end of the panel and make the <em>&#8216;iPhone &amp;iPod Touch&#8217;</em> preset the default one.</p>
<p><a href="http://techtoggle.com/wp-content/uploads/2010/03/handbrake2.jpg"><img class="aligncenter size-full wp-image-3197" title="handbrake2" src="http://techtoggle.com/wp-content/uploads/2010/03/handbrake2.jpg" alt="" width="206" height="460" /></a></p>
<p>Finally, click the <em>Start</em> button, found near <em>Source</em>. <em>Handbrake</em> will begin the encoding process and a command window will open with details about the process.</p>
<p><a href="http://techtoggle.com/wp-content/uploads/2010/03/handbrake3.jpg"><img class="aligncenter size-full wp-image-3198" title="handbrake3" src="http://techtoggle.com/wp-content/uploads/2010/03/handbrake3.jpg" alt="" width="460" height="86" /></a></p>
<p>When the process ends the window disappears. For this test I used a 22 minutes video file that had 175 MB by default. The encoding process took 13 minutes and the final video file had 91.7 MB. The codec used for the encoding process was H.264 which is the best for image quality.</p>
<p>If you want a smaller file and fewer minutes for the encoding process you can select a different codec, like MPEG-4 XviD or MPEG-4 FFmpeg, from the <em>Video</em> tab.</p>
<p><a href="http://techtoggle.com/wp-content/uploads/2010/03/handbrake4.jpg"><img class="aligncenter size-full wp-image-3199" title="handbrake4" src="http://techtoggle.com/wp-content/uploads/2010/03/handbrake4.jpg" alt="" width="460" height="228" /></a></p>
<p>For example, the MPEG-4 FFmpeg codec made from the original file a new video that had only 38.7MB in 2 minutes. Unfortunately the image quality was quite poor this time. So you have to sacrifice one thing for the other.</p>
<p>The last step is to connect your iPhone to the PC, start iTunes or other alternatives and upload the movie.</p>
<p><strong>Some other free tools:</strong></p>
<p>There are also some other free softwares available but they have got their own drawbacks and i have found handbrake to be the best out of these. However you can still give them a try. They are :</p>
<p><a href="http://www.agreeconverter.com/" target="_blank"><span style="text-decoration: none;"><span style="text-decoration: none;">Agree Free AVI WMV MPEG ASF MOV to MP4 Converter</span></span></a></p>
<p><a href="http://www.dvdvideosoft.com/free-dvd-video-software-download.htm" target="_blank">DVDVideoSoft Free Studio (Free Video to iphone Converter) </a></p>
<p><a href="http://www.thesun.co.th/kvip/download.php" target="_blank"><span style="text-decoration: none;"><span style="text-decoration: none;">Kvip</span></span></a></p>
]]></content:encoded>
			<wfw:commentRss>http://techtoggle.com/2010/03/how-to-convert-movies-for-iphone-or-ipod-touch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>StumbleUpon Toolbar in Google Chrome</title>
		<link>http://techtoggle.com/2009/12/stumbleupon-toolbar-in-google-chrome/</link>
		<comments>http://techtoggle.com/2009/12/stumbleupon-toolbar-in-google-chrome/#comments</comments>
		<pubDate>Wed, 23 Dec 2009 16:43:12 +0000</pubDate>
		<dc:creator>Salman</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[download SU toolbar in chrome]]></category>
		<category><![CDATA[google chrome SU toolbar]]></category>
		<category><![CDATA[how to install SU toolbar in chrome]]></category>
		<category><![CDATA[Stumble Upon Chrome toolbar]]></category>
		<category><![CDATA[Stumble Upon toolbar]]></category>
		<category><![CDATA[Stumbleupon in google chrome]]></category>
		<category><![CDATA[stumbleupon toolbar Guide]]></category>
		<category><![CDATA[StumbleUpon Toolbar in Google Chrome]]></category>

		<guid isPermaLink="false">http://techtoggle.com/?p=3178</guid>
		<description><![CDATA[Most of my friends use Google chrome because of its light weight UI and fast startup but when they want to do stumbling, they have to shift to Firefox. Mostly i use Firefox for stumbling as lot of my friends do as well. Now that Google Chrome team has launched the StumbleUpon toolbar, its really [...]]]></description>
			<content:encoded><![CDATA[<p>Most of my friends use Google chrome because of its light weight UI and fast startup but when they want to do stumbling, they<a href="http://techtoggle.com/wp-content/uploads/2009/12/Stumbleupon.jpg"><img class="alignright size-thumbnail wp-image-3179" title="Stumbleupon" src="http://techtoggle.com/wp-content/uploads/2009/12/Stumbleupon-150x150.jpg" alt="" width="150" height="150" /></a> have to shift to Firefox. Mostly i use Firefox for stumbling as lot of my friends do as well. Now that Google Chrome team has launched the StumbleUpon toolbar, its really nice and working quite well for me. Here is very simple guide to setup chrome toolbar.</p>
<p><span id="more-3178"></span>Just Follow these simple steps.</p>
<h3>Steps:</h3>
<ul>
<li>First of all you will need the latest developer version of the Google chrome, in order to install the extensions.</li>
</ul>
<p>For that purpose download and install the latest google chrome from the following link</p>
<p><a href="http://www.google.com/landing/chrome/beta/" target="_blank">Google Chrome 4.0.249 </a></p>
<p>For details on how to get started see the following post <a href="http://techtoggle.com/2009/12/google-chrome-beta-extensions-now-available-in-the-gallery/" target="_blank">http://techtoggle.com/2009/12/google-chrome-beta-extensions-now-available-in-the-gallery/</a></p>
<p><a href="http://techtoggle.com/2009/12/google-chrome-beta-extensions-now-available-in-the-gallery/" target="_blank"></a></p>
<ul>
<li>After the successful installation, Go to the <a href="https://chrome.google.com/extensions/" target="_blank">extensions page</a> and <a href="https://chrome.google.com/extensions/detail/kcahibnffhnnjcedflmchmokndkjnhpg" target="_blank">Download the StumbleUpon extension</a> by clicking Install button right at the top.</li>
<li> After the installation you will notice a toggle button just next to address bar as shown in figure.</li>
</ul>
<p style="text-align: center;"><a href="http://techtoggle.com/wp-content/uploads/2009/12/stumble-toggle.png"><img class="aligncenter size-full wp-image-3180" title="stumble-toggle" src="http://techtoggle.com/wp-content/uploads/2009/12/stumble-toggle.png" alt="" width="614" height="264" /></a></p>
<ul>
<li>Simply login to the toolbar and then start stumbling as you do in Firefox using the stumble button in the toolbar.</li>
</ul>
<h4>Login</h4>
<p style="text-align: center;"><a href="http://techtoggle.com/wp-content/uploads/2009/12/stumble-login.png"><img class="aligncenter size-full wp-image-3181" title="stumble-login" src="http://techtoggle.com/wp-content/uploads/2009/12/stumble-login.png" alt="" width="614" height="403" /></a></p>
<h4>Stumbling:</h4>
<p style="text-align: left;"><a href="http://techtoggle.com/wp-content/uploads/2009/12/stumble-stumbling.png"><img class="aligncenter size-full wp-image-3182" title="stumble-stumbling" src="http://techtoggle.com/wp-content/uploads/2009/12/stumble-stumbling.png" alt="" width="614" height="461" /></a></p>
<h4>Replying:</h4>
<p style="text-align: center;"><a href="http://techtoggle.com/wp-content/uploads/2009/12/stumble-replying.png"><img class="aligncenter size-full wp-image-3183" title="stumble-replying" src="http://techtoggle.com/wp-content/uploads/2009/12/stumble-replying.png" alt="" width="614" height="418" /></a></p>
<ul>
<li> Thats all. Its very easy. Start Stumbling on Chrome as well.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://techtoggle.com/2009/12/stumbleupon-toolbar-in-google-chrome/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Aviary Firefox Add-on to Capture Screen &amp; Edit them Online</title>
		<link>http://techtoggle.com/2009/11/aviary-firefox-add-on-to-capture-screen-edit-them-online/</link>
		<comments>http://techtoggle.com/2009/11/aviary-firefox-add-on-to-capture-screen-edit-them-online/#comments</comments>
		<pubDate>Fri, 06 Nov 2009 07:24:35 +0000</pubDate>
		<dc:creator>Salman</dc:creator>
				<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[firefox add-ons]]></category>
		<category><![CDATA[free imageediting tool]]></category>
		<category><![CDATA[free web tools]]></category>
		<category><![CDATA[online image editing too]]></category>
		<category><![CDATA[online screenshot editing  webservice]]></category>
		<category><![CDATA[screenshot firefox add-on]]></category>
		<category><![CDATA[take screenshots in firefox]]></category>

		<guid isPermaLink="false">http://techtoggle.com/?p=3143</guid>
		<description><![CDATA[Aviary&#8217;s Firefox add-on lets you to capture screen inside firefox and edit them online with Falcon by cropping, resizing and marking the images.It is very easy to use.Once the Add-on is installed, it will adds menu items to the right click context menu. After you take the screenshot, you will be given 4 option: Edit [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-3144" src="http://techtoggle.com/wp-content/uploads/2009/11/falcon-logo.jpg" alt="falcon-logo" width="96" height="90" />Aviary&#8217;s Firefox add-on lets you to capture screen inside firefox and edit them online with Falcon by cropping, resizing and marking the images.It is very easy to use.<span id="more-3143"></span>Once the Add-on is installed, it will adds menu items to the right click context menu.</p>
<p>After you take the screenshot, you will be given 4 option:</p>
<ul>
<li>Edit Image in Aviary</li>
<li>Save to Desktop</li>
<li>Copy to Clipboard</li>
<li>Host at Aviary</li>
</ul>
<p><strong>Aviary&#8217;s Firefox Add-on Screen Shots Tour:</strong></p>
<p><img class="aligncenter size-full wp-image-3145" src="http://techtoggle.com/wp-content/uploads/2009/11/Screenshot-11_6_2009-12_00_39-PM.png" alt="Screenshot - 11_6_2009 , 12_00_39 PM" width="586" height="246" /></p>
<p><img class="aligncenter size-full wp-image-3146" src="http://techtoggle.com/wp-content/uploads/2009/11/Screenshot-11_6_2009-12_05_13-PM.png" alt="Screenshot - 11_6_2009 , 12_05_13 PM" width="586" height="246" /></p>
<p><img class="aligncenter size-full wp-image-3147" src="http://techtoggle.com/wp-content/uploads/2009/11/Screenshot-11_6_2009-12_04_21-PM.png" alt="Screenshot - 11_6_2009 , 12_04_21 PM" width="282" height="302" /></p>
<p><img class="aligncenter size-full wp-image-3148" src="http://techtoggle.com/wp-content/uploads/2009/11/Screenshot-11_6_2009-12_10_07-PM.png" alt="Screenshot - 11_6_2009 , 12_10_07 PM" width="586" height="246" /></p>
<p><a href="http://web1.aviary.com/images_orig/blog/talon/aviary-0.8.6.xpi" target="_blank">Download Aviary&#8217;s Firefox Add-on</a></p>
]]></content:encoded>
			<wfw:commentRss>http://techtoggle.com/2009/11/aviary-firefox-add-on-to-capture-screen-edit-them-online/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Install Windows 7 Via USB Stick</title>
		<link>http://techtoggle.com/2009/10/install-windows-7-via-usb-stick/</link>
		<comments>http://techtoggle.com/2009/10/install-windows-7-via-usb-stick/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 16:32:15 +0000</pubDate>
		<dc:creator>Salman</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flash Drive]]></category>
		<category><![CDATA[Install Windows 7 Through USB Stick]]></category>
		<category><![CDATA[Install Windows 7 Via USB]]></category>
		<category><![CDATA[Usb]]></category>
		<category><![CDATA[USB Stick]]></category>
		<category><![CDATA[Win 7 Flash Drive]]></category>
		<category><![CDATA[windows 7]]></category>
		<category><![CDATA[Windows 7 Flash Drive]]></category>
		<category><![CDATA[Windows 7 USB Burn]]></category>
		<category><![CDATA[Windows 7 USB Stick]]></category>

		<guid isPermaLink="false">http://techtoggle.com/?p=3054</guid>
		<description><![CDATA[Yup, i found this useful utility known as &#8220;AskVG Bootable USB&#8221; through which you can easily install Windows 7, latest OS client released by Microsoft. This app is developed by a reader at AskVG.com through which one can create bootable USB sticks for Windows Vista, Server 2008 or 7. I hope this program would be [...]]]></description>
			<content:encoded><![CDATA[<p>Yup, i found this useful utility known as &#8220;AskVG Bootable USB&#8221; through which you can easily install Windows 7, latest OS client released by Microsoft. This app is developed by a reader at AskVG.com through which one can create bootable USB sticks for Windows Vista, Server 2008 or 7. I hope this program would be of great help if your CD/DVD drive is not working properly.</p>
<p><img class="aligncenter size-full wp-image-3056" title="Windows 7 USB Stick" src="http://techtoggle.com/wp-content/uploads/2009/10/Windows-7-USB-Stick.jpg" alt="Windows 7 USB Stick" width="550" height="350" /></p>
<p><span id="more-3054"></span></p>
<p>This app is portable, so there is no need to install. All you need is a 4 GB flash drive and an ISO image of Windows OS. If you have a DVD, then you may use it instead of an ISO image.</p>
<p><img class="aligncenter size-full wp-image-3055" title="A Bootable USB" src="http://techtoggle.com/wp-content/uploads/2009/10/A-Bootable-USB.png" alt="A Bootable USB" width="277" height="574" /></p>
<ol>
<li>Plugin your USB stick in your system.</li>
<li>Click on <em>Format USB</em> button.</li>
<li>Choose either DVD or ISO version.</li>
<li>Click <em>Start ISO</em> to create bootable USB stick.</li>
</ol>
<p><a href="http://bilalbhatti.com/">Click here to download this small App</a>.</p>
<p>Also try out <a href="http://www.powwownow.com/">Phone conference</a> with Powwownow.</p>
]]></content:encoded>
			<wfw:commentRss>http://techtoggle.com/2009/10/install-windows-7-via-usb-stick/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>How To Read A Text File In C# Windows Forms Application?</title>
		<link>http://techtoggle.com/2009/09/how-to-read-a-text-file-in-c-windows-forms-application/</link>
		<comments>http://techtoggle.com/2009/09/how-to-read-a-text-file-in-c-windows-forms-application/#comments</comments>
		<pubDate>Sun, 13 Sep 2009 14:17:36 +0000</pubDate>
		<dc:creator>Salman</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[C# Windows forms application]]></category>
		<category><![CDATA[get text from a text file]]></category>
		<category><![CDATA[how to read a text file in C#]]></category>
		<category><![CDATA[how to read a text file in C# Windows Forms Application]]></category>
		<category><![CDATA[how to read text data in C#]]></category>
		<category><![CDATA[read a text file]]></category>
		<category><![CDATA[read a text file in C#]]></category>
		<category><![CDATA[read a text file in visual studio]]></category>

		<guid isPermaLink="false">http://techtoggle.com/?p=2975</guid>
		<description><![CDATA[Last week i wrote a tutorial about storing images in database and then retrieving them through Visual Studio (C#). Now, i am going to write about reading data from text files in a C# windows forms application. It is a very simple application and even if you are not familiar with or good at C#, [...]]]></description>
			<content:encoded><![CDATA[<p>Last week i wrote a <a href="http://techtoggle.com/2009/09/how-to-store-and-retrieve-images-in-sql-server-through-visual-studio-c/">tutorial</a> about storing images in database and then retrieving them through Visual Studio (C#). Now, i am going to write about reading data from text files in a C# windows forms application. It is a very simple application and even if you are not familiar with or good at C#, you can still read data from a text file stored in your hard drive, successfully.</p>
<p><span id="more-2975"></span></p>
<p>First of all, create a text file on your desktop, you can create it anywhere in your hard drive. Name it <strong>Read Text</strong> or anything you like. Write some data in it. For instance i have written &#8220;Hi this is Ali from techtoggle.com&#8221;.</p>
<p>Now, go to Microsoft Visual Studio (i am using the 2005 version) and create a Visual C# Windows Application and name it <strong>Read Text </strong>(you can name it anything you like). By default a windows form named <strong>Form1</strong> will be displayed on your screen. Now just to make it more presentable, change its text to &#8220;<strong>Read Text From File</strong>&#8221; from the properties section. Using the toolbox, drag and drop a textbox and two buttons on your form. Now, from the properties section, change the text of <strong>button1 </strong>to <strong>Get Text From File </strong>and also change its name from <strong>button1 </strong>to <strong>btngettext. </strong>Similarly change the text of <strong>button2 </strong>to <strong>Exit </strong>and change its name from <strong>button2</strong> to <strong>btnexit</strong>. This is just to avoid confusion while coding. You can also change the back color of buttons or the text box from the properties section, only if you like to. Adjust the size of the form, text box and the buttons accordingly. Now, your form should look like this :</p>
<p><a href="http://techtoggle.com/wp-content/uploads/2009/09/Windows-Form.jpg"><img class="aligncenter size-full wp-image-2976" title="Windows Form" src="http://techtoggle.com/wp-content/uploads/2009/09/Windows-Form.jpg" alt="Windows Form" width="621" height="457" /></a></p>
<p>Now, double click the <strong>Get Text From File </strong>button to go to the code view. Add the following directive at the top.</p>
<p><code>using System.IO;</code></p>
<p>Now, paste the following code in the function for <strong>btngettext</strong> button click event.</p>
<p><code>StreamReader objstream = new StreamReader("C:\\Users\\Muhammad Ali\\Desktop\\Read Text.txt");</code></p>
<p><code> </code></p>
<p><code>textBox1.Text = objstream.ReadLine();</code></p>
<p>Note that you will have to change the path accordingly as to which location the text file from which you are trying to read text, is saved. And if you want to read all the text and not just a single line in the text file just replace <strong>ReadLine </strong>with <strong>ReadToEnd </strong>in the above code.</p>
<p>Now go to the design view, and double click the <strong>Exit </strong>button and paste the following code in the function for <strong>btnexit</strong> click event.</p>
<p><code>Application.Exit();</code></p>
<p>And You&#8217;re done. Yes, its that simple. Run the project and you will be able to read a text file.</p>
<p><a style="text-decoration: none;" href="http://techtoggle.com/wp-content/uploads/2009/09/file.jpg"><img class="aligncenter size-full wp-image-2977" title="read text file in C#" src="http://techtoggle.com/wp-content/uploads/2009/09/file.jpg" alt="read text file in C#" width="618" height="453" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://techtoggle.com/2009/09/how-to-read-a-text-file-in-c-windows-forms-application/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Automate Network Configuration and Internet Proxy Settings</title>
		<link>http://techtoggle.com/2009/07/automate-network-configuration-and-internet-proxy-settings/</link>
		<comments>http://techtoggle.com/2009/07/automate-network-configuration-and-internet-proxy-settings/#comments</comments>
		<pubDate>Wed, 22 Jul 2009 21:16:05 +0000</pubDate>
		<dc:creator>Salman</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[automate network]]></category>
		<category><![CDATA[automate network configuration]]></category>
		<category><![CDATA[automate proxy settings]]></category>
		<category><![CDATA[automate TCP/IP settings]]></category>
		<category><![CDATA[automatically change IP address]]></category>

		<guid isPermaLink="false">http://techtoggle.com/?p=2654</guid>
		<description><![CDATA[With increasing usage of laptop computers and netbook computers, more and more people use internet via WiFi or Lan or WiMax (in the future).  Every network has its own network configuration settings. It is quite a headache to change network settings manually, time and again. Therfore it is very useful to automate this process using [...]]]></description>
			<content:encoded><![CDATA[<p>With increasing usage of laptop computers and netbook computers, more and more people use internet via WiFi or Lan or WiMax (in the future).  Every network has its own network configuration settings. It is quite a headache to change network settings manually, time and again. Therfore it is very useful to automate this process using batch files method.</p>
<p><span id="more-2654"></span></p>
<p>For example if i go to university in the morning, then go to my office and then comeback home in the evening. I use internet on all these domains with WiFi of my Notebook. The problem is that i need to change TCP/IP and proxy settings for each place every day. I thought of automating this process and came up with the solution. It might not be the perfect one but it works really nice for me.</p>
<p>There are two steps to do this task.</p>
<ol>
<li>Automate Network TCP/IP settings.</li>
<li>Automate Internet Proxy/Lan Settings.</li>
</ol>
<p>Required files are shown in figure.</p>
<p><a href="http://techtoggle.com/wp-content/uploads/2009/07/reqd-files.png"><img class="aligncenter size-full wp-image-2660" title="reqd files" src="http://techtoggle.com/wp-content/uploads/2009/07/reqd-files.png" alt="reqd files" width="397" height="405" /></a></p>
<h3>Automate Network TCP/IP settings</h3>
<p>We will create a batch file to automate this process. The basic command used in this method is &#8216;Netsh&#8217;.</p>
<p>basic template of the batch file is like this.</p>
<pre>Netsh interface ip set address name="Wireless Network Connection" source=static addr=xxx.xxx.xxx.xxx mask=xxx.xxx.xxx.xxx
Netsh interface ip set address name="Wireless Network Connection" gateway=xxx.xxx.xxx.xxx gwmetric=0
Netsh interface ip set dns name="Wireless Network Connection" source=static addr=xxx.xxx.xxx.xxx
Netsh interface ip add dns name = "Wireless Network Connection" addr = xxx.xxx.xxx.xxx</pre>
<p>To modify this template as you require, you need to change the name (wireless Network Connection)  with your connection name.  Supply desired IP addresses with the locations xxx.xxx.xxx.xxx .</p>
<h3>Home Settings:</h3>
<p>Picture below shows the required settings of home template which are automatic dhcp with no proxy settings.</p>
<p><a href="http://techtoggle.com/wp-content/uploads/2009/07/home.png"><img class="aligncenter size-full wp-image-2655" title="home" src="http://techtoggle.com/wp-content/uploads/2009/07/home.png" alt="home" width="404" height="453" /></a></p>
<p>You can get the batch file for this type of setting from <a href="http://www.box.net/shared/bei44ev2n1" target="_blank"><strong>Here.</strong></a></p>
<h3>Office Settings:</h3>
<p>picture below shows the required settings of office template which are static IP address, gateway and DNS address.</p>
<p><a href="http://techtoggle.com/wp-content/uploads/2009/07/Office.png"><img class="aligncenter size-full wp-image-2656" title="Office" src="http://techtoggle.com/wp-content/uploads/2009/07/Office.png" alt="Office" width="404" height="453" /></a></p>
<p>You can get batch file of above settings from <a href="http://www.box.net/shared/d8jvm0jrci" target="_blank"><strong>Here.</strong></a></p>
<p>Remember to change name and addresses as your requirement.</p>
<h3>University Settings:</h3>
<p>this template uses static IP addresses, gateway =none, DNS=none with proxy server enabled.</p>
<p><a href="http://techtoggle.com/wp-content/uploads/2009/07/University.png"><img class="aligncenter size-full wp-image-2657" title="University" src="http://techtoggle.com/wp-content/uploads/2009/07/University.png" alt="University" width="404" height="453" /></a></p>
<p>You can get batch file of above settings from <a href="http://www.box.net/shared/nc9hnaciki" target="_blank"><strong>Here.</strong></a></p>
<p>Remember to change name and addresses as your requirement. I hope these files work file for most of my friends.</p>
<h3>Automate Internet Proxy/Lan Settings:</h3>
<p>For internet explorer and Google chrome users regedit merge .reg file will do the work.</p>
<p>To enable proxy settings.</p>
<pre>Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"ProxyEnable"=dword:00000001
"ProxyServer"="172.16.56.56:80"
<a href="http://techtoggle.com/wp-content/uploads/2009/07/proxy.png"><img class="aligncenter size-full wp-image-2659" title="proxy" src="http://techtoggle.com/wp-content/uploads/2009/07/proxy.png" alt="proxy" width="384" height="337" /></a></pre>
<p>To disable Proxy settings.</p>
<pre>Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"ProxyEnable"=dword:00000000
"ProxyServer"="172.16.0.1:80"
<a href="http://techtoggle.com/wp-content/uploads/2009/07/noproxy.png"><img class="aligncenter size-full wp-image-2658" title="noproxy" src="http://techtoggle.com/wp-content/uploads/2009/07/noproxy.png" alt="noproxy" width="384" height="337" /></a></pre>
<p>Change proxy address as you require.</p>
<p>Get .reg files from <a href="http://www.box.net/shared/8rqar8qaje" target="_blank"><strong>Here</strong></a>.</p>
<p>Extract these files on the same folder where .bat files are located. Then modify each batch file and add this line at the end of each file.</p>
<pre>regedit /s xxx.reg</pre>
<p>replace xxx with office or home or university for respective batch files.</p>
<p>For firefox users there is an Add-on which will do the task . you can get the add-on from <a href="https://addons.mozilla.org/en-US/firefox/addon/1557" target="_blank">Here.</a></p>
<p>Thats it you are done. Just double click the required batch file and automated settings will be done.</p>
<p>For Windows XP, <a href="http://www.box.net/shared/y35ao4pbk2" target="_blank">Download from Here.</a></p>
<p>For Windows Vista/ Windows 7, <a href="http://www.box.net/shared/on7ehozer9" target="_blank">Download from Here.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://techtoggle.com/2009/07/automate-network-configuration-and-internet-proxy-settings/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>How To Create An Awesome Landscape In 3D-Max [Tutorial]</title>
		<link>http://techtoggle.com/2009/03/how-to-create-an-awesome-landscape-in-3d-max-tutorial/</link>
		<comments>http://techtoggle.com/2009/03/how-to-create-an-awesome-landscape-in-3d-max-tutorial/#comments</comments>
		<pubDate>Sun, 22 Mar 2009 12:48:06 +0000</pubDate>
		<dc:creator>Salman</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[3D]]></category>
		<category><![CDATA[3D Studio Max 9]]></category>
		<category><![CDATA[Beginners Tutorial]]></category>
		<category><![CDATA[Cool Lanscape]]></category>
		<category><![CDATA[Cylinder]]></category>
		<category><![CDATA[graphics]]></category>
		<category><![CDATA[Grids]]></category>
		<category><![CDATA[Landscape]]></category>
		<category><![CDATA[Max]]></category>
		<category><![CDATA[Patch]]></category>
		<category><![CDATA[Render]]></category>
		<category><![CDATA[Scatter]]></category>
		<category><![CDATA[Sphere]]></category>
		<category><![CDATA[Studio]]></category>
		<category><![CDATA[Techtoggle.com]]></category>
		<category><![CDATA[Tutorial For Lames]]></category>

		<guid isPermaLink="false">http://techtoggle.com/?p=1895</guid>
		<description><![CDATA[3D-Studio is one of the best softwares being used all around the world used for animation and graphic designing. In my last tutorial i explained how to create a simple animation using reactor in 3D-Max, you can view it HERE. This tutorial explains creation of simple landscape which uses simple functions like Patch-grids and Scatter [...]]]></description>
			<content:encoded><![CDATA[<p>3D-Studio is one of the best softwares being used all around the world used for animation and graphic designing. In my last tutorial i explained how to create a simple animation using reactor in 3D-Max, you can view it <a href="http://techtoggle.com/2009/03/animation-tutorial-for-beginners-in-3d-studio-max/">HERE</a>. This tutorial explains creation of simple landscape which uses simple functions like Patch-grids and Scatter etc.</p>
<p><span id="more-1895"></span></p>
<p><img class="aligncenter size-full wp-image-1896" title="landscape" src="http://techtoggle.com/wp-content/uploads/2009/03/output.png" alt="landscape" width="480" height="270" /> <strong></strong></p>
<p><strong>The tutorial consist of the following simple steps:</strong></p>
<ol>
<li>Creation of a Ptach-Grid</li>
<li>Adding noise to the patch to make it more realistic</li>
<li>Creating a tree using sphere and cylinder</li>
<li>Merging sphere and cylinder into one object</li>
<li>Assigning matrials to tree</li>
<li>Scattering copies of tree onto the grid using Scatter function</li>
<li>Adding background to the scene i-e clouds in this case</li>
<li>Rendering the output.</li>
</ol>
<p align="center"><object width="500" height="405" data="http://www.youtube.com/v/-UNgkabx7D8&amp;hl=en&amp;fs=1&amp;rel=0&amp;border=1" type="application/x-shockwave-flash"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/-UNgkabx7D8&amp;hl=en&amp;fs=1&amp;rel=0&amp;border=1" /><param name="allowfullscreen" value="true" /></object></p>
<p><a href="http://www.box.net/shared/khbeczrzvo">Download .MAX file here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://techtoggle.com/2009/03/how-to-create-an-awesome-landscape-in-3d-max-tutorial/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Animation Tutorial For Beginners In 3D-Studio-Max</title>
		<link>http://techtoggle.com/2009/03/animation-tutorial-for-beginners-in-3d-studio-max/</link>
		<comments>http://techtoggle.com/2009/03/animation-tutorial-for-beginners-in-3d-studio-max/#comments</comments>
		<pubDate>Sun, 15 Mar 2009 23:17:34 +0000</pubDate>
		<dc:creator>Salman</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[3D]]></category>
		<category><![CDATA[3D Studio Max 9]]></category>
		<category><![CDATA[Animation]]></category>
		<category><![CDATA[Beginners Tutorial]]></category>
		<category><![CDATA[Car Animation]]></category>
		<category><![CDATA[Cool 3D Max Tutorial]]></category>
		<category><![CDATA[Max]]></category>
		<category><![CDATA[Reactor]]></category>
		<category><![CDATA[Studio]]></category>
		<category><![CDATA[Techtoggle.com]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Tutorial For Lames]]></category>

		<guid isPermaLink="false">http://techtoggle.com/?p=1816</guid>
		<description><![CDATA[Well a week ago, i started to learn about the animation in 3D-Studio-Max 9. I visited many websites and followed many tutorials after which i was able to create my very first animation in 3D-Studio-Max. I would like to share it with the people who want to learn animation in 3D-Studio-Max. This tutorial is basically [...]]]></description>
			<content:encoded><![CDATA[<p>Well a week ago, i started to learn about the animation in 3D-Studio-Max 9. I visited many websites and followed many tutorials after which i was able to create my very first animation in 3D-Studio-Max. I would like to share it with the people who want to learn animation in 3D-Studio-Max. This tutorial is basically for beginners. I preferred video recording rather than writing each and every step here. Its very easy and by watching this video i am sure you will be able to create your first animation in just 5 mins. So here we go&#8230;</p>
<p><span id="more-1816"></span></p>
<p align="center"><object width="500" height="405" data="http://www.youtube.com/v/WidZkbtBnWA&amp;hl=en&amp;fs=1&amp;rel=0&amp;border=1" type="application/x-shockwave-flash"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/WidZkbtBnWA&amp;hl=en&amp;fs=1&amp;rel=0&amp;border=1" /><param name="allowfullscreen" value="true" /></object></p>
<p>Download .max file here.</p>
<div id="attachment_509" class="wp-caption alignnone" style="width: 115px"><a href="http://www.box.net/shared/ecc1stsyru"><img class="size-thumbnail wp-image-509" title="Download" src="http://techtoggle.com/wp-content/uploads/2009/01/download-150x150.jpg" alt="Download " width="105" height="105" /></a><p class="wp-caption-text">Download Source Code</p></div>
<p>Download Output Movie [HD AVI (1.42 MB)]</p>
<div id="attachment_509" class="wp-caption alignnone" style="width: 115px"><a href="http://www.box.net/shared/2t2n102uua"><img class="size-thumbnail wp-image-509" title="Download" src="http://techtoggle.com/wp-content/uploads/2009/01/download-150x150.jpg" alt="Download " width="105" height="105" /></a><p class="wp-caption-text">Download AVI Video</p></div>
]]></content:encoded>
			<wfw:commentRss>http://techtoggle.com/2009/03/animation-tutorial-for-beginners-in-3d-studio-max/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

