<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title><![CDATA[Tutorialshare - All Forums]]></title>
		<link>http://tutorialshare.daman371designs.com/community/</link>
		<description><![CDATA[Tutorialshare - http://tutorialshare.daman371designs.com/community]]></description>
		<pubDate>Sat, 04 Sep 2010 00:43:21 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[Correct headers for sending email in PHP]]></title>
			<link>http://tutorialshare.daman371designs.com/community/showthread.php?tid=36</link>
			<pubDate>Mon, 11 Jan 2010 04:01:34 -0800</pubDate>
			<guid isPermaLink="false">http://tutorialshare.daman371designs.com/community/showthread.php?tid=36</guid>
			<description><![CDATA[This is a very annoying topic to discuss as no one seems to know the correct headers. Although I hope this can change.<br />
<br />
Basically I am stuck with a problem, I have set up a script that sends email using authenticated SMTP.<br />
<br />
Without any manual editing of the headers the email will manage to end up in hotmail's junk folder and wont appear at all in Yahoo's inbox or spam folder.<br />
<br />
I havn't tried GMail but I am guessing it will appear in junk.<br />
<br />
If you guys have any working source code extract, full working scripts, links, referenced, whatever to help myself and anyone else who views this thread to allow them to send email to the INBOX of Hotmail, Yahoo and GMail accounts. I will praise you! I have been working on this for a whole day straight. I just can't seem to find out a working solution.<br />
<br />
So please OpenSock, I hate to beg but I am sure the next person wants to hear this solution as much as myself.<br />
<br />
Sorry if I sound tired... probably because I am.<br />
<br />
<br />
Thanks,]]></description>
			<content:encoded><![CDATA[This is a very annoying topic to discuss as no one seems to know the correct headers. Although I hope this can change.<br />
<br />
Basically I am stuck with a problem, I have set up a script that sends email using authenticated SMTP.<br />
<br />
Without any manual editing of the headers the email will manage to end up in hotmail's junk folder and wont appear at all in Yahoo's inbox or spam folder.<br />
<br />
I havn't tried GMail but I am guessing it will appear in junk.<br />
<br />
If you guys have any working source code extract, full working scripts, links, referenced, whatever to help myself and anyone else who views this thread to allow them to send email to the INBOX of Hotmail, Yahoo and GMail accounts. I will praise you! I have been working on this for a whole day straight. I just can't seem to find out a working solution.<br />
<br />
So please OpenSock, I hate to beg but I am sure the next person wants to hear this solution as much as myself.<br />
<br />
Sorry if I sound tired... probably because I am.<br />
<br />
<br />
Thanks,]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Read lines in c++]]></title>
			<link>http://tutorialshare.daman371designs.com/community/showthread.php?tid=35</link>
			<pubDate>Fri, 08 Jan 2010 04:57:10 -0800</pubDate>
			<guid isPermaLink="false">http://tutorialshare.daman371designs.com/community/showthread.php?tid=35</guid>
			<description><![CDATA[I want to compare how many lines are the same in two .txt files. I was thinking on doing it by reading each line into a string and simple compare it, my question is... what's the best why to know where the line has ended? I want to read the invisible characters as well. I guess I could look for the enter ascii code but don't know how good of a idea is that.]]></description>
			<content:encoded><![CDATA[I want to compare how many lines are the same in two .txt files. I was thinking on doing it by reading each line into a string and simple compare it, my question is... what's the best why to know where the line has ended? I want to read the invisible characters as well. I guess I could look for the enter ascii code but don't know how good of a idea is that.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[PHP + Html?]]></title>
			<link>http://tutorialshare.daman371designs.com/community/showthread.php?tid=34</link>
			<pubDate>Fri, 08 Jan 2010 04:56:07 -0800</pubDate>
			<guid isPermaLink="false">http://tutorialshare.daman371designs.com/community/showthread.php?tid=34</guid>
			<description><![CDATA[I'm having a hard time with php code and html code in one. I know you can have something like<br />
html code here...&lt;? php code here ?&gt; and than more html code here....<br />
<br />
But I keep getting a syntax error, why?<br />
No I dont, this is what it fully says...<br />
<br />
<span style="font-weight: bold;">Parse error:</span> syntax error, unexpected &#36;end in C:\wamp\www\Work\surveyGuide.php on line 201<br />
<br />
and it points to my end thing ?&gt;<br />
See it goes &lt;? php code ?&gt; and than html....&lt;?php code ?&gt;]]></description>
			<content:encoded><![CDATA[I'm having a hard time with php code and html code in one. I know you can have something like<br />
html code here...&lt;? php code here ?&gt; and than more html code here....<br />
<br />
But I keep getting a syntax error, why?<br />
No I dont, this is what it fully says...<br />
<br />
<span style="font-weight: bold;">Parse error:</span> syntax error, unexpected &#36;end in C:\wamp\www\Work\surveyGuide.php on line 201<br />
<br />
and it points to my end thing ?&gt;<br />
See it goes &lt;? php code ?&gt; and than html....&lt;?php code ?&gt;]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Login page in vb]]></title>
			<link>http://tutorialshare.daman371designs.com/community/showthread.php?tid=33</link>
			<pubDate>Mon, 04 Jan 2010 02:06:06 -0800</pubDate>
			<guid isPermaLink="false">http://tutorialshare.daman371designs.com/community/showthread.php?tid=33</guid>
			<description><![CDATA[Hello Guys <br />
Anyone can share here coding of login page in vb.net actually i want to make one website and i am very new for vb.net so please help me??]]></description>
			<content:encoded><![CDATA[Hello Guys <br />
Anyone can share here coding of login page in vb.net actually i want to make one website and i am very new for vb.net so please help me??]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Javascript e-books]]></title>
			<link>http://tutorialshare.daman371designs.com/community/showthread.php?tid=32</link>
			<pubDate>Fri, 01 Jan 2010 23:37:03 -0800</pubDate>
			<guid isPermaLink="false">http://tutorialshare.daman371designs.com/community/showthread.php?tid=32</guid>
			<description><![CDATA[Hello Guys<br />
Anyone have the websites address which can allow free download the E-books of JavaScript and tutorial to learn JavaScript?]]></description>
			<content:encoded><![CDATA[Hello Guys<br />
Anyone have the websites address which can allow free download the E-books of JavaScript and tutorial to learn JavaScript?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[CSS USE]]></title>
			<link>http://tutorialshare.daman371designs.com/community/showthread.php?tid=31</link>
			<pubDate>Fri, 01 Jan 2010 03:44:18 -0800</pubDate>
			<guid isPermaLink="false">http://tutorialshare.daman371designs.com/community/showthread.php?tid=31</guid>
			<description><![CDATA[Hello <br />
Anyone can tell me that what is the use of CSS in websites and where it's declare??]]></description>
			<content:encoded><![CDATA[Hello <br />
Anyone can tell me that what is the use of CSS in websites and where it's declare??]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Funny:Deciding whether to have children?Read it once...]]></title>
			<link>http://tutorialshare.daman371designs.com/community/showthread.php?tid=30</link>
			<pubDate>Thu, 05 Nov 2009 21:23:09 -0800</pubDate>
			<guid isPermaLink="false">http://tutorialshare.daman371designs.com/community/showthread.php?tid=30</guid>
			<description><![CDATA[I don't often cut and paste "funny" emails but I liked this one;<br />
<br />
<br />
FOLLOW THESE 14 SIMPLE TESTS BEFORE YOU DECIDE TO HAVE<br />
CHILDREN<br />
<br />
<br />
<br />
Test 1<br />
<br />
Women to prepare for maternity, put on a dressing gown and<br />
stick a beanbag down the front. Leave it there for 9 months.<br />
After 9 months remove 5% of the beans.<br />
<br />
Men to prepare for paternity, go to a local chemist, tip<br />
the contents of your wallet onto the counter and tell the<br />
pharmacist to help himself. Then go to the supermarket.<br />
Arrange to have your salary paid directly to their head<br />
office. Go home. Pick up the newspaper and read it for the<br />
last time.<br />
<br />
<br />
<br />
Test 2<br />
<br />
Find a couple who are already parents and berate them about<br />
their methods of discipline, lack of patience, appallingly<br />
low tolerance levels and how they have allowed their<br />
children to run wild. Suggest ways in which they might<br />
improve their child's sleeping habits,toilet training, table<br />
manners and overall behavior. Enjoy it. It will be the last<br />
time in your life that you will ha ve all the answers.<br />
<br />
<br />
<br />
Test 3<br />
<br />
To discover how the nights will feel<br />
<br />
1. Walk around the living room from 5pm to 10pm carrying a<br />
wet bag weighing approximately 4 - 6kg, with a radio turned<br />
to static (or some other obnoxious sound) playing loudly.<br />
<br />
2. At 10pm, put the bag down, set the alarm for midnight and<br />
go to sleep.<br />
<br />
3. Get up at 12pm and walk the bag around the living room<br />
until 1am.<br />
<br />
4.Set the alarm for 3am.<br />
<br />
5. As you can't get back to sleep, get up at 2am and make a<br />
cup of tea.<br />
<br />
6.Go to bed at 2.45am.<br />
<br />
7. Get up again at 3am when the alarm goes off.<br />
<br />
8. Sing songs in the dark until 4am.<br />
<br />
9. Put the alarm on for 5am. Get up when it goes off.<br />
<br />
10. Make breakfast. Keep this up for 5 years.<br />
<br />
LOOK CHEERFUL.<br />
<br />
Test 4<br />
<br />
Dressing small children is not as easy as it seems<br />
<br />
1. Buy a live octopus and a string bag.<br />
<br />
2. Attempt to put the octopus into the string bag so that no<br />
arms hang o ut.<br />
<br />
3. Time allowed for this 5 minutes.<br />
<br />
<br />
<br />
Test 5<br />
<br />
Forget the BMW and buy a practical 5 door wagon. And don't<br />
think that you can leave it out on the driveway spotless and<br />
shining. Family cars don't look like that.<br />
<br />
1. Buy a chocolate ice cream cone and put it in the glove<br />
compartment.<br />
<br />
2. Leave it there.<br />
<br />
3. Get a coin. Insert it into the cd player.<br />
<br />
4. Take a box of chocolate biscuits; mash them into the back<br />
seat.<br />
<br />
5. Run a garden rake along both sides of the car.<br />
<br />
<br />
<br />
Test 6<br />
<br />
Get ready to go out<br />
<br />
1. Wait<br />
<br />
2. Go out the front door<br />
<br />
3. Come back in again<br />
<br />
4. Go out<br />
<br />
5. Come back in again<br />
<br />
6. Go out again<br />
<br />
7. Walk down the front path<br />
<br />
8. Walk back up it<br />
<br />
9. Walk down it again<br />
<br />
10. Walk very slowly down the road for five minutes.<br />
<br />
11. Stop, inspect minutely and ask at least 6 questions<br />
about every piece of used chewing gum, dirty tissue and dead<br />
insect al ong the way.<br />
<br />
12. Retrace your steps<br />
<br />
13. Scream that you have had as much as you can stand until<br />
the neighbours come out and stare at you.<br />
<br />
14. Give up and go back into the house.<br />
<br />
15. You are now just about ready to try taking a small child<br />
for a walk.<br />
<br />
<br />
<br />
Test 7<br />
<br />
Repeat everything you say at least 5 times.<br />
<br />
<br />
<br />
Test 8<br />
<br />
Go to the local supermarket. Take with you the nearest thing<br />
you can find, to a pre-school child. A full-grown goat is<br />
excellent. If you intend to have more than one child, take<br />
more than one goat. Buy your weeks groceries without letting<br />
the goat(s) out of your sight. Pay for everything the goat<br />
eats or destroys. Until you can easily accomplish this, do<br />
not even contemplate having children.<br />
<br />
<br />
<br />
Test 9<br />
<br />
1. Hollow out a melon<br />
<br />
2. Make a small hole in the side<br />
<br />
3. Suspend the melon from the ceiling and swing it side to<br />
side<br />
<br />
4. Now get a bowl of soggy cornflakes and attempt to spoon<br />
them into the swaying melon while pretending to be an<br />
aeroplane.<br />
<br />
5. Continue until half the cornflakes are gone.<br />
<br />
6. Tip the rest into your lap, making sure that a lot of it<br />
falls on the floor.<br />
<br />
7. You are now ready to feed a 12-month old child.<br />
<br />
<br />
<br />
Test 10<br />
<br />
Learn the names of every character from the Wiggles, Thomas<br />
the Tank Engine and Disney. Watch nothing else on television<br />
for at least 5 years.<br />
<br />
<br />
<br />
Test 11<br />
<br />
Can you stand the mess children make? To find out<br />
<br />
1. Smear peanut butter onto the sofa and jam onto the<br />
curtains<br />
<br />
2. Hide a fish behind the stereo and leave it there all<br />
summer.<br />
<br />
3. Stick your fingers in the flower beds and then rub them<br />
on clean walls.<br />
<br />
4. Cover the stains with crayon.<br />
<br />
5. How does that look?<br />
<br />
<br />
<br />
Test 12<br />
<br />
Make a recording of someone shouting 'Mummy' repeatedly.<br />
<br />
Important no more than a 4 second delay between each Mummy<br />
- occasional cresce ndo to the level of a supersonic jet if<br />
required.<br />
<br />
Play this tape in your car, everywhere you go for the next 4<br />
years.<br />
<br />
You are now ready to take a long trip with a toddler.<br />
<br />
<br />
<br />
Test 13<br />
<br />
Start talking to an adult of your choice. Have someone else<br />
continually tug on your shirt hem or shirt sleeve while<br />
playing the Mummy tape listed above.<br />
<br />
You are now ready to have a conversation with an adult while<br />
there's a child in the room.<br />
<br />
<br />
<br />
Test 14<br />
<br />
Put on your finest work attire. Pick a day on which you have<br />
an important meeting. Now<br />
<br />
1. Take a cup of cream and add 1 cup of lemon juice<br />
<br />
2. Stir<br />
<br />
3. Dump half of it on your shirt<br />
<br />
4. Saturate a towel with the other half of the mixture<br />
<br />
5. Attempt to clean your shirt with the same saturated towel<br />
<br />
6. Do not change, you have no time.<br />
<br />
7. Go directly to work<br />
<br />
<br />
You are now ready to have children]]></description>
			<content:encoded><![CDATA[I don't often cut and paste "funny" emails but I liked this one;<br />
<br />
<br />
FOLLOW THESE 14 SIMPLE TESTS BEFORE YOU DECIDE TO HAVE<br />
CHILDREN<br />
<br />
<br />
<br />
Test 1<br />
<br />
Women to prepare for maternity, put on a dressing gown and<br />
stick a beanbag down the front. Leave it there for 9 months.<br />
After 9 months remove 5% of the beans.<br />
<br />
Men to prepare for paternity, go to a local chemist, tip<br />
the contents of your wallet onto the counter and tell the<br />
pharmacist to help himself. Then go to the supermarket.<br />
Arrange to have your salary paid directly to their head<br />
office. Go home. Pick up the newspaper and read it for the<br />
last time.<br />
<br />
<br />
<br />
Test 2<br />
<br />
Find a couple who are already parents and berate them about<br />
their methods of discipline, lack of patience, appallingly<br />
low tolerance levels and how they have allowed their<br />
children to run wild. Suggest ways in which they might<br />
improve their child's sleeping habits,toilet training, table<br />
manners and overall behavior. Enjoy it. It will be the last<br />
time in your life that you will ha ve all the answers.<br />
<br />
<br />
<br />
Test 3<br />
<br />
To discover how the nights will feel<br />
<br />
1. Walk around the living room from 5pm to 10pm carrying a<br />
wet bag weighing approximately 4 - 6kg, with a radio turned<br />
to static (or some other obnoxious sound) playing loudly.<br />
<br />
2. At 10pm, put the bag down, set the alarm for midnight and<br />
go to sleep.<br />
<br />
3. Get up at 12pm and walk the bag around the living room<br />
until 1am.<br />
<br />
4.Set the alarm for 3am.<br />
<br />
5. As you can't get back to sleep, get up at 2am and make a<br />
cup of tea.<br />
<br />
6.Go to bed at 2.45am.<br />
<br />
7. Get up again at 3am when the alarm goes off.<br />
<br />
8. Sing songs in the dark until 4am.<br />
<br />
9. Put the alarm on for 5am. Get up when it goes off.<br />
<br />
10. Make breakfast. Keep this up for 5 years.<br />
<br />
LOOK CHEERFUL.<br />
<br />
Test 4<br />
<br />
Dressing small children is not as easy as it seems<br />
<br />
1. Buy a live octopus and a string bag.<br />
<br />
2. Attempt to put the octopus into the string bag so that no<br />
arms hang o ut.<br />
<br />
3. Time allowed for this 5 minutes.<br />
<br />
<br />
<br />
Test 5<br />
<br />
Forget the BMW and buy a practical 5 door wagon. And don't<br />
think that you can leave it out on the driveway spotless and<br />
shining. Family cars don't look like that.<br />
<br />
1. Buy a chocolate ice cream cone and put it in the glove<br />
compartment.<br />
<br />
2. Leave it there.<br />
<br />
3. Get a coin. Insert it into the cd player.<br />
<br />
4. Take a box of chocolate biscuits; mash them into the back<br />
seat.<br />
<br />
5. Run a garden rake along both sides of the car.<br />
<br />
<br />
<br />
Test 6<br />
<br />
Get ready to go out<br />
<br />
1. Wait<br />
<br />
2. Go out the front door<br />
<br />
3. Come back in again<br />
<br />
4. Go out<br />
<br />
5. Come back in again<br />
<br />
6. Go out again<br />
<br />
7. Walk down the front path<br />
<br />
8. Walk back up it<br />
<br />
9. Walk down it again<br />
<br />
10. Walk very slowly down the road for five minutes.<br />
<br />
11. Stop, inspect minutely and ask at least 6 questions<br />
about every piece of used chewing gum, dirty tissue and dead<br />
insect al ong the way.<br />
<br />
12. Retrace your steps<br />
<br />
13. Scream that you have had as much as you can stand until<br />
the neighbours come out and stare at you.<br />
<br />
14. Give up and go back into the house.<br />
<br />
15. You are now just about ready to try taking a small child<br />
for a walk.<br />
<br />
<br />
<br />
Test 7<br />
<br />
Repeat everything you say at least 5 times.<br />
<br />
<br />
<br />
Test 8<br />
<br />
Go to the local supermarket. Take with you the nearest thing<br />
you can find, to a pre-school child. A full-grown goat is<br />
excellent. If you intend to have more than one child, take<br />
more than one goat. Buy your weeks groceries without letting<br />
the goat(s) out of your sight. Pay for everything the goat<br />
eats or destroys. Until you can easily accomplish this, do<br />
not even contemplate having children.<br />
<br />
<br />
<br />
Test 9<br />
<br />
1. Hollow out a melon<br />
<br />
2. Make a small hole in the side<br />
<br />
3. Suspend the melon from the ceiling and swing it side to<br />
side<br />
<br />
4. Now get a bowl of soggy cornflakes and attempt to spoon<br />
them into the swaying melon while pretending to be an<br />
aeroplane.<br />
<br />
5. Continue until half the cornflakes are gone.<br />
<br />
6. Tip the rest into your lap, making sure that a lot of it<br />
falls on the floor.<br />
<br />
7. You are now ready to feed a 12-month old child.<br />
<br />
<br />
<br />
Test 10<br />
<br />
Learn the names of every character from the Wiggles, Thomas<br />
the Tank Engine and Disney. Watch nothing else on television<br />
for at least 5 years.<br />
<br />
<br />
<br />
Test 11<br />
<br />
Can you stand the mess children make? To find out<br />
<br />
1. Smear peanut butter onto the sofa and jam onto the<br />
curtains<br />
<br />
2. Hide a fish behind the stereo and leave it there all<br />
summer.<br />
<br />
3. Stick your fingers in the flower beds and then rub them<br />
on clean walls.<br />
<br />
4. Cover the stains with crayon.<br />
<br />
5. How does that look?<br />
<br />
<br />
<br />
Test 12<br />
<br />
Make a recording of someone shouting 'Mummy' repeatedly.<br />
<br />
Important no more than a 4 second delay between each Mummy<br />
- occasional cresce ndo to the level of a supersonic jet if<br />
required.<br />
<br />
Play this tape in your car, everywhere you go for the next 4<br />
years.<br />
<br />
You are now ready to take a long trip with a toddler.<br />
<br />
<br />
<br />
Test 13<br />
<br />
Start talking to an adult of your choice. Have someone else<br />
continually tug on your shirt hem or shirt sleeve while<br />
playing the Mummy tape listed above.<br />
<br />
You are now ready to have a conversation with an adult while<br />
there's a child in the room.<br />
<br />
<br />
<br />
Test 14<br />
<br />
Put on your finest work attire. Pick a day on which you have<br />
an important meeting. Now<br />
<br />
1. Take a cup of cream and add 1 cup of lemon juice<br />
<br />
2. Stir<br />
<br />
3. Dump half of it on your shirt<br />
<br />
4. Saturate a towel with the other half of the mixture<br />
<br />
5. Attempt to clean your shirt with the same saturated towel<br />
<br />
6. Do not change, you have no time.<br />
<br />
7. Go directly to work<br />
<br />
<br />
You are now ready to have children]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[New Features]]></title>
			<link>http://tutorialshare.daman371designs.com/community/showthread.php?tid=28</link>
			<pubDate>Mon, 28 Jul 2008 11:18:29 -0700</pubDate>
			<guid isPermaLink="false">http://tutorialshare.daman371designs.com/community/showthread.php?tid=28</guid>
			<description><![CDATA[Tutorialshare will have a new feature coming in the next few months. Also the tutorial indexing system is being built.]]></description>
			<content:encoded><![CDATA[Tutorialshare will have a new feature coming in the next few months. Also the tutorial indexing system is being built.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[How to Setup a Network]]></title>
			<link>http://tutorialshare.daman371designs.com/community/showthread.php?tid=18</link>
			<pubDate>Fri, 01 Jun 2007 17:44:42 -0700</pubDate>
			<guid isPermaLink="false">http://tutorialshare.daman371designs.com/community/showthread.php?tid=18</guid>
			<description><![CDATA[<span style="font-weight: bold;">Requirements</span><br />
1. a router which can be either wired or wireless. Wireless is recommended for homes to allow other computers easy access<br />
2. a network adapter for the wired computer to setup the network<br />
3. ethernet or wireless adapters for each computer that will use the network<br />
4. a modem which is compatible with the router and usually uses ethernet<br />
<br />
<span style="font-weight: bold;">Installing the network adapter</span><br />
<br />
Shutdown the computer and remove the power cable. Make sure all electricity from the computer is discharged by pressing the reset switch or power button. Unplug all peripherals and open the case. Locate an open PCI slot and insert the network adapter into the slot. Fasten the screw on the side of the card to hold it in place and put the case back together.<br />
<br />
<span style="font-weight: bold;">Connecting the cables</span><br />
<br />
First, connect the cables of the modem to the router by plugging one end into the modem and the other end into the router where the router says WAN. Now, take another ethernet cable and connect one end to the computer and one end to the router where it says port 1, 2, 3, or 4. They should be right next to each other and separate from the WAN. Now plug in the modem and the router and turn on the computer.<br />
<br />
<span style="font-weight: bold;">Router setup</span><br />
<br />
The computer should start detecting the new network adapter and install it. The CD that came with the network adapter may have to be inserted to install the drivers for the network adapter. Follow the new hardware installation wizard until it says the driver has been installed. A new icon in the system tray should appear (Windows XP) or new hardware appearing in the device manager under network adapters (Windows 9X). Now the network connection has to be setup for the wired connection.<br />
<br />
<span style="font-weight: bold;">Windows XP Network Connection</span><br />
Go to My Network Places and run the Setup a home or small office network wizard. Click Next and then click Next again since the hardware has all been plugged in an turned on. Click the radio button that says This computer connects through a residential gateway or another computer on my network and Click Next. Enter a Computer Name which will be used to distinguish the computers. Each Computer Name must be unique. Click Next. Choose a Workgroup Name or use the default MSHOME and Click Next. Choose an option for printer and file sharing over the network. Turning this option on is recommended. Click Next. Check to make sure settings are correct and Click Next. Choose an option to finish the wizard. The network is now setup. Check to make sure by going to My Network Places and then View Network Connections. Right click the adapter and make sure it is receiving data.<br />
<br />
<span style="font-weight: bold;">Windows 9X Network Connection</span><br />
Windows 9X configuration can vary depending on the router. The configuration consists of right clicking on My Network Places and going to Properties. Then installing Client for Microsoft Networks, TCP/IP, and File and Printer Sharing (optional). The configuration for TCP/IP usually can be automatic (DHCP) but can be configured manually.<br />
<br />
<span style="font-weight: bold;">Test the Connection</span><br />
Make sure the connection is functioning by opening up a browser and trying to navigate to a url. Also try connecting to other computers on the network by going to My Network Places in Windows 9X or by going to My Network Places and View Workgroup Computers in Windows XP.]]></description>
			<content:encoded><![CDATA[<span style="font-weight: bold;">Requirements</span><br />
1. a router which can be either wired or wireless. Wireless is recommended for homes to allow other computers easy access<br />
2. a network adapter for the wired computer to setup the network<br />
3. ethernet or wireless adapters for each computer that will use the network<br />
4. a modem which is compatible with the router and usually uses ethernet<br />
<br />
<span style="font-weight: bold;">Installing the network adapter</span><br />
<br />
Shutdown the computer and remove the power cable. Make sure all electricity from the computer is discharged by pressing the reset switch or power button. Unplug all peripherals and open the case. Locate an open PCI slot and insert the network adapter into the slot. Fasten the screw on the side of the card to hold it in place and put the case back together.<br />
<br />
<span style="font-weight: bold;">Connecting the cables</span><br />
<br />
First, connect the cables of the modem to the router by plugging one end into the modem and the other end into the router where the router says WAN. Now, take another ethernet cable and connect one end to the computer and one end to the router where it says port 1, 2, 3, or 4. They should be right next to each other and separate from the WAN. Now plug in the modem and the router and turn on the computer.<br />
<br />
<span style="font-weight: bold;">Router setup</span><br />
<br />
The computer should start detecting the new network adapter and install it. The CD that came with the network adapter may have to be inserted to install the drivers for the network adapter. Follow the new hardware installation wizard until it says the driver has been installed. A new icon in the system tray should appear (Windows XP) or new hardware appearing in the device manager under network adapters (Windows 9X). Now the network connection has to be setup for the wired connection.<br />
<br />
<span style="font-weight: bold;">Windows XP Network Connection</span><br />
Go to My Network Places and run the Setup a home or small office network wizard. Click Next and then click Next again since the hardware has all been plugged in an turned on. Click the radio button that says This computer connects through a residential gateway or another computer on my network and Click Next. Enter a Computer Name which will be used to distinguish the computers. Each Computer Name must be unique. Click Next. Choose a Workgroup Name or use the default MSHOME and Click Next. Choose an option for printer and file sharing over the network. Turning this option on is recommended. Click Next. Check to make sure settings are correct and Click Next. Choose an option to finish the wizard. The network is now setup. Check to make sure by going to My Network Places and then View Network Connections. Right click the adapter and make sure it is receiving data.<br />
<br />
<span style="font-weight: bold;">Windows 9X Network Connection</span><br />
Windows 9X configuration can vary depending on the router. The configuration consists of right clicking on My Network Places and going to Properties. Then installing Client for Microsoft Networks, TCP/IP, and File and Printer Sharing (optional). The configuration for TCP/IP usually can be automatic (DHCP) but can be configured manually.<br />
<br />
<span style="font-weight: bold;">Test the Connection</span><br />
Make sure the connection is functioning by opening up a browser and trying to navigate to a url. Also try connecting to other computers on the network by going to My Network Places in Windows 9X or by going to My Network Places and View Workgroup Computers in Windows XP.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Tutorial Share Skins]]></title>
			<link>http://tutorialshare.daman371designs.com/community/showthread.php?tid=25</link>
			<pubDate>Mon, 19 Feb 2007 11:09:53 -0800</pubDate>
			<guid isPermaLink="false">http://tutorialshare.daman371designs.com/community/showthread.php?tid=25</guid>
			<description><![CDATA[Do you think there will be a version where we can just import tutorial share skins instead of having to customize them ourselves?]]></description>
			<content:encoded><![CDATA[Do you think there will be a version where we can just import tutorial share skins instead of having to customize them ourselves?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Updates]]></title>
			<link>http://tutorialshare.daman371designs.com/community/showthread.php?tid=24</link>
			<pubDate>Sun, 10 Dec 2006 10:58:56 -0800</pubDate>
			<guid isPermaLink="false">http://tutorialshare.daman371designs.com/community/showthread.php?tid=24</guid>
			<description><![CDATA[I am working on some updates for Tutorialshare. Tutorialshare will begin providing a tutorial indexing service. Tutorials can be submitted for review and then appear in the appropriate category and latest tutorials. Please check back for further progress on this new service.<br />
<br />
<div style="text-align: center;">Thanks daman371.</div>]]></description>
			<content:encoded><![CDATA[I am working on some updates for Tutorialshare. Tutorialshare will begin providing a tutorial indexing service. Tutorials can be submitted for review and then appear in the appropriate category and latest tutorials. Please check back for further progress on this new service.<br />
<br />
<div style="text-align: center;">Thanks daman371.</div>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[How to Burn DVDs]]></title>
			<link>http://tutorialshare.daman371designs.com/community/showthread.php?tid=19</link>
			<pubDate>Mon, 04 Sep 2006 10:25:46 -0700</pubDate>
			<guid isPermaLink="false">http://tutorialshare.daman371designs.com/community/showthread.php?tid=19</guid>
			<description><![CDATA[1. Go File&gt;Export<br />
2. Select Options<br />
3. Export as: AVI<br />
4. Save the file<br />
5. Open <a href="http://www.videotools.net/bin/bbmpg12418.zip" target="_blank">bbmpg</a><br />
Alternately: <a href="http://www.avisynth.org/" target="_blank">Avisynth</a> and <a href="http://nic.dnsalias.com/QuEnc.html" target="_blank">QuEnc</a> can be used<br />
6. Hit add and select the avi file created by Avid<br />
7. Hit start encoding and select settings<br />
8. Select video stream settings and select MPEG-2 video type. Click OK<br />
9. Click start and wait for the video to be encoded and close bbmpg when done<br />
10. Open TMPGEnc <a href="http://www.tmpgenc.net/e_main.html" target="_blank">TMPGEnc</a><br />
11. Go File&gt;MPEG Tools<br />
12. Select Simple De-multiplex<br />
13. Hit Browse next to Input and select the mpg file that was created earlier in TMPGEnc<br />
14. Hit run<br />
15. Open <a href="http://www.videohelp.com/~liquid217/dvdauthorgui.pl" target="_blank">DVDAuthorGUI</a><br />
16. Click add title<br />
17. Browse to the folder with the files that were De-multiplexed in TMPGEnc<br />
18. Select the m2v file and click open<br />
19. Select the mp2 file and click open<br />
20. Add chapters and titlesets (Optional)<br />
21. Go File&amp;gt;Create iso after authoring<br />
22. Select Author DVD and select a folder to output all of the files<br />
23. Burn the iso using a burning program or burn the VIDEO_TS and AUDIO_TS folders using a burning program.*<br />
<br />
* Note: Using a DVD playback program is advised before burning to ensure that DVD menus will work. Free DVD playback programs are available such as <a href="http://www.videolan.org/vlc/" target="_blank">VLC media player</a>.<br />
<br />
More resources:<br />
<a href="http://www.coujo.de/ib2/index.php?act=module&amp;module=include&amp;incl_name=download" target="_blank">Imgtool</a> Free burning program<br />
<a href="http://www.videohelp.com/forum/userguides/152875.php" target="_blank">DVD burning tutorial</a><br />
<br />
<br />
Coming Soon...<br />
<br />
This tutorial <span style="color: red;">does not</span> in any way, shape, or form constitute piracy. Tutorialshare is <span style="color: red;">not</span> in any way responsible for its misuse. Tutorialshare is <span style="color: red;">not</span> affiliated with any of the links provided. The content of the links are copyrighted by their author.]]></description>
			<content:encoded><![CDATA[1. Go File&gt;Export<br />
2. Select Options<br />
3. Export as: AVI<br />
4. Save the file<br />
5. Open <a href="http://www.videotools.net/bin/bbmpg12418.zip" target="_blank">bbmpg</a><br />
Alternately: <a href="http://www.avisynth.org/" target="_blank">Avisynth</a> and <a href="http://nic.dnsalias.com/QuEnc.html" target="_blank">QuEnc</a> can be used<br />
6. Hit add and select the avi file created by Avid<br />
7. Hit start encoding and select settings<br />
8. Select video stream settings and select MPEG-2 video type. Click OK<br />
9. Click start and wait for the video to be encoded and close bbmpg when done<br />
10. Open TMPGEnc <a href="http://www.tmpgenc.net/e_main.html" target="_blank">TMPGEnc</a><br />
11. Go File&gt;MPEG Tools<br />
12. Select Simple De-multiplex<br />
13. Hit Browse next to Input and select the mpg file that was created earlier in TMPGEnc<br />
14. Hit run<br />
15. Open <a href="http://www.videohelp.com/~liquid217/dvdauthorgui.pl" target="_blank">DVDAuthorGUI</a><br />
16. Click add title<br />
17. Browse to the folder with the files that were De-multiplexed in TMPGEnc<br />
18. Select the m2v file and click open<br />
19. Select the mp2 file and click open<br />
20. Add chapters and titlesets (Optional)<br />
21. Go File&amp;gt;Create iso after authoring<br />
22. Select Author DVD and select a folder to output all of the files<br />
23. Burn the iso using a burning program or burn the VIDEO_TS and AUDIO_TS folders using a burning program.*<br />
<br />
* Note: Using a DVD playback program is advised before burning to ensure that DVD menus will work. Free DVD playback programs are available such as <a href="http://www.videolan.org/vlc/" target="_blank">VLC media player</a>.<br />
<br />
More resources:<br />
<a href="http://www.coujo.de/ib2/index.php?act=module&amp;module=include&amp;incl_name=download" target="_blank">Imgtool</a> Free burning program<br />
<a href="http://www.videohelp.com/forum/userguides/152875.php" target="_blank">DVD burning tutorial</a><br />
<br />
<br />
Coming Soon...<br />
<br />
This tutorial <span style="color: red;">does not</span> in any way, shape, or form constitute piracy. Tutorialshare is <span style="color: red;">not</span> in any way responsible for its misuse. Tutorialshare is <span style="color: red;">not</span> affiliated with any of the links provided. The content of the links are copyrighted by their author.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[How to capture video from your Xbox or 360]]></title>
			<link>http://tutorialshare.daman371designs.com/community/showthread.php?tid=20</link>
			<pubDate>Mon, 04 Sep 2006 10:23:57 -0700</pubDate>
			<guid isPermaLink="false">http://tutorialshare.daman371designs.com/community/showthread.php?tid=20</guid>
			<description><![CDATA[Requirements:<br />
<br />
1. a graphics card with tv tuner (I prefer Ati but Nvidia cards at most a year<br />
old will work as long as it has a tv tuner)<br />
2. ram for the computer that will be capturing (512MB minimum but more may<br />
be needed so either go for at least 1GB or raise the virtual memory setting)<br />
3. software to capture (Ati comes with Ati Multimedia center that captures<br />
from the tv tuner, audio and video)<br />
4. a splitter for cable wires, coaxial cable, to split the signal of one cable wire to two cable wires (optional for tv and computer output)<br />
<br />
<span style="font-weight: bold;">Connecting the cables to the computer and tv</span><br />
<br />
<span style="font-weight: bold;">Splitter Method</span><br />
The first step is to connect the coaxial cable, black cable that screws into tv, to the graphics card. Take and unplug the cable wire from the tv and plug it into a cable splitter. Then take and plug two cable wires into the splitter. Finally connect one of the cables from the splitter into the tv and the other into the computer so the video and audio can go to both the tv and computer.<br />
<br />
<span style="font-weight: bold;">Single Cable Method</span><br />
For direct capturing to the computer without seeing the output on a tv just plug the coaxial cable into the computer's graphics card.<br />
<br />
<span style="font-weight: bold;">Capturing</span><br />
<br />
The computer should receive the same signals that go to the tv. First do a test capture by opening up the capture software, for Ati graphics cards Ati Multimedia Center, and press the capture button sometimes located under the File menu. Video shown on the tv is captured if done correctly. Now capturing can be used to capture video from a video game on the Xbox 360 or any other console that is connected to the tv.<br />
<br />
This tutorial <span style="color: red;">does not</span> in any way, shape, or form constitute piracy. Tutorialshare is <span style="color: red;">not</span> in any way responsible for its misuse.]]></description>
			<content:encoded><![CDATA[Requirements:<br />
<br />
1. a graphics card with tv tuner (I prefer Ati but Nvidia cards at most a year<br />
old will work as long as it has a tv tuner)<br />
2. ram for the computer that will be capturing (512MB minimum but more may<br />
be needed so either go for at least 1GB or raise the virtual memory setting)<br />
3. software to capture (Ati comes with Ati Multimedia center that captures<br />
from the tv tuner, audio and video)<br />
4. a splitter for cable wires, coaxial cable, to split the signal of one cable wire to two cable wires (optional for tv and computer output)<br />
<br />
<span style="font-weight: bold;">Connecting the cables to the computer and tv</span><br />
<br />
<span style="font-weight: bold;">Splitter Method</span><br />
The first step is to connect the coaxial cable, black cable that screws into tv, to the graphics card. Take and unplug the cable wire from the tv and plug it into a cable splitter. Then take and plug two cable wires into the splitter. Finally connect one of the cables from the splitter into the tv and the other into the computer so the video and audio can go to both the tv and computer.<br />
<br />
<span style="font-weight: bold;">Single Cable Method</span><br />
For direct capturing to the computer without seeing the output on a tv just plug the coaxial cable into the computer's graphics card.<br />
<br />
<span style="font-weight: bold;">Capturing</span><br />
<br />
The computer should receive the same signals that go to the tv. First do a test capture by opening up the capture software, for Ati graphics cards Ati Multimedia Center, and press the capture button sometimes located under the File menu. Video shown on the tv is captured if done correctly. Now capturing can be used to capture video from a video game on the Xbox 360 or any other console that is connected to the tv.<br />
<br />
This tutorial <span style="color: red;">does not</span> in any way, shape, or form constitute piracy. Tutorialshare is <span style="color: red;">not</span> in any way responsible for its misuse.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Operators and Operands]]></title>
			<link>http://tutorialshare.daman371designs.com/community/showthread.php?tid=23</link>
			<pubDate>Sat, 02 Sep 2006 21:45:21 -0700</pubDate>
			<guid isPermaLink="false">http://tutorialshare.daman371designs.com/community/showthread.php?tid=23</guid>
			<description><![CDATA[I will now cover the most used operators. I will tell about operands or the variable, constant, string, etc that is taking the operation.<br />
<br />
First I'm sure everyone is familiar with math operators on numbers.<br />
The math operators are + for addition, - for subtraction, * for multiply, / for divide, and %, modulus, for the remainder after division. Parentheses are an operator also and are explained later. I will show an example of each one being used so I will pull out the magic template for console programs, for use with <a href="http://www.bloodshed.net/devcpp.html" target="_blank">dev-cpp</a> of course but MS Visual C++ can use it with some modifications. Two additional operators are also available to to increment, ++, or decrement, --, a variable by one value for example a variable has a value of 1 is incremented to 2 or decremented to 0. Note: using ++ or -- before a variable increments or decrements before using it and after increments or decrements after using it.  A sizeof operator is also available on all types of variables to tell how much memory a variable of that type takes up. <br />
<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>#include &lt;iostream&gt;<br />
#include &lt;stdlib.h&gt;<br />
<br />
using namespace std;<br />
<br />
int main(int argc, char *argv[&#93;)<br />
{<br />
&nbsp;&nbsp;//let's give n a value of 0.3<br />
&nbsp;&nbsp;int n = 0.3;<br />
<br />
&nbsp;&nbsp;//let's give a a value of 100<br />
&nbsp;&nbsp;int a = 100;<br />
<br />
&nbsp;&nbsp;//add a and 2 and store the value to b<br />
&nbsp;&nbsp;int b = a + 2;<br />
<br />
&nbsp;&nbsp;//add n and 1000 and store to o<br />
&nbsp;&nbsp;float o = n + 1000.2;<br />
<br />
&nbsp;&nbsp;//let's output the value of b<br />
&nbsp;&nbsp;//"&#92;n" or endl can be used to output to a newline<br />
&nbsp;&nbsp;cout&lt;&lt;b&lt;&lt;"&#92;n";<br />
<br />
&nbsp;&nbsp;//let's output the value of o<br />
&nbsp;&nbsp;cout&lt;&lt;o&lt;&lt;"&#92;n";<br />
<br />
&nbsp;&nbsp;//let's give c a value of .1<br />
&nbsp;&nbsp;float c = .1;<br />
<br />
&nbsp;&nbsp;//subtract c from o<br />
&nbsp;&nbsp;float p = o - c;<br />
<br />
&nbsp;&nbsp;//let's output the value of p<br />
&nbsp;&nbsp;cout&lt;&lt;p&lt;&lt;"&#92;n";<br />
<br />
&nbsp;&nbsp;//multiply p times .4<br />
&nbsp;&nbsp;p = p * .4;<br />
<br />
&nbsp;&nbsp;//let's output the value of p<br />
&nbsp;&nbsp;cout&lt;&lt;p&lt;&lt;"&#92;n";<br />
<br />
&nbsp;&nbsp;//divide p by 3<br />
&nbsp;&nbsp;p = p / 3;<br />
<br />
&nbsp;&nbsp;//let's output the value of p<br />
&nbsp;&nbsp;cout&lt;&lt;p&lt;&lt;"&#92;n";<br />
<br />
&nbsp;&nbsp;system("PAUSE");<br />
&nbsp;&nbsp;return 0;<br />
}</code></div></div>
Parentheses are used just like in math to indicate an operation you want done first. Like if you want to add two values before multiplying them by another.<br />
<br />
Alright that takes care of the math operators. Now let's try some operators on strings.<br />
Operators on strings are same as some math operators but be careful. Strings and numbers can not have an operator in between them unless the number is converted to a string. Other common operators are little more advanced such as braces, {}, and brackets, [&#93;.<br />
<br />
That concludes the basic operators and operands of C++.]]></description>
			<content:encoded><![CDATA[I will now cover the most used operators. I will tell about operands or the variable, constant, string, etc that is taking the operation.<br />
<br />
First I'm sure everyone is familiar with math operators on numbers.<br />
The math operators are + for addition, - for subtraction, * for multiply, / for divide, and %, modulus, for the remainder after division. Parentheses are an operator also and are explained later. I will show an example of each one being used so I will pull out the magic template for console programs, for use with <a href="http://www.bloodshed.net/devcpp.html" target="_blank">dev-cpp</a> of course but MS Visual C++ can use it with some modifications. Two additional operators are also available to to increment, ++, or decrement, --, a variable by one value for example a variable has a value of 1 is incremented to 2 or decremented to 0. Note: using ++ or -- before a variable increments or decrements before using it and after increments or decrements after using it.  A sizeof operator is also available on all types of variables to tell how much memory a variable of that type takes up. <br />
<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>#include &lt;iostream&gt;<br />
#include &lt;stdlib.h&gt;<br />
<br />
using namespace std;<br />
<br />
int main(int argc, char *argv[])<br />
{<br />
&nbsp;&nbsp;//let's give n a value of 0.3<br />
&nbsp;&nbsp;int n = 0.3;<br />
<br />
&nbsp;&nbsp;//let's give a a value of 100<br />
&nbsp;&nbsp;int a = 100;<br />
<br />
&nbsp;&nbsp;//add a and 2 and store the value to b<br />
&nbsp;&nbsp;int b = a + 2;<br />
<br />
&nbsp;&nbsp;//add n and 1000 and store to o<br />
&nbsp;&nbsp;float o = n + 1000.2;<br />
<br />
&nbsp;&nbsp;//let's output the value of b<br />
&nbsp;&nbsp;//"&#92;n" or endl can be used to output to a newline<br />
&nbsp;&nbsp;cout&lt;&lt;b&lt;&lt;"&#92;n";<br />
<br />
&nbsp;&nbsp;//let's output the value of o<br />
&nbsp;&nbsp;cout&lt;&lt;o&lt;&lt;"&#92;n";<br />
<br />
&nbsp;&nbsp;//let's give c a value of .1<br />
&nbsp;&nbsp;float c = .1;<br />
<br />
&nbsp;&nbsp;//subtract c from o<br />
&nbsp;&nbsp;float p = o - c;<br />
<br />
&nbsp;&nbsp;//let's output the value of p<br />
&nbsp;&nbsp;cout&lt;&lt;p&lt;&lt;"&#92;n";<br />
<br />
&nbsp;&nbsp;//multiply p times .4<br />
&nbsp;&nbsp;p = p * .4;<br />
<br />
&nbsp;&nbsp;//let's output the value of p<br />
&nbsp;&nbsp;cout&lt;&lt;p&lt;&lt;"&#92;n";<br />
<br />
&nbsp;&nbsp;//divide p by 3<br />
&nbsp;&nbsp;p = p / 3;<br />
<br />
&nbsp;&nbsp;//let's output the value of p<br />
&nbsp;&nbsp;cout&lt;&lt;p&lt;&lt;"&#92;n";<br />
<br />
&nbsp;&nbsp;system("PAUSE");<br />
&nbsp;&nbsp;return 0;<br />
}</code></div></div>
Parentheses are used just like in math to indicate an operation you want done first. Like if you want to add two values before multiplying them by another.<br />
<br />
Alright that takes care of the math operators. Now let's try some operators on strings.<br />
Operators on strings are same as some math operators but be careful. Strings and numbers can not have an operator in between them unless the number is converted to a string. Other common operators are little more advanced such as braces, {}, and brackets, [].<br />
<br />
That concludes the basic operators and operands of C++.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Grungy Pixel Stretch]]></title>
			<link>http://tutorialshare.daman371designs.com/community/showthread.php?tid=21</link>
			<pubDate>Fri, 18 Aug 2006 15:20:32 -0700</pubDate>
			<guid isPermaLink="false">http://tutorialshare.daman371designs.com/community/showthread.php?tid=21</guid>
			<description><![CDATA[A basic but informative sig tut which should be of some use to beginners in particular, it was made using photoshop CS2 although you could make this sig using anything from version 7 and up. <br />
<br />
<img src="http://img238.imageshack.us/img238/8931/tutorial0aj.jpg" border="0" alt="[Image: tutorial0aj.jpg&#93;" />]]></description>
			<content:encoded><![CDATA[A basic but informative sig tut which should be of some use to beginners in particular, it was made using photoshop CS2 although you could make this sig using anything from version 7 and up. <br />
<br />
<img src="http://img238.imageshack.us/img238/8931/tutorial0aj.jpg" border="0" alt="[Image: tutorial0aj.jpg]" />]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Require_once and include_once]]></title>
			<link>http://tutorialshare.daman371designs.com/community/showthread.php?tid=12</link>
			<pubDate>Sat, 05 Aug 2006 09:40:18 -0700</pubDate>
			<guid isPermaLink="false">http://tutorialshare.daman371designs.com/community/showthread.php?tid=12</guid>
			<description><![CDATA[]]></description>
			<content:encoded><![CDATA[]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Progress]]></title>
			<link>http://tutorialshare.daman371designs.com/community/showthread.php?tid=11</link>
			<pubDate>Sat, 15 Jul 2006 21:43:02 -0700</pubDate>
			<guid isPermaLink="false">http://tutorialshare.daman371designs.com/community/showthread.php?tid=11</guid>
			<description><![CDATA[This thread is where I will post the progress of Tutorialshare.<br />
<br />
Forum <span style="font-weight: bold;">DONE</span><br />
Links <span style="font-weight: bold;">DONE</span><br />
Support <span style="font-weight: bold;">DONE</span><br />
Home page <span style="font-weight: bold;">DONE</span><br />
Submit Tutorials]]></description>
			<content:encoded><![CDATA[This thread is where I will post the progress of Tutorialshare.<br />
<br />
Forum <span style="font-weight: bold;">DONE</span><br />
Links <span style="font-weight: bold;">DONE</span><br />
Support <span style="font-weight: bold;">DONE</span><br />
Home page <span style="font-weight: bold;">DONE</span><br />
Submit Tutorials]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Posting Tutorials]]></title>
			<link>http://tutorialshare.daman371designs.com/community/showthread.php?tid=10</link>
			<pubDate>Sat, 15 Jul 2006 21:37:01 -0700</pubDate>
			<guid isPermaLink="false">http://tutorialshare.daman371designs.com/community/showthread.php?tid=10</guid>
			<description><![CDATA[<span style="font-weight: bold;">Tutorials Condoning Illicit Activities</span><br />
Tutorials that condone <span style="color: red;">illegal</span> activities of any kind are <span style="color: red;">not</span> allowed. Tutorials that are very helpful but have the potential of helping someone commit an illegal activity are allowed but must  provide a disclaimer.<br />
<br />
<span style="font-weight: bold;">Images</span><br />
If your tutorial has images associated with it please attach them to your post. This way the images are hosted on tutorialshare.<br />
<br />
<span style="font-weight: bold;">Ripping Tutorials</span><br />
Ripping tutorials is <span style="color: red;">forbidden</span> on our site. If you come here and post a tutorial from somewhere else that isn't your own or go somewhere else and post a tutorial from this site that is not your own you will be <span style="color: red;">banned</span>.<br />
<br />
<span style="font-weight: bold;">Post after tutorial</span><br />
When posting tutorials please include the following code at the end of the tutorial to encourage users to register.<br />
<br />
<blockquote><cite>Quote:</cite>If you like this tutorial please <a href="http://tutorialshare.net/community/member.php?action=register" target="_blank">register</a>.</blockquote>
<br />
Thanks daman371.]]></description>
			<content:encoded><![CDATA[<span style="font-weight: bold;">Tutorials Condoning Illicit Activities</span><br />
Tutorials that condone <span style="color: red;">illegal</span> activities of any kind are <span style="color: red;">not</span> allowed. Tutorials that are very helpful but have the potential of helping someone commit an illegal activity are allowed but must  provide a disclaimer.<br />
<br />
<span style="font-weight: bold;">Images</span><br />
If your tutorial has images associated with it please attach them to your post. This way the images are hosted on tutorialshare.<br />
<br />
<span style="font-weight: bold;">Ripping Tutorials</span><br />
Ripping tutorials is <span style="color: red;">forbidden</span> on our site. If you come here and post a tutorial from somewhere else that isn't your own or go somewhere else and post a tutorial from this site that is not your own you will be <span style="color: red;">banned</span>.<br />
<br />
<span style="font-weight: bold;">Post after tutorial</span><br />
When posting tutorials please include the following code at the end of the tutorial to encourage users to register.<br />
<br />
<blockquote><cite>Quote:</cite>If you like this tutorial please <a href="http://tutorialshare.net/community/member.php?action=register" target="_blank">register</a>.</blockquote>
<br />
Thanks daman371.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[VB6: Read and Write to Files]]></title>
			<link>http://tutorialshare.daman371designs.com/community/showthread.php?tid=9</link>
			<pubDate>Wed, 12 Jul 2006 12:01:37 -0700</pubDate>
			<guid isPermaLink="false">http://tutorialshare.daman371designs.com/community/showthread.php?tid=9</guid>
			<description><![CDATA[<span style="text-decoration: underline;"><span style="color: blue;"><span style="font-size: medium;"><span style="font-weight: bold;">Reading and Writing to Text Files Using Microsoft Visual Basic 6</span></span></span></span><br />
<br />
In Visual Basic, the ability to read and write to files can be a great value. You can use this to store High Scores for a game, or even write your own simple messaging system! The possibilites are endless. Just follow along with with tutorial and you will be reading and writing to files in no time.<br />
<span style="color: red;"><span style="font-weight: bold;">Note:</span> lines of code that are green are my comments. They explain what that section of coding does. They will not affect the code inside Visual Basic. Visual Basic will disregard any lines with a <span style="font-weight: bold;"> ' </span> in front and show them as comments. Not run it with the coding.</span><br />
<br />
The first step is to create your work folder. Keeping everything in one folder makes writing your code all that much easier. So create a folder, naming it whatever you want. Next open up Visual Basic 6 and create a new project, make sure to select "Standard EXE".<br />
<br />
Our next step is to create the files we want to read and write to. Because we are using text files in this tutorial, inside the folder you created, create a new text file. Making the name simple will help to ensure a more organized program. I will name my text file "age.txt"<br />
<br />
Lets assume at this point we are making a program that will record a persons age. So all we need is (2) text boxes, (2) labels, (3) command buttons, and (1) list box. So first lets gather all our necessary items. To add them to your form, just double click the icons in your toolbar to add them.<br />
<br />
<img src="http://www.erott.retect.com/resources/tutorials/vb/vb_001.jpg" border="0" alt="[Image: vb_001.jpg&#93;" /><br />
<br />
Next we will need to name them. For each of the objects, in the properties window, enter this information:<br />
<br />
<span style="font-weight: bold;">Label1</span><br />
  (Name):     lblName<br />
  Caption:    What is your name? //you will most likely have to make the label bigger<br />
  BackStyle:  0 - Transparent<br />
  TabIndex:   6<br />
<br />
<span style="font-weight: bold;">Label2</span><br />
  (Name):     lblAge<br />
  Caption:    What is your age? //you will most likely have to make the label bigger<br />
  BackStyle:  0 - Transparent<br />
  TabIndex:   7<br />
<br />
<span style="font-weight: bold;">Text1</span><br />
  (Name):    txtName<br />
  Text:      (delete the text inside of here to make the text box blank)<br />
  TabIndex:  0<br />
<br />
<span style="font-weight: bold;">Text2</span><br />
  (Name):    txtAge<br />
  Text:      (delete the text inside of here to make the text box blank)<br />
  TabIndex:  1<br />
<br />
<span style="font-weight: bold;">Command1</span><br />
  (Name):    cmdSubmit<br />
  Caption:   Submit<br />
  TabIndex:  2<br />
<br />
<span style="font-weight: bold;">Command2</span><br />
  (Name):    cmdView<br />
  Caption:   View<br />
  TabIndex:  3<br />
<br />
<span style="font-weight: bold;">Command3</span><br />
  (Name):    cmdExit<br />
  Caption:   Exit<br />
  TabIndex:  4<br />
<br />
<span style="font-weight: bold;">List1</span><br />
  (Name):    lstView<br />
  Visible: False<br />
  TabIndex:  5<br />
<br />
<img src="http://www.erott.retect.com/resources/tutorials/vb/vb_002.jpg" border="0" alt="[Image: vb_002.jpg&#93;" />&lt;--Before____After--&gt;<img src="http://www.erott.retect.com/resources/tutorials/vb/vb_003.jpg" border="0" alt="[Image: vb_003.jpg&#93;" /><br />
<br />
Now that we have our form created we can now begin to code it. First, double click on the "Submit" button; the one you created. A new window should pop open and you should see the section:<br />
<br />
[quote[<br />
Private Sub cmdSubmit_Click()<br />
<br />
End Sub<br />
[/quote&#93;<br />
<br />
That is the command buttons code section where everything we want the Submit button to do will go. Inside that section enter the following code so it will look like:<br />
<br />
<blockquote><cite>Quote:</cite>Private Sub cmdSubmit_Click()<br />
Dim intMessageFile As Integer <span style="color: green;">'declare variable</span><br />
Dim Age As String <span style="color: green;">'declare variable</span><br />
Dim Name As String <span style="color: green;">'declare variable</span><br />
<br />
Age = txtAge.Text <span style="color: green;">'give value to age variable</span><br />
lstView.Visible = False<br />
<br />
intMessageFile = FreeFile<br />
Open "age.txt" For Append As #intMessageFile <span style="color: green;">'open the text file</span><br />
Name = txtName.Text <span style="color: green;">'Give value to name variable</span><br />
Write #intMessageFile, Name; Age <span style="color: green;">'write the name and age to age.txt</span><br />
Close #intMessageFile <span style="color: green;">'close the text file</span><br />
End Sub</blockquote>
<br />
Next we must write the code that will allow us to read the contents of the text file. In addition, as a precaution, we are going to add a horizontal scroll bar to the list box in case the content is very long. So we will also have to be adding a module to our project. There is automatically a vertical scroll bar, so we do not need to add one. Double click on the View button you created and inside that section enter the following code so it would look like:<br />
<br />
<blockquote><cite>Quote:</cite>Private Sub cmdView_Click()<br />
lstView.Visible = True<br />
<br />
Dim Content As String<br />
Dim Message As String<br />
intMessageFile = FreeFile<br />
Open "age.txt" For Input As #intMessageFile<br />
Do<br />
If Not EOF(intMessageFile) Then<br />
Input #intMessageFile, Message<br />
Content = Message<br />
lstMsgBox.AddItem Content<br />
Else<br />
Close #intMessageFile<br />
<span style="color: green;">'if you were not to include the below lines of code,<br />
'Visual Basic would only read and display the first<br />
'line of the text file. To overcome this, we tell the program<br />
'to keep "looping"; reading everyline of the text file until it<br />
'does not encounter anymore lines. Therefor reading and<br />
'showing every line.</span><br />
GoTo LoopEnd<br />
End If<br />
Loop<br />
LoopEnd:<br />
<br />
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''&#8203;''''''''''''''''''''''''''''''''''''''<br />
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''&#8203;''''''''''''''''''''''''''''''''''''''<br />
''''''''BEGIN ADDITION OF HORIZONTAL SCROLL BAR''''''''<br />
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''&#8203;''''''''''''''''''''''''''''''''''''''<br />
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''&#8203;''''''''''''''''''''''''''''''''''''''<br />
<br />
Dim c As Long<br />
Dim rcText As RECT<br />
Dim newWidth As Long<br />
Dim itemWidth As Long<br />
Dim sysScrollWidth As Long<br />
   <br />
<span style="color: green;">'assure that the form font is the same as the</span><br />
<span style="color: green;">'list font to assure the DrawText method</span><br />
<span style="color: green;">'calculates the width correctly.</span><br />
    Form1.Font.Name = lstView.Font.Name<br />
    Form1.Font.Bold = lstView.Font.Bold<br />
    Form1.Font.Size = lstView.Font.Size<br />
   <br />
<span style="color: green;">'get the width of the system scrollbar</span><br />
    sysScrollWidth = GetSystemMetrics(SM_CXVSCROLL)<br />
   <br />
<span style="color: green;">'loop through the list items, using DrawText</span><br />
<span style="color: green;">'with DT_CALCRECT to determine the longest item.</span><br />
    For c = 0 To lstView.ListCount - 1<br />
    Call DrawText(Form1.hDC, (lstView.List&copy;), -1&amp;, rcText, DT_CALCRECT)<br />
      <br />
<span style="color: green;">'calc the required width to display the</span><br />
<span style="color: green;">'widest list item by adding the rect</span><br />
<span style="color: green;">'width needed to display the item</span><br />
<span style="color: green;">'with the width of the system scroll bar</span><br />
    itemWidth = rcText.Right + sysScrollWidth<br />
         <br />
<span style="color: green;">'if this width is wider than a previous</span><br />
<span style="color: green;">'value, save the longer width</span><br />
    If itemWidth &gt;= newWidth Then<br />
        newWidth = itemWidth<br />
    End If<br />
    Next<br />
   <br />
<span style="color: green;">'add a horizontal scrollbar wide enough</span><br />
<span style="color: green;">'to display the longest list item. If the</span><br />
<span style="color: green;">'scrollbar is not needed, its not shown.</span><br />
    Call SendMessage(lstView.hwnd, LB_SETHORIZONTALEXTENT, newWidth, ByVal 0&amp;)<br />
End Sub</blockquote>
<br />
As for the module, will will have to first create one in our project. Under the Porject tab at the top of the page, click Add a Module. You can name the module whatever you like, it does not matter. Now, double click the module, and enter this code exactly:<br />
<br />
<blockquote><cite>Quote:</cite>Public Const LB_GETHORIZONTALEXTENT = &amp;H193<br />
Public Const LB_SETHORIZONTALEXTENT = &amp;H194<br />
Public Const DT_CALCRECT = &amp;H400<br />
Public Const SM_CXVSCROLL = 2<br />
<br />
Public Type RECT<br />
   Left As Long<br />
   Top As Long<br />
   Right As Long<br />
   Bottom As Long<br />
End Type<br />
<br />
Public Declare Function DrawText Lib "user32" _<br />
   Alias "DrawTextA" _<br />
  (ByVal hDC As Long, _<br />
   ByVal lpStr As String, _<br />
   ByVal nCount As Long, _<br />
   lpRect As RECT, ByVal _<br />
   wFormat As Long) As Long<br />
   <br />
Public Declare Function GetSystemMetrics Lib "user32" _<br />
  (ByVal nIndex As Long) As Long<br />
<br />
Public Declare Function SendMessage Lib "user32" _<br />
   Alias "SendMessageA" _<br />
  (ByVal hwnd As Long, _<br />
   ByVal wMsg As Long, _<br />
   ByVal wParam As Long, _<br />
   lParam As Any) As Long</blockquote>
<br />
Now we want to allow a user to safely exit the program. For this we use the Exit button. A simple word will end the program; that being "End". Double click the Exit button you created and enter this code so it will look like:<br />
<br />
<blockquote><cite>Quote:</cite>Private Sub cmdExit_Click()<br />
End<br />
End Sub</blockquote>
<br />
And that is all it takes to read from and write to text files using Visual Basic 6. Now that you've complete the tutotial yourself, if you are having trouble you can download the project from <a href="http://www.erott.retect.com/resources/tutorials/vb/read_write_to_text_file_vb6.zip" target="_blank"><span style="font-weight: bold;">here</span></a>. Or you can email me if you have any questions.<br />
<br />
Author: Brendon LaRusic<br />
Email: loosesniper@gmail.com<br />
<br />
If you like this tutorial please <a href="http://tutorialshare.net/community/member.php?action=register" target="_blank">register</a>.]]></description>
			<content:encoded><![CDATA[<span style="text-decoration: underline;"><span style="color: blue;"><span style="font-size: medium;"><span style="font-weight: bold;">Reading and Writing to Text Files Using Microsoft Visual Basic 6</span></span></span></span><br />
<br />
In Visual Basic, the ability to read and write to files can be a great value. You can use this to store High Scores for a game, or even write your own simple messaging system! The possibilites are endless. Just follow along with with tutorial and you will be reading and writing to files in no time.<br />
<span style="color: red;"><span style="font-weight: bold;">Note:</span> lines of code that are green are my comments. They explain what that section of coding does. They will not affect the code inside Visual Basic. Visual Basic will disregard any lines with a <span style="font-weight: bold;"> ' </span> in front and show them as comments. Not run it with the coding.</span><br />
<br />
The first step is to create your work folder. Keeping everything in one folder makes writing your code all that much easier. So create a folder, naming it whatever you want. Next open up Visual Basic 6 and create a new project, make sure to select "Standard EXE".<br />
<br />
Our next step is to create the files we want to read and write to. Because we are using text files in this tutorial, inside the folder you created, create a new text file. Making the name simple will help to ensure a more organized program. I will name my text file "age.txt"<br />
<br />
Lets assume at this point we are making a program that will record a persons age. So all we need is (2) text boxes, (2) labels, (3) command buttons, and (1) list box. So first lets gather all our necessary items. To add them to your form, just double click the icons in your toolbar to add them.<br />
<br />
<img src="http://www.erott.retect.com/resources/tutorials/vb/vb_001.jpg" border="0" alt="[Image: vb_001.jpg]" /><br />
<br />
Next we will need to name them. For each of the objects, in the properties window, enter this information:<br />
<br />
<span style="font-weight: bold;">Label1</span><br />
  (Name):     lblName<br />
  Caption:    What is your name? //you will most likely have to make the label bigger<br />
  BackStyle:  0 - Transparent<br />
  TabIndex:   6<br />
<br />
<span style="font-weight: bold;">Label2</span><br />
  (Name):     lblAge<br />
  Caption:    What is your age? //you will most likely have to make the label bigger<br />
  BackStyle:  0 - Transparent<br />
  TabIndex:   7<br />
<br />
<span style="font-weight: bold;">Text1</span><br />
  (Name):    txtName<br />
  Text:      (delete the text inside of here to make the text box blank)<br />
  TabIndex:  0<br />
<br />
<span style="font-weight: bold;">Text2</span><br />
  (Name):    txtAge<br />
  Text:      (delete the text inside of here to make the text box blank)<br />
  TabIndex:  1<br />
<br />
<span style="font-weight: bold;">Command1</span><br />
  (Name):    cmdSubmit<br />
  Caption:   Submit<br />
  TabIndex:  2<br />
<br />
<span style="font-weight: bold;">Command2</span><br />
  (Name):    cmdView<br />
  Caption:   View<br />
  TabIndex:  3<br />
<br />
<span style="font-weight: bold;">Command3</span><br />
  (Name):    cmdExit<br />
  Caption:   Exit<br />
  TabIndex:  4<br />
<br />
<span style="font-weight: bold;">List1</span><br />
  (Name):    lstView<br />
  Visible: False<br />
  TabIndex:  5<br />
<br />
<img src="http://www.erott.retect.com/resources/tutorials/vb/vb_002.jpg" border="0" alt="[Image: vb_002.jpg]" />&lt;--Before____After--&gt;<img src="http://www.erott.retect.com/resources/tutorials/vb/vb_003.jpg" border="0" alt="[Image: vb_003.jpg]" /><br />
<br />
Now that we have our form created we can now begin to code it. First, double click on the "Submit" button; the one you created. A new window should pop open and you should see the section:<br />
<br />
[quote[<br />
Private Sub cmdSubmit_Click()<br />
<br />
End Sub<br />
[/quote]<br />
<br />
That is the command buttons code section where everything we want the Submit button to do will go. Inside that section enter the following code so it will look like:<br />
<br />
<blockquote><cite>Quote:</cite>Private Sub cmdSubmit_Click()<br />
Dim intMessageFile As Integer <span style="color: green;">'declare variable</span><br />
Dim Age As String <span style="color: green;">'declare variable</span><br />
Dim Name As String <span style="color: green;">'declare variable</span><br />
<br />
Age = txtAge.Text <span style="color: green;">'give value to age variable</span><br />
lstView.Visible = False<br />
<br />
intMessageFile = FreeFile<br />
Open "age.txt" For Append As #intMessageFile <span style="color: green;">'open the text file</span><br />
Name = txtName.Text <span style="color: green;">'Give value to name variable</span><br />
Write #intMessageFile, Name; Age <span style="color: green;">'write the name and age to age.txt</span><br />
Close #intMessageFile <span style="color: green;">'close the text file</span><br />
End Sub</blockquote>
<br />
Next we must write the code that will allow us to read the contents of the text file. In addition, as a precaution, we are going to add a horizontal scroll bar to the list box in case the content is very long. So we will also have to be adding a module to our project. There is automatically a vertical scroll bar, so we do not need to add one. Double click on the View button you created and inside that section enter the following code so it would look like:<br />
<br />
<blockquote><cite>Quote:</cite>Private Sub cmdView_Click()<br />
lstView.Visible = True<br />
<br />
Dim Content As String<br />
Dim Message As String<br />
intMessageFile = FreeFile<br />
Open "age.txt" For Input As #intMessageFile<br />
Do<br />
If Not EOF(intMessageFile) Then<br />
Input #intMessageFile, Message<br />
Content = Message<br />
lstMsgBox.AddItem Content<br />
Else<br />
Close #intMessageFile<br />
<span style="color: green;">'if you were not to include the below lines of code,<br />
'Visual Basic would only read and display the first<br />
'line of the text file. To overcome this, we tell the program<br />
'to keep "looping"; reading everyline of the text file until it<br />
'does not encounter anymore lines. Therefor reading and<br />
'showing every line.</span><br />
GoTo LoopEnd<br />
End If<br />
Loop<br />
LoopEnd:<br />
<br />
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''&#8203;''''''''''''''''''''''''''''''''''''''<br />
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''&#8203;''''''''''''''''''''''''''''''''''''''<br />
''''''''BEGIN ADDITION OF HORIZONTAL SCROLL BAR''''''''<br />
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''&#8203;''''''''''''''''''''''''''''''''''''''<br />
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''&#8203;''''''''''''''''''''''''''''''''''''''<br />
<br />
Dim c As Long<br />
Dim rcText As RECT<br />
Dim newWidth As Long<br />
Dim itemWidth As Long<br />
Dim sysScrollWidth As Long<br />
   <br />
<span style="color: green;">'assure that the form font is the same as the</span><br />
<span style="color: green;">'list font to assure the DrawText method</span><br />
<span style="color: green;">'calculates the width correctly.</span><br />
    Form1.Font.Name = lstView.Font.Name<br />
    Form1.Font.Bold = lstView.Font.Bold<br />
    Form1.Font.Size = lstView.Font.Size<br />
   <br />
<span style="color: green;">'get the width of the system scrollbar</span><br />
    sysScrollWidth = GetSystemMetrics(SM_CXVSCROLL)<br />
   <br />
<span style="color: green;">'loop through the list items, using DrawText</span><br />
<span style="color: green;">'with DT_CALCRECT to determine the longest item.</span><br />
    For c = 0 To lstView.ListCount - 1<br />
    Call DrawText(Form1.hDC, (lstView.List&copy;), -1&amp;, rcText, DT_CALCRECT)<br />
      <br />
<span style="color: green;">'calc the required width to display the</span><br />
<span style="color: green;">'widest list item by adding the rect</span><br />
<span style="color: green;">'width needed to display the item</span><br />
<span style="color: green;">'with the width of the system scroll bar</span><br />
    itemWidth = rcText.Right + sysScrollWidth<br />
         <br />
<span style="color: green;">'if this width is wider than a previous</span><br />
<span style="color: green;">'value, save the longer width</span><br />
    If itemWidth &gt;= newWidth Then<br />
        newWidth = itemWidth<br />
    End If<br />
    Next<br />
   <br />
<span style="color: green;">'add a horizontal scrollbar wide enough</span><br />
<span style="color: green;">'to display the longest list item. If the</span><br />
<span style="color: green;">'scrollbar is not needed, its not shown.</span><br />
    Call SendMessage(lstView.hwnd, LB_SETHORIZONTALEXTENT, newWidth, ByVal 0&amp;)<br />
End Sub</blockquote>
<br />
As for the module, will will have to first create one in our project. Under the Porject tab at the top of the page, click Add a Module. You can name the module whatever you like, it does not matter. Now, double click the module, and enter this code exactly:<br />
<br />
<blockquote><cite>Quote:</cite>Public Const LB_GETHORIZONTALEXTENT = &amp;H193<br />
Public Const LB_SETHORIZONTALEXTENT = &amp;H194<br />
Public Const DT_CALCRECT = &amp;H400<br />
Public Const SM_CXVSCROLL = 2<br />
<br />
Public Type RECT<br />
   Left As Long<br />
   Top As Long<br />
   Right As Long<br />
   Bottom As Long<br />
End Type<br />
<br />
Public Declare Function DrawText Lib "user32" _<br />
   Alias "DrawTextA" _<br />
  (ByVal hDC As Long, _<br />
   ByVal lpStr As String, _<br />
   ByVal nCount As Long, _<br />
   lpRect As RECT, ByVal _<br />
   wFormat As Long) As Long<br />
   <br />
Public Declare Function GetSystemMetrics Lib "user32" _<br />
  (ByVal nIndex As Long) As Long<br />
<br />
Public Declare Function SendMessage Lib "user32" _<br />
   Alias "SendMessageA" _<br />
  (ByVal hwnd As Long, _<br />
   ByVal wMsg As Long, _<br />
   ByVal wParam As Long, _<br />
   lParam As Any) As Long</blockquote>
<br />
Now we want to allow a user to safely exit the program. For this we use the Exit button. A simple word will end the program; that being "End". Double click the Exit button you created and enter this code so it will look like:<br />
<br />
<blockquote><cite>Quote:</cite>Private Sub cmdExit_Click()<br />
End<br />
End Sub</blockquote>
<br />
And that is all it takes to read from and write to text files using Visual Basic 6. Now that you've complete the tutotial yourself, if you are having trouble you can download the project from <a href="http://www.erott.retect.com/resources/tutorials/vb/read_write_to_text_file_vb6.zip" target="_blank"><span style="font-weight: bold;">here</span></a>. Or you can email me if you have any questions.<br />
<br />
Author: Brendon LaRusic<br />
Email: loosesniper@gmail.com<br />
<br />
If you like this tutorial please <a href="http://tutorialshare.net/community/member.php?action=register" target="_blank">register</a>.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[C++ Introduction]]></title>
			<link>http://tutorialshare.daman371designs.com/community/showthread.php?tid=7</link>
			<pubDate>Tue, 11 Jul 2006 12:22:09 -0700</pubDate>
			<guid isPermaLink="false">http://tutorialshare.daman371designs.com/community/showthread.php?tid=7</guid>
			<description><![CDATA[C++ is an extreme language and the one of the most difficult. C++ like PHP derives from C so C functions can be called when programming in C++. I will tell about the very basics to get started into the C++ programming world. So get ready and grab <a href="http://www.bloodshed.net/devcpp.html" target="_blank">Dev-CPP</a> since it is free.<br />
<br />
Below you see the very least for a C++ console program just to run and be empty. I have commented on the main points.<br />
<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>// contains basic input and output functions like<br />
// cerr, clog, cout, and cin and basic operators<br />
#include &lt;iostream&gt;<br />
// contains other basic functions and operators<br />
// more headers are available in Dev-CPP's include directory.<br />
// These include math.h (C header) for math functions sin, cos, tan,<br />
// sqrt, fstream that contains functions for reading and writing files in<br />
// C++ (see file input and output tutorial), iomanip which contains <br />
// input and output manipulation functions and one that is very useful<br />
// string (string.h is C header) which contains string manipulation<br />
// manipulation functions such as erase and replace.<br />
#include &lt;stdlib.h&gt;<br />
<br />
// this means that you want to use the namespace std which contains<br />
// basic input and output functions otherwise you would have to call<br />
// functions, operators, etc in a manner of namespace::functionname<br />
// like std::cout<br />
using namespace std;<br />
<br />
// main function in console program<br />
// where everything goes that needs to be<br />
// done. This is a custom function and can also be seen as taking<br />
// no arguments, int main()<br />
int main(int argc, char *argv[&#93;)<br />
{<br />
<br />
&nbsp;&nbsp;// the system function. Whatever you put between the quotes<br />
&nbsp;&nbsp;// is what you want to be sent to the command line.<br />
&nbsp;&nbsp;// In this case PAUSE tells the program to wait and let the user see<br />
&nbsp;&nbsp;// the results<br />
&nbsp;&nbsp;system("PAUSE");<br />
<br />
&nbsp;&nbsp;// return value of 0 because the function's return value is int<br />
&nbsp;&nbsp;return 0;<br />
}</code></div></div>
<br />
Now that the structure of a basic console program has been explained now variables. First, what is a variable? A variable is sort of like a variable in math. Variables hold values and can be outputted. These variables can consist of letters, numbers and some symbols. Variables can not have the same name as another variable in C++. For example the first set of code outputs an error on compilation and the second compiles with no errors. Note: The code takes into consideration that the variables are declared in the main functions in the above template.<br />
<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>int i;<br />
i = 0;<br />
char i;//variable already used and declared as variable type int<br />
i = 'a';//variable is type int and cannot hold a character</code></div></div>
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>int i;//perfect<br />
i = 0;//perfect<br />
char a;//perfect<br />
a = 'a';//perfect</code></div></div>
<br />
Now for the variable types. A variable type decides what that variable can hold. A type of int can only hold whole numbers for example -1, 0, 1, etc. A type of char can only hold a single character or symbol (unless character array, or pointer). A type of string can hold letters, numbers, and symbols. A type of float can hold a single precision value (decimal, fraction) accurate to 7 decimal places. A type of double can hold double precision values (decimals, fractions) accurate to 15 decimal places.<br />
<br />
I have given enough information to write a very simple program. Good Luck.<br />
<br />
If you like this tutorial please <a href="http://tutorialshare.net/community/member.php?action=register" target="_blank">register</a>.]]></description>
			<content:encoded><![CDATA[C++ is an extreme language and the one of the most difficult. C++ like PHP derives from C so C functions can be called when programming in C++. I will tell about the very basics to get started into the C++ programming world. So get ready and grab <a href="http://www.bloodshed.net/devcpp.html" target="_blank">Dev-CPP</a> since it is free.<br />
<br />
Below you see the very least for a C++ console program just to run and be empty. I have commented on the main points.<br />
<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>// contains basic input and output functions like<br />
// cerr, clog, cout, and cin and basic operators<br />
#include &lt;iostream&gt;<br />
// contains other basic functions and operators<br />
// more headers are available in Dev-CPP's include directory.<br />
// These include math.h (C header) for math functions sin, cos, tan,<br />
// sqrt, fstream that contains functions for reading and writing files in<br />
// C++ (see file input and output tutorial), iomanip which contains <br />
// input and output manipulation functions and one that is very useful<br />
// string (string.h is C header) which contains string manipulation<br />
// manipulation functions such as erase and replace.<br />
#include &lt;stdlib.h&gt;<br />
<br />
// this means that you want to use the namespace std which contains<br />
// basic input and output functions otherwise you would have to call<br />
// functions, operators, etc in a manner of namespace::functionname<br />
// like std::cout<br />
using namespace std;<br />
<br />
// main function in console program<br />
// where everything goes that needs to be<br />
// done. This is a custom function and can also be seen as taking<br />
// no arguments, int main()<br />
int main(int argc, char *argv[])<br />
{<br />
<br />
&nbsp;&nbsp;// the system function. Whatever you put between the quotes<br />
&nbsp;&nbsp;// is what you want to be sent to the command line.<br />
&nbsp;&nbsp;// In this case PAUSE tells the program to wait and let the user see<br />
&nbsp;&nbsp;// the results<br />
&nbsp;&nbsp;system("PAUSE");<br />
<br />
&nbsp;&nbsp;// return value of 0 because the function's return value is int<br />
&nbsp;&nbsp;return 0;<br />
}</code></div></div>
<br />
Now that the structure of a basic console program has been explained now variables. First, what is a variable? A variable is sort of like a variable in math. Variables hold values and can be outputted. These variables can consist of letters, numbers and some symbols. Variables can not have the same name as another variable in C++. For example the first set of code outputs an error on compilation and the second compiles with no errors. Note: The code takes into consideration that the variables are declared in the main functions in the above template.<br />
<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>int i;<br />
i = 0;<br />
char i;//variable already used and declared as variable type int<br />
i = 'a';//variable is type int and cannot hold a character</code></div></div>
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>int i;//perfect<br />
i = 0;//perfect<br />
char a;//perfect<br />
a = 'a';//perfect</code></div></div>
<br />
Now for the variable types. A variable type decides what that variable can hold. A type of int can only hold whole numbers for example -1, 0, 1, etc. A type of char can only hold a single character or symbol (unless character array, or pointer). A type of string can hold letters, numbers, and symbols. A type of float can hold a single precision value (decimal, fraction) accurate to 7 decimal places. A type of double can hold double precision values (decimals, fractions) accurate to 15 decimal places.<br />
<br />
I have given enough information to write a very simple program. Good Luck.<br />
<br />
If you like this tutorial please <a href="http://tutorialshare.net/community/member.php?action=register" target="_blank">register</a>.]]></content:encoded>
		</item>
	</channel>
</rss>