<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7669344112578632302</id><updated>2012-02-16T06:15:13.260-08:00</updated><title type='text'>C0D3 M0NK3YZ</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>64</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-4123970981147219835</id><published>2009-01-16T02:14:00.000-08:00</published><updated>2009-01-16T02:40:52.125-08:00</updated><title type='text'>Friday, January 16: the final day, basically</title><content type='html'>Greetings, hard working code monkeys!&lt;br /&gt;&lt;br /&gt;Today is the last day before the exam week. As such, I will list both the final requirements for your exam project, and I will list exactly where you stand for each item which needed to have been completed along the way.&lt;br /&gt;&lt;br /&gt;Part the First: PROJECT REQUIREMENTS&lt;br /&gt;&lt;br /&gt;A) You wil need to make use of at least seven of the ten blog postings in the construction of your project&lt;br /&gt;&lt;br /&gt;B) Each instance of use must be fully commented in your code: that is, there must be a comment listing the date and a brief name of the posting, as well as the website address for that post, and a description of what this particular technique or code snippet does to make your program work&lt;br /&gt;&lt;br /&gt;C) Your project needs to do something, and I need to be able to understand what that something is BEFORE I run it. You will understand my reluctance to "just run the program and see what it does" :-0&lt;br /&gt;&lt;br /&gt;D) Your project needs to work. If I cannot get it to run, there will need to be points taken off for that.&lt;br /&gt;&lt;br /&gt;E) Consideration will also be given as to just how original your program is. In other words, if you simply copy stuff we already did, that will not be as original as if you took the techcniques given and created something unlike anything done in the class.&lt;br /&gt;&lt;br /&gt;F) Liikewise, I will be making some personal judgements on your programs; call it the Uncle Paulie coolness factor.&lt;br /&gt;&lt;br /&gt;OK, those are the project requirements. Here is where you stand with the steps you were supposed to have taken thus far:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;PROJECT NAME/DESCRIPTION/PROJECT STARTED&lt;/strong&gt;&lt;br /&gt;EVERYONE HAS DONE THIS&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;COMMENTS EMAILED&lt;/strong&gt;&lt;br /&gt;I have them from everyone except Josh and Ariel&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;BLOG POSTINGS THAT WILL HELP&lt;/strong&gt;&lt;br /&gt;I only have these from Callum, Jake, Tom and Dillon, Evan, Ryan N. and E.J. (sort of, hey Ejjjj, you forgot the URLS!)&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;UPLOADED THE PROJECT AT LEAST ONCE&lt;/strong&gt;&lt;br /&gt;I have this from everyone except James, Ariel and Joshua&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-4123970981147219835?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/4123970981147219835/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=4123970981147219835' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/4123970981147219835'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/4123970981147219835'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2009/01/friday-january-16-final-day-basically.html' title='Friday, January 16: the final day, basically'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-4590628472048713559</id><published>2009-01-14T07:21:00.000-08:00</published><updated>2009-01-14T07:36:32.188-08:00</updated><title type='text'>Wednesday, January 14: two days left before the exam week!</title><content type='html'>Greetings, privateers of code!&lt;br /&gt;&lt;br /&gt;I'll just get right to it: here is where you all stand today:&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;&lt;strong&gt;Start Project/Name and Description: &lt;/strong&gt;&lt;/span&gt;&lt;span style="color:#000000;"&gt;Everyone has completed this part, hooray!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#ff0000;"&gt;Project comments:&lt;/span&gt;&lt;/strong&gt; these were supposed to be emailed to me as a separate document. I never received these from Ariel or Joshua, and only got the most minimal comments emailed by Dillon and Ryan C. I STILL need these comments emailed so do that straight away. And yes, of course, copy and paste them from your current exam project&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;&lt;strong&gt;Blog postings that will help:&lt;/strong&gt; &lt;/span&gt;&lt;span style="color:#000000;"&gt;I only have these from Callum, Jake and Thomas, plus 5 out of 10 for Dillon. The rest of you need to get this DONE, ASAP. Either post them in our Google group, or email them to me. &lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;Either way, they need to be included in the updated comments of your projects which you will upload today.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Additionally, I will need each of you to copy and paste the entire code of your current project, comments and all, and paste it into the body of an email. The subject line must include your name, the phrase "my exam code" and todays date, which is Wed, Jan 14&lt;br /&gt;&lt;br /&gt;Let's do it, let's get it done!&lt;br /&gt;&lt;br /&gt;Mr. L&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="mailto:mrlarue2009@gmail.com"&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-4590628472048713559?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/4590628472048713559/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=4590628472048713559' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/4590628472048713559'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/4590628472048713559'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2009/01/wednesday-january-14-two-days-left.html' title='Wednesday, January 14: two days left before the exam week!'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-7169105002440535834</id><published>2009-01-13T05:45:00.000-08:00</published><updated>2009-01-13T05:48:12.650-08:00</updated><title type='text'>Tuesday, January 13: Three days left!</title><content type='html'>Greetings, one and all,&lt;br /&gt;&lt;br /&gt;The subject header says it all; or at least most of it. You have three days left to work on your final exam projects, not including the actual exam day. I will be issuing a final set of project specs by tomorrow; in the meantime, continue what you have been doing already, and upload your work to our account at Box.net BEFORE the end of the class&lt;br /&gt;&lt;br /&gt;Cheers,&lt;br /&gt;Mr. L&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-7169105002440535834?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/7169105002440535834/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=7169105002440535834' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/7169105002440535834'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/7169105002440535834'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2009/01/tuesday-january-13-three-days-left.html' title='Tuesday, January 13: Three days left!'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-3487766327935347222</id><published>2009-01-09T08:33:00.000-08:00</published><updated>2009-01-09T08:47:39.781-08:00</updated><title type='text'>Friday January 9: as long as we have code, who cares about snow?</title><content type='html'>Howdy rowdy codies!&lt;br /&gt;Ok, here's where stand on the exam project:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Project name and a description&lt;/strong&gt;&lt;br /&gt;Everyone except Ryan C. has posted or emailed a description. However, I'm still lacking a name from the following people:&lt;br /&gt;Callum&lt;br /&gt;Ariel&lt;br /&gt;Joshua&lt;br /&gt;Evan&lt;br /&gt;Sean&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Project comments&lt;/strong&gt;&lt;br /&gt;I have a good start on comments from the following:&lt;br /&gt;Callum&lt;br /&gt;Sean&lt;br /&gt;Jake&lt;br /&gt;Ryan N. (holy crap, the most commenting you've EVER done)&lt;br /&gt;Tom&lt;br /&gt;&lt;br /&gt;I also have some very minimal commenting from :&lt;br /&gt;Dillon&lt;br /&gt;Evan&lt;br /&gt;E.J.&lt;br /&gt;&lt;br /&gt;I HAVE NO COMMENTS ON FILE FOR ANY OF THE REST OF YOU&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Blog postings that will help&lt;/strong&gt;&lt;br /&gt;I have ten blog postings received from Callum &amp;amp; Tom, and 2 from Dillon.&lt;br /&gt;&lt;br /&gt;NONE from the rest of you.&lt;br /&gt;&lt;br /&gt;This brings me to some new stuff:&lt;br /&gt;&lt;br /&gt;When you make use of the blog postings to develop your program ( and you have to, I'm requiring it!), you will need to insert a comment in your code when you do so. The comment can be a one liner if that gets the job done, BUT, I will need to ask that you copy and paste the exact web address of the blog posting in question as part of that comment&lt;br /&gt;&lt;br /&gt;This also holds true if you make use of resources you've found elsewhere on the 'Net. I am not requiring you to go out there and find stuff for this exam, but if you do, you'd better include a comment detailing what the code does and where you found the idea, ie, a website address.&lt;br /&gt;&lt;br /&gt;Look, n00bz doing a term paper have to use footnotes. Same thing here, only WE AIN'T N00Bz!&lt;br /&gt;&lt;br /&gt;Cheers, and happy coding&lt;br /&gt;Mr. L&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-3487766327935347222?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/3487766327935347222/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=3487766327935347222' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/3487766327935347222'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/3487766327935347222'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2009/01/friday-january-9-as-long-as-we-have.html' title='Friday January 9: as long as we have code, who cares about snow?'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-6102267384425392496</id><published>2009-01-07T17:53:00.001-08:00</published><updated>2009-01-08T02:54:54.842-08:00</updated><title type='text'>Thursday, January 8: you need to send me comments and blog postings!</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Greetings, exam beaters!&lt;/span&gt;  &lt;span style="font-weight: bold;"&gt;I am heartened to see that most of you have set up a new project, named it, and posted a brief description of what it is supposed to do. (I will be speaking with those few of you who have NOT done this yet.) &lt;/span&gt;  &lt;span style="font-weight: bold;"&gt;However, very few of you have written any sort of comments for this program yet, and only one of you has told me which blog postings he is going to make use of for the purposes of this eam project. That needs to change. TODAY. &lt;/span&gt;  &lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;br /&gt;'nuff said!&lt;/span&gt;  &lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;br /&gt;Mr. L&lt;br /&gt;&lt;br /&gt;PS There is much more to do on these exam projects after we get past this point. &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-6102267384425392496?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/6102267384425392496/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=6102267384425392496' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/6102267384425392496'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/6102267384425392496'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2009/01/thursday-january-8-you-need-to-send-me.html' title='Thursday, January 8: you need to send me comments and blog postings!'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-6408700028780047759</id><published>2009-01-06T09:04:00.000-08:00</published><updated>2009-01-07T03:07:51.750-08:00</updated><title type='text'>Wed Jan. 7: keep on keepin' on!</title><content type='html'>Greetings, code monkeys!&lt;br /&gt;&lt;br /&gt;Today, you will be continuing with what was begun yesterday. I have looked in both my email and in our Google group: most of you have a project description, and some of you have some (limited) project comments. The rest of you have given no proof that you've even begun, so I am assuming that you haven't. Here is the run down so far:&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold"&gt;Project name and description:&lt;/span&gt;&lt;br /&gt;So far everyone has posted a description of their exam project except Callum, Ryan C., Jake, and Ariel (and Joshua, yes, I know you were absent yesterday, please read yesterday's blog posting) This description needs to be posted in our Google group. HOWEVER, no one has told me the NAME of their project! Everyone needs to remedy that right way. As in NOW&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold"&gt;Comments written and emailed&lt;/span&gt;&lt;br /&gt;So far, I have only been emailed comments by Erik, Evan, Ryan N. and Thomas; and the only one whose comments wouldn't fit in a subject line for an email is Tom's. THIS IS AN EXAM REQUIREMENT. And now is definitely not the time to get cheap on me.&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold"&gt;Blog postings that will help&lt;/span&gt;&lt;br /&gt;So far, none of you has gotten this done yet. That needs to be remedied right way. Yes, that would mean NOW&lt;br /&gt;&lt;br /&gt;OK, you have stuff to do, and lots of it. Let's do it, let's get it done!&lt;br /&gt;&lt;br /&gt;Cheers,&lt;br /&gt;Mr. L&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-6408700028780047759?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/6408700028780047759/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=6408700028780047759' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/6408700028780047759'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/6408700028780047759'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2009/01/wed-jan-7-keep-on-keepin-on.html' title='Wed Jan. 7: keep on keepin&apos; on!'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-1778326510673114722</id><published>2009-01-04T14:34:00.000-08:00</published><updated>2009-01-05T08:37:24.511-08:00</updated><title type='text'>Monday, January 5: Welcome back!</title><content type='html'>&lt;span style="FONT-WEIGHT: bold"&gt;Greetings, noble VB programmers!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold"&gt;We are almost at the end of our sojourn through Visual Basic: two short school weeks, then we're at the exam period. By my count, we have only eight classes left until then, INCLUDING today. And then, th-th-th-that's all folks! we are D-O-N-E. So we have to make these remaining days count.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold"&gt;What I would like to begin with today is some basic exam prep. That may sound backwards, but think about it: exactly what kind of exam could we have in a class like this? How do you fit Visual Basic Programming into a multiple choice format? Shall we write an essay about our love for arrays, classes, modules and functions? Nahhhhh, I don't think so! Uncle Paulie don't play that way.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold"&gt;Don't misunderstand: there WILL be an exam, but at least part of it must be done beforehand. You've been working on projects all semester long, both your own, and "mini projects" I have assigned you to explore how various parts of this language work. Sooooooooooooo, at least some part of your exam will necessarily involve a "mini project" of your own design, that you work on BEFORE the actual exam week. (Hey, if we can't get first lunch, we should at least be the first people done with exams, right?)&lt;br /&gt;&lt;br style="FONT-WEIGHT: bold"&gt;&lt;/span&gt;&lt;span style="FONT-WEIGHT: bold"&gt;So here is what we are going to begin with:&lt;br /&gt;&lt;br /&gt;A) Come up with a name for your project and a two or three sentence description of what it will do, and how you anticipate that it will work. Post this in our Google group under a heading that includes your name and the phrase "exam project description"&lt;br /&gt;&lt;br /&gt;B) Next, you will need to create a new project, name it as you said you would, and then, before you write so much as one line of code, THINK about what your program will need to work. What will it require in the way of arrays? Function calls? Modules? Timers? Loops? THINK, and then&lt;br /&gt;&lt;br /&gt;WRITE YOUR COMMENTS FIRST DIRECTLY INSIDE THE CODE FOR YOUR PROJECT&lt;br /&gt;&lt;br /&gt;after which, you will copy these comments into an email which you will send to me, said email having a Subject line that includes your name and the phrase "exam project comments"&lt;br /&gt;&lt;br /&gt;I will not accept any exam project where this has not been done first, and no kidding, if you're slacking with this part, I will send it back to you, and tell you to re-work it until you get it right.&lt;br /&gt;&lt;br /&gt;C) While you're writing these comments, you might want to think about all the lessons you've learned in this class thus far, and compile a list of the blog postings -- including the EXACT website address for that posting-- which you deem will be most helpful in creating your exam project. You will need to include at least ten of these in another email you will send to me; subject line should read "blog postings that will help" plus your name.&lt;br /&gt;&lt;br /&gt;Once this is done, you are free to work on your personal projects, or get cracking on your exam project.&lt;br /&gt;&lt;br /&gt;Cheers,&lt;br /&gt;Mr. L&lt;br style="FONT-WEIGHT: bold"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-1778326510673114722?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/1778326510673114722/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=1778326510673114722' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/1778326510673114722'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/1778326510673114722'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2009/01/monday-january-5-welcome-back.html' title='Monday, January 5: Welcome back!'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-4263785357910411736</id><published>2008-12-23T05:31:00.000-08:00</published><updated>2008-12-23T05:37:32.434-08:00</updated><title type='text'>Tues Dec. 23:   Please hand in ALL your projects as a zip file!</title><content type='html'>&lt;strong&gt;&lt;span style="color:#ff0000;"&gt;Gentlemen: there's nothing left to do today except to upload ALL the projects that you have completed, so that I may do some honest grading during the vacation. I DO have to enter in your grades during the vacation -- happy happy, joy joy!!-- so make sure to give me EVERYTHING, including your personal project, which better be marked as such. Additionally, your zip file better have your first and last name on it before you upload.&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#ff0000;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#ff0000;"&gt;Other than that, &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-size:180%;color:#ff0000;"&gt;&lt;strong&gt;WE AIN'T DOING JACK SQUAT!&lt;/strong&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-4263785357910411736?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/4263785357910411736/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=4263785357910411736' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/4263785357910411736'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/4263785357910411736'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2008/12/tues-dec-23-please-hand-in-all-your.html' title='Tues Dec. 23:   Please hand in ALL your projects as a zip file!'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-1731417691445030726</id><published>2008-12-17T07:37:00.000-08:00</published><updated>2008-12-18T07:19:31.093-08:00</updated><title type='text'>Thursday December 18, part THREE</title><content type='html'>OK, one last thing, and then you get to play on your own with your Classes. This time, we are going to use a control created by a class to make an object out of another class, and put that object on our form. In other words, we can create objects whenever we want!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Here is how you do it:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;A) Make a new Class called "BlueTextBox". Please name it correctly!!!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;B) add the proper "inherits" statement for a TextBox -- see if you can figure out to do this by looking at inherit statements you've done before&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;C) Using the same proces I JUST SHOWEED YOU, set up a "Layout" SUB for this new Class. Here is what I want you to put inside that:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Text = "This is my new TextBox"&lt;br /&gt;BackColor = Color.Blue&lt;br /&gt;ForeColor = Color.Yellow&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;D) In the "PopItUp" SUB that you created earlier, you will add some code to make an object from this new Class, and then place that object on your Form&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Dim myTextBox As New BlueTextBox( )&lt;br /&gt;myTextBox.Location = New Point(200, 100)&lt;br /&gt;myTextBox.Size = New Size(400, 55)&lt;br /&gt;Form1.Controls.Add(myTextBox)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;E) Run your program, and see if you can get that new custom built TextBox to appear when you click on your Label!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Once you have all of that going, do some exploration of your own, and see what else you can find out. MAKE SURE YOU POST A DISCUSSION ON WHAT YOU FIND!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Also, make sure to upload this new version of our project&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Cheers,&lt;br /&gt;&lt;br /&gt;Mr. L&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-1731417691445030726?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/1731417691445030726/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=1731417691445030726' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/1731417691445030726'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/1731417691445030726'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2008/12/thursday-december-18-part-three.html' title='Thursday December 18, part THREE'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-2925312376659536012</id><published>2008-12-17T07:26:00.000-08:00</published><updated>2008-12-18T07:13:37.671-08:00</updated><title type='text'>Thursday Dec 18, PART TWO</title><content type='html'>OK, now that we've made a MsgBox show up, let's see if we can add to that SUB:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;A) Add a TextBox to your form the way you've always done: just drag it on there!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;B) rename it "HardWired"&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;C) In the SUB procedure that you just created in your module, add this line of code:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Form1.HardWired.Text = "TASTE THE RAINBOW!!"&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;D) Run the program again, and see if the message shows up in your textbox&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;OK, that was pretty simple, so let's get right to PART THREE!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Cheers,&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Mr. L&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-2925312376659536012?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/2925312376659536012/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=2925312376659536012' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/2925312376659536012'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/2925312376659536012'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2008/12/thursday-dec-18-part-two.html' title='Thursday Dec 18, PART TWO'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-5456238140283419261</id><published>2008-12-17T07:03:00.000-08:00</published><updated>2008-12-18T05:23:17.380-08:00</updated><title type='text'>Thursday December 18: Building on what we've already done  PART ONE</title><content type='html'>&lt;strong&gt;&lt;span style="color:#33cc00;"&gt;Hey there hi there ho there!&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#33cc00;"&gt;Today, we will continue with our work with classes. We will build on the project we worked on yesterday, adding several modifications to it. After we have done that, I will ask you to do some exploration of what we have learned on your own. Here is what we will be adding:&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#33cc00;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#33cc00;"&gt;A) You will make your label -- which is based on the Class called "RainBowLabel" -- do something by calling a SUB inside of a module. Then, I will show you how to do something else from within that same SUB procedure, and apply it to a control --in this case a textbox-- that you place on your form the way you've always done it: by just dragging it on to the form!&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#33cc00;"&gt;B) You will make a second Class, and use the "Layout" event to make that Class look a certain way&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#33cc00;"&gt;C) You will will use the Class that you made yesterday to create an object from the Class you just made in B), and then put that new object into your form.&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#33cc00;"&gt;HERE IS HOW YOU DO ALL THAT:&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#33cc00;"&gt;1) Re-open the project from yesterday&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#33cc00;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#33cc00;"&gt;2) Add a new Class and name it "RainBowCalling"&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#33cc00;"&gt;3) Set up a SUB procedure in that module called&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#33cc00;"&gt;Public Sub PopItUp( )&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#33cc00;"&gt;4) Inisde that SUB, just put this one line of code:&lt;br /&gt;MsgBox("You dont taste one bit like skittles!!")&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#33cc00;"&gt;5) make sure that you "CALL" that SUB from inside the Class "RainBowLabel" by &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#33cc00;"&gt;getting back into the code for the RainBowLabel class, getting into its event list from the left hand pulldown, then look for the "Click" event in the right hand pulldown&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#33cc00;"&gt;6) inside the new SUB that jumps up out of nowhere, put in this line of code"&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#33cc00;"&gt;MsgBox("You dont taste one bit like skittles!!")&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#33cc00;"&gt;7) Run the program, and click on your label to see if it works&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#33cc00;"&gt;When everybody has that done, we'll go onto Part Two&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#33cc00;"&gt;Cheers,&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#33cc00;"&gt;Mr. L&lt;/span&gt;&lt;/strong&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-5456238140283419261?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/5456238140283419261/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=5456238140283419261' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/5456238140283419261'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/5456238140283419261'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2008/12/thursday-december-18-building-on-what.html' title='Thursday December 18: Building on what we&apos;ve already done  PART ONE'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-7241005815532438765</id><published>2008-12-16T16:59:00.000-08:00</published><updated>2008-12-17T04:28:02.950-08:00</updated><title type='text'>Wed December 17: a more in-depth examination of classes</title><content type='html'>&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(51,255,51)"&gt;Greetings, exalted coders!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(51,255,51)"&gt;Today we will continue with our examination of classes, what they are and how they work. Let's start with the basic theory, since it seems to be a bit difficult to master, then we will move on to an example that proceeds bit by bit.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(51,255,51)"&gt;A) The Theory: ALL of Vb.net is based on Classes. Everything you see in your program starts out as a Class, EVERYTHING. That's all your Forms, all the controls you put on a form, every last bit.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(51,255,51)"&gt;Classes INHERIT from other classes. That is, they get features that other classes already have because they "derive" from those other classes. Kind of like the way I get my blue eyes &amp;amp; love for building things from my dad, and my love of reading and knack from gardening from my mom&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(51,255,51)"&gt;You can create your own class, and give it features that the original class never dreamed of. My dad is a builder, but he never dreamed of building in code. My mom likes to garden, but HER gardens are like something from Martha Stewart. Mine look a lot more like "Little Shop of Horrors"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(51,255,51)"&gt;Classes are like blueprints: you use them to build objects, which are things you can actually see and use in your program. I'm already planning for next year's gardens; and next year, my "garden object" gets instantiated starting April 1st.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(51,255,51)"&gt;Classes can include functions, sub routines and calls to other functions and sub-routines that are inside separate modules. Because these modules are outside both your class, and whatever form you put your new object in, that new object can call those functions and subs, and DO stuff with them&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(51,255,51)"&gt;OK, enough theory. Here's what I want you to do today:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(51,255,51)"&gt;A) create a new project called BasicallyClasses plus your name&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(51,255,51)"&gt;B) Drag a Label onto Form1, and then lets look at its properties. A Label has lots and lots of them, including stuff like:&lt;/span&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(51,255,51)"&gt;Text&lt;/span&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(51,255,51)"&gt;BackColor&lt;/span&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(51,255,51)"&gt;ForeColor&lt;/span&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(51,255,51)"&gt;Name&lt;/span&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(51,255,51)"&gt;Width&lt;/span&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(51,255,51)"&gt;Height&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(51,255,51)"&gt;and many many others. Some of these properties are "read only" meaning its pretty darned difficult to set them inside a Class -- but you can certainly try!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(51,255,51)"&gt;C) A label also has a lot of methods: things that a label can DO. You can see a great big honking list of them by getting into the code for your form, and setting the pulldown menu at the top left to "Label1", then opening the pulldown menu at the top right. Yup, there's craploads of stuff in there!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(51,255,51)"&gt;D) OK, now let's add a new class. Name this one "RainBowLabel" (Don't worry, you'll get to repeat this process later, and use your own name. Just humor me, m'Kay?)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(51,255,51)"&gt;E) Just below the "Public Class...." line, add an inherits line of code like so:&lt;/span&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(51,255,51)"&gt;Inherits Windows.Forms.Label&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(51,255,51)"&gt;F) Now lets look at the pulldown menus for this new class. The one at the left has an entry for "RainBowLabel events" Choose that. The one at the right will then list a bunch of stuff, including one for "Layout" Choose that one: it allows you to set some basic stuff for your label INSIDE the class.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(51,255,51)"&gt;G) Notice that when you do this, the program creates a new "Sub" for you. That's where today's code will go. Remember those properties you saw in the first Label you just drgged onto the form? Let's set some of those, like so:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(51,255,51)"&gt;Text = "Chlorophyllllll"&lt;/span&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(51,255,51)"&gt;BackColor = Color.Green&lt;/span&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(51,255,51)"&gt;ForeColor = Color.Blue&lt;/span&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(51,255,51)"&gt;Name = "Green"&lt;/span&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(51,255,51)"&gt;Width = "149"&lt;/span&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(51,255,51)"&gt;Height = "20"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(51,255,51)"&gt;Please note that for some properties, you will get a message that it's "read only". This means you cannot set it here in the class. Or can you?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(51,255,51)"&gt;H) Get into the form load event for your Form, and add this:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(51,255,51)"&gt;Dim LabelOne As New RainBowLabel( ) 'create an object from the class&lt;/span&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(51,255,51)"&gt;Me.Controls.Add(LabelOne) 'add the object to the Form&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(51,255,51)"&gt;I) run the program and oh crap.....! Now what? Well, we forgot to tell the program how big your Label is and where we want it. So its basically got NO SIZE AT ALL, and its located NOWHERE on the form! Here's what I did to fix that:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(51,255,51)"&gt;Add this to the code inside your class:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(51,255,51)"&gt;Location = New Point(200, 200)&lt;br /&gt;Size = New Size(400, 55)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(51,255,51)"&gt;This says that our Class recognizes that these two things exist, but notice we don't specify how big our label will be here in the class, although we could have.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(51,255,51)"&gt;Add this code to your "form load" (see if you can reason out where it should go exactly)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(51,255,51)"&gt;LabelOne.Location = New Point(200, 200)&lt;/span&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(51,255,51)"&gt;LabelOne.Size = New Size(400, 55)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(51,255,51)"&gt;Now let's run it again and see what we get!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(51,255,51)"&gt;OK, that's enough for this part. Now what I want you to do is to repeat the process, and make a class that will create some other custom control for your form. Use the same steps that I showed you, and also, see what additional things you can do with it.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(51,255,51)"&gt;Cheers,&lt;/span&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(51,255,51)"&gt;Mr. L&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-7241005815532438765?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/7241005815532438765/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=7241005815532438765' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/7241005815532438765'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/7241005815532438765'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2008/12/wed-december-17-more-in-depth.html' title='Wed December 17: a more in-depth examination of classes'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-837569743224112409</id><published>2008-12-14T16:05:00.000-08:00</published><updated>2008-12-15T05:18:23.575-08:00</updated><title type='text'>Monday December 15: More fun with classes</title><content type='html'>&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)"&gt;Greetings, chattering code monkeys!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)"&gt;Today, you will be expected to do at least two separate yet equally important things:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)"&gt;A) Create a project that contains at least one form and three classes. Make darned sure that its named after yourself, plus the word "Three Classes". Each class must represent something that is unique, ands each one must DO something. At least one of the classes must contain at least two or more controls -- you can use a Panel to hold them all together if you wish&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)"&gt;Each one of these classes must be instantiated somewhere on your form. In other words, you gotta use all the stuff you create! Once you're done with that, upload the project, and then....&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)"&gt;B) Work on your personal project.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)"&gt;Happy coding!&lt;/span&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)"&gt;Mr. L&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-837569743224112409?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/837569743224112409/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=837569743224112409' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/837569743224112409'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/837569743224112409'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2008/12/monday-december-15-more-fun-with.html' title='Monday December 15: More fun with classes'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-8712721835075975978</id><published>2008-12-11T17:59:00.000-08:00</published><updated>2008-12-12T06:09:01.473-08:00</updated><title type='text'>Friday December 12: Coding with Class, PART TWO</title><content type='html'>&lt;span style="color:#ff0000;"&gt;OK, now I will show you something else I've done with my button: it calls a function inside a module, and then assigns the result to that TextBox on our form. Here's how I did it:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;A) I made a new Module and called it "GoGetIt"&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;B) I added a Function to it that returns a String thtas random plucked from an array (sound familar?)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Module GoGetIt&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Public Function RandomEvil( ) As String&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Dim Letters() As String = {"an EVIL petting zoo?", "I want chicken, I want liver", "Meow mix, meow mix, please deliver", "I will call him...mini me", "Silence!", "I will not tolerate your insolence"}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Dim whichQuote As Integer = 0&lt;br /&gt;Dim SayIt As String&lt;br /&gt;Dim A As New Random 'set a random seed&lt;br /&gt;whichQuote = A.Next(0, Letters.Length - 1) 'number of elements in the Letters array&lt;br /&gt;SayIt = Letters(whichQuote)&lt;br /&gt;Return SayIt&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;End Function&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;End Module&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;C) Then, in my code for the "redButton" class, I called that function by placing this line of code:&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div align="center"&gt;&lt;strong&gt;&lt;span style="color:#000099;"&gt;RandomEvil( )&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;under the code that changes the buttons text and back color&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Then, I sent the results of that Function to the TextBox on the Form:&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;div align="center"&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;&lt;strong&gt;Form1.TextBox1.Text = RandomEvil( )&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="center"&gt;&lt;strong&gt;&lt;span style="color:#000099;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;span style="color:#ff0000;"&gt;So OK, show me something you can do with your button class. Or maybe make another class of your own. Your choice.&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;span style="color:#ff0000;"&gt;Cheers,&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;span style="color:#ff0000;"&gt;Mr. L&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-8712721835075975978?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/8712721835075975978/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=8712721835075975978' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/8712721835075975978'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/8712721835075975978'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2008/12/friday-december-12-coding-with-class_11.html' title='Friday December 12: Coding with Class, PART TWO'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-8161325399138310243</id><published>2008-12-11T17:24:00.000-08:00</published><updated>2008-12-12T05:58:05.068-08:00</updated><title type='text'>Friday December 12: Coding with Class, PART ONE</title><content type='html'>&lt;span style="color:#ff0000;"&gt;Greetings, chattering code monkeys!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Today we are less than a month's worth of classes away from programming in Java. In celebration of this upcoming event --and just because its Friday-- we are going to look at a concept that Visual Basic has more or less copied from Java in the first place: the Class.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div align="left"&gt;&lt;span style="color:#ff0000;"&gt;In Java, everything is a class; the whole darned language is Class-based. And, ever since VB went to .NET framework, Visual Basic has classes too. A Class is kind of like a blueprint: you use them to create actual objects. You've been using them all along: if you create a new Project and get into the code for your form, the very first line of code is &lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="center"&gt;&lt;span style="color:#ff0000;"&gt;"Public Class Form1"&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;span style="color:#ff0000;"&gt;Today we will create our own classes. You will start out simply, then branch off into your own creations. Here's how we will start:&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;span style="color:#ff0000;"&gt;A) Create a new Project named after yourself plus the phrase "Legos"&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;span style="color:#ff0000;"&gt;B) on the Form1 that you get, create a TextBox&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;span style="color:#ff0000;"&gt;C) We are going to create a new type of control that can go on your form, so the first step will be to create a Class. You do this by Clicking on the Project menu, then clicking on the menuitem "Add Class". I named mine redButton, since our new class will be based on the Button class that already exists in VB&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;span style="color:#ff0000;"&gt;D) You will notice that you will get an empty set of code that looks like this:&lt;br /&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style="color:#000099;"&gt;Public Class redButton&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;span style="color:#000099;"&gt;&lt;strong&gt;End Class&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;strong&gt;&lt;span style="color:#000099;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;span style="color:#ff0000;"&gt;Since your new class will create a button, you need to tell the program that. So, the first line of code is as follows:&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#000099;"&gt;Inherits Windows.Forms.Button&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;strong&gt;&lt;span style="color:#000099;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;span style="color:#ff0000;"&gt;Classes can inherit properties and methods and other cool stuff from other classes, kind of like how I inherited my father's blue eyes and low tolerance for liars. Our class will be able to use all the stuff that buttons have, including this:&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;&lt;strong&gt;Private Sub redButton_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Click&lt;/strong&gt; &lt;/span&gt;&lt;span style="color:#000000;"&gt;'this stuff is all on one line&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;span style="color:#ff0000;"&gt;All buttons can be clicked. So will yours&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;span style="color:#ff0000;"&gt;The next step is to add something simple to that button click. How's about we start with its caption and color? Add this inside that click method thingamabob:&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;span style="color:#000099;"&gt;&lt;strong&gt;Text = "Whoo Hoo!""&lt;br /&gt;BackColor = Color.Red&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;strong&gt;&lt;span style="color:#000099;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;span style="color:#ff0000;"&gt;The final step is to add this new type of button to your form. I did mine at Form Load:&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;&lt;strong&gt;'create a new button from your class&lt;br /&gt;Dim myNewButton As New redButton( )&lt;br /&gt;'what text does this button have?&lt;br /&gt;myNewButton.Text = "Deep Thought"&lt;br /&gt;'add the Button that is created from the class to the form&lt;br /&gt;Me.Controls.Add(myNewButton)&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;strong&gt;&lt;span style="color:#000099;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;span style="color:#ff0000;"&gt;This code adds the new kind of button to your form when you run the program, and not until then. You can also set its size and location like so:&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;strong&gt;&lt;span style="color:#000099;"&gt;'where on the form do we create this new button?&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;strong&gt;&lt;span style="color:#000099;"&gt;myNewButton.Location = New Point(100, 50)&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;strong&gt;&lt;span style="color:#000099;"&gt;'setting the size of the Button&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;strong&gt;&lt;span style="color:#000099;"&gt;myNewButton.Size = New Size(100, 55)&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;span style="color:#ff0000;"&gt;OK, let's run that thing and see if it works. Then I'm going to show you some other different stuff I've done with my button, and I will ask you to come up with some new stuff of your own.&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;span style="color:#ff0000;"&gt;Cheers,&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;span style="color:#ff0000;"&gt;Mr. L&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-8161325399138310243?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/8161325399138310243/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=8161325399138310243' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/8161325399138310243'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/8161325399138310243'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2008/12/friday-december-12-coding-with-class.html' title='Friday December 12: Coding with Class, PART ONE'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-8566561525699310940</id><published>2008-12-09T08:53:00.000-08:00</published><updated>2008-12-10T09:50:23.787-08:00</updated><title type='text'>Wed December 10: Actual for real randomness and pretty colors too!</title><content type='html'>Greetings VB coders!!!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Today we will make a project that does several things:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;A) Creates truly random numbers that are DIFFERENT everytime you start the program&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;B) Sets a limit to which number values are used -- basically, the smallest and the largest used&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;C) Uses these random numbers to populate an empty array with values from another array&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;D) Uses a for loop (which we still seem to have some issues with, at least some of us)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Here's how we do it:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1) Start off by making a project called LottsaRandom, with your name appended to the end of it&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2) Add two buttons and one TextBox to this project. Rename the first button to "Mustard", &amp;amp; change its text to Mustard as well. Rename the second button to "Ketchup", and change its text to read ketchup&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;3) rename the textbox to "codeSheet" and change its text to read "secret codes will go here"&lt;br /&gt;&lt;br /&gt;4) get into the code for this project, and just below where it says "Public Class Form1" create the following:&lt;br /&gt;&lt;br /&gt;a) an Integer variable called "whatChar"&lt;br /&gt;b) a String array that has all 26 letters of the alphabet, AND the numerals 0 to 9 AND the characters ! @ # $&lt;br /&gt;&lt;br /&gt;please not that each one of these items is an element in your String array. If you've forgotten how to make a String array, you have one as an example in our Ferris Bueller project&lt;br /&gt;&lt;br /&gt;c) create an empty String array like this ----&gt; Dim codes(7) As String&lt;br /&gt;notice that this is also a String array, but it has spaces for elements, not actual elements. Think of an empty egg carton.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;pause, take a breath, now for the real fun:&lt;br /&gt;&lt;br /&gt;OK, so now we have to make a SUB procedure (remember those? it seems like just yesterday...)&lt;br /&gt;This SUB has to be able to create truly RANDOM numbers, and it cannot start with the same random set of numbers every time!&lt;br /&gt;&lt;br /&gt;PLUS, the random values must fall within a certain range. Why? Well, because we are trying to randomly pick out certain elements from the array that has stuff in it, and put them in the array that doesn't have anything yet. There are only 40 elements in the array that's filled, so we don't need to get random values going up to 100, or 100; that would make no sense&lt;br /&gt;&lt;br /&gt;Here's how we do it:&lt;br /&gt;&lt;br /&gt;Public Sub SevenRandomNumbers( )&lt;br /&gt;Dim A As New Random 'set a random seed using the RANDOM class&lt;br /&gt;Dim x As Integer 'set an integer to use in the loop&lt;br /&gt;For x = 0 To 6 'go thru loop to fill codes array&lt;br /&gt;whatChar = A.Next(0, 40) 'number of elements in the Letters array&lt;br /&gt;codes(x) = whatChar 'whatever x value is, that element in the empty array is filled&lt;br /&gt;Next x&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;OK, so now how do we "call" that SUB procedure? Simple, we get into the code for the "mustard" button (mustard, seed, get it? Oh well.....) and we call that SUB. Then we use the results we get to fill the textbox, like so:&lt;br /&gt;&lt;br /&gt;SevenRandomNumbers( ) 'call the sub&lt;br /&gt;Dim x As Integer&lt;br /&gt;For x = 0 To 6&lt;br /&gt;codeSheet.Text = codeSheet.Text &amp;amp; codes(x) &amp;amp; " "&lt;br /&gt;Next x&lt;br /&gt;&lt;br /&gt;OK, that oughtta do it. Lets try and run that program, and see what we get!&lt;br /&gt;&lt;br /&gt;Cheers,&lt;br /&gt;Mr. L&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-8566561525699310940?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/8566561525699310940/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=8566561525699310940' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/8566561525699310940'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/8566561525699310940'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2008/12/wed-december-10-actual-for-real.html' title='Wed December 10: Actual for real randomness and pretty colors too!'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-4964097003806719864</id><published>2008-12-07T13:03:00.000-08:00</published><updated>2008-12-09T06:23:12.801-08:00</updated><title type='text'>Tues December 9: SUBS are basically pretty cool!</title><content type='html'>OK, that's better. Now let's get some new stuff done!&lt;br /&gt;&lt;br /&gt;Today, we will explore creating our own SUB procedures. You've been using SUBS that VB automatically provides you: there's a SUB for form load, for a button click, etc etc.&lt;br /&gt;&lt;br /&gt;BASICALLY, a SUB is kind of like a function, only it doesn't return a value; it just does something. We will create a sub that is started at form load, and is then called every 3 seconds using our old friend the Timer&lt;br /&gt;&lt;br /&gt;We start by creating a new Project. Name it after yourself, plus the phrase "MySub"&lt;br /&gt;&lt;br /&gt;On the Form, please add a label. You don't need to rename it, but let's set its font to a decent size, say about 35 or so.&lt;br /&gt;&lt;br /&gt;In the form's code, you will be adding both a String array and an Integer variable, like so:&lt;br /&gt;Dim OldAd( ) As String = {"On curves ahead", "remember sonny", "that rabbits foot", "didnt save the bunny", "BURMA SHAVE"} 'this is all one line&lt;br /&gt;Dim PoemTick As Integer&lt;br /&gt;&lt;br /&gt;Let's try to remember where this gets typed, OK?&lt;br /&gt;&lt;br /&gt;OK, the next step is to create your very first sub. Really, all you have to do is type this:&lt;br /&gt;Sub ReadPoem( )&lt;br /&gt;&lt;br /&gt;This will automatically set up a place where you'll put in some code in a second&lt;br /&gt;&lt;br /&gt;The next step is to add a control that will make this SUB called ReadPoem( ) happen at a regular interval. That's our old friend, the Timer. So drag one onto your form. Again, no need to rename it, just doubleclick on it and add this to it's code:&lt;br /&gt;&lt;br /&gt;ReadPoem( ) This will make the sub happen at the interval you set in the Timer's property box (psssst, its at the lower right corner of the screen.) I set my interval at 3000 milliseconds&lt;br /&gt;&lt;br /&gt;OK, so now let's add some actual code to your SUB:&lt;br /&gt;If PoemTick &lt; text =" OldAd(PoemTick)"&gt; this will start you out at the beginning of the poem!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;There, that ought to do it: run the program and see what you get!&lt;br /&gt;&lt;br /&gt;Cheers,&lt;br /&gt;Mr. L&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-4964097003806719864?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/4964097003806719864/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=4964097003806719864' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/4964097003806719864'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/4964097003806719864'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2008/12/tues-december-9-subs-are-basically.html' title='Tues December 9: SUBS are basically pretty cool!'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-8186102863775180283</id><published>2008-12-07T12:59:00.000-08:00</published><updated>2008-12-08T03:06:13.169-08:00</updated><title type='text'>Monday December 8: Part One</title><content type='html'>&lt;span style="font-weight: bold;"&gt;UPLOAD ALL YOUR FILES&lt;br /&gt;&lt;br /&gt;NOW&lt;/span&gt;  &lt;span style="font-weight: bold;"&gt;This includes the latest version of your project from last Thursday (see &lt;/span&gt;&lt;a style="font-weight: bold;" href="http://codemonkeys323.blogspot.com/2008/12/thurs-dec-4-whats-next.html"&gt;HERE&lt;/a&gt;&lt;span style="font-weight: bold;"&gt;) AND the mini-project where I asked you to combine two different techniques (also &lt;/span&gt;&lt;a style="font-weight: bold;" href="http://codemonkeys323.blogspot.com/2008/12/thurs-dec-4-whats-next.html"&gt;HERE&lt;/a&gt;&lt;span style="font-weight: bold;"&gt;)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;As of this moment, I don't have these files from any of you. Nothing else will take place in this class until they are uploaded to our account at Box.net&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Cheers,&lt;/span&gt; &lt;span style="font-weight: bold;"&gt;Mr. L&lt;br /&gt;&lt;br /&gt;PS If the files in question have in fact been uploaded, by all means, please come to my desk and show me where they are.&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-8186102863775180283?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/8186102863775180283/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=8186102863775180283' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/8186102863775180283'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/8186102863775180283'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2008/12/monday-december-8-part-one.html' title='Monday December 8: Part One'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-1671085929857935473</id><published>2008-12-03T11:23:00.000-08:00</published><updated>2008-12-04T05:25:30.068-08:00</updated><title type='text'>Thurs, Dec. 4: What's next</title><content type='html'>greetings, one and all,&lt;br /&gt;Today, you only have to do two things:&lt;br /&gt;&lt;br /&gt;A) finish up the assignment from &lt;a href="http://codemonkeys323.blogspot.com/2008/12/wed-december-3-part-two.html"&gt;yesterday&lt;/a&gt; and upload both that little creation of yours, AND the "jukebox" project from &lt;a href="http://codemonkeys323.blogspot.com/2008/12/wed-december-3-something-old-something.html"&gt;THIS &lt;/a&gt;assignment&lt;br /&gt;&lt;br /&gt;B) work on your personal project, and upload a version of that today BEFORE the end of class&lt;br /&gt;&lt;br /&gt;Cheers,&lt;br /&gt;Mr. L&lt;br /&gt;&lt;br /&gt;PS I am attempting to find some alternatives to the file hosting we have at Box.net I may ask some of you to participate in an experiment for this very purpose. I will appreciate your full cooperation in this effort.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-1671085929857935473?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/1671085929857935473/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=1671085929857935473' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/1671085929857935473'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/1671085929857935473'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2008/12/thurs-dec-4-whats-next.html' title='Thurs, Dec. 4: What&apos;s next'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-9183733780206882578</id><published>2008-12-02T17:08:00.000-08:00</published><updated>2008-12-03T06:27:46.042-08:00</updated><title type='text'>Wed December 3: part two</title><content type='html'>OK, now that you've put together sound and comboboxes, I want you to repeat the process by doing this: put together in a project two things you've never made work together before. At least one of the controls you use should be something that has been demonstrated in this class. When you have done it, please post a discussion to our Google group describing what it is that you did. please include all relevant code.&lt;br /&gt;&lt;br /&gt;When you are done with this, please upload the Jukebox project you made, then carry on with the personal project you are tending to.&lt;br /&gt;&lt;br /&gt;Cheers,&lt;br /&gt;Mr. L&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-9183733780206882578?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/9183733780206882578/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=9183733780206882578' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/9183733780206882578'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/9183733780206882578'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2008/12/wed-december-3-part-two.html' title='Wed December 3: part two'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-2915563152921856113</id><published>2008-12-02T16:27:00.000-08:00</published><updated>2008-12-03T05:37:49.411-08:00</updated><title type='text'>Wed December 3: Something Old Something new</title><content type='html'>Greetings, chattering code monkeys!&lt;br /&gt;&lt;br /&gt;Today we are going to do at least two things before you get after your personal projects. This posting is about the first one; there'll be a second posting in short order.&lt;br /&gt;&lt;br /&gt;WHAT TO DO:&lt;br /&gt;&lt;br /&gt;A) create a new project, and name it after yourself plus the phrase "JukeBox"&lt;br /&gt;&lt;br /&gt;B) To this form, add a button and a combobox. Change the text on the button to "Play"&lt;br /&gt;&lt;br /&gt;C) get into the combobox's properties sheet, select the "collections" thingamabob, then add these items to it:&lt;br /&gt;&lt;br /&gt;Cars&lt;br /&gt;Girl U Want&lt;br /&gt;Musique Automatique&lt;br /&gt;I Gotta Wear Shades&lt;br /&gt;&lt;br /&gt;these are the names of some songs I have for you in the VB Depot folder. Please note that they are .wav files, as VB will not play mp3s, at least not that I've seen&lt;br /&gt;&lt;br /&gt;D) OK, now to get some code monkeyin' done! get into your code, and just beneath&lt;br /&gt;"Public Class Form1" add in a String variable named "DaFolder", another String variable called "MySong" and a String Array called Songs( ) that has as its elements the names of those songs you just put into the combobox. Make sure to add the .wav extension at the end of each filename&lt;br /&gt;&lt;br /&gt;E) In your "Form Load" event, you will set the value of "DaFolder" to wherever you are going to store the .wav files. Make sure you set the full pathname!&lt;br /&gt;&lt;br /&gt;F) OK, so that was all old stuff. There wasn't one thing on there that we haven't done before. Now for the new stuff! We are going to make use of a property of your combobox called "SelectedIndex". The items in a ComboBox are listed the same way as the elements in an array: they start at ZERO. So it's pretty easy to use this to select a certain element from an array, say an Array of song names. Here's how I did it in the button click event:&lt;br /&gt;&lt;br /&gt;'make sure that a song has been chosen&lt;br /&gt;If ComboBox1.SelectedIndex &lt; 0 Then&lt;br /&gt;MsgBox("Please choose a song!")&lt;br /&gt;Else&lt;br /&gt;'set up default VB wav player&lt;br /&gt;Dim Sound As New System.Media.SoundPlayer( )&lt;br /&gt;'establish where the sound folder is&lt;br /&gt;'and then pick a sound from that folder by the array&lt;br /&gt;MySong = Songs(ComboBox1.SelectedIndex)&lt;br /&gt;Sound.SoundLocation = DaFolder &amp;amp; MySong&lt;br /&gt;'load and then play the sound!&lt;br /&gt;Sound.Load( )&lt;br /&gt;Sound.Play( )&lt;br /&gt;&lt;br /&gt;OK, now here's the tricky part: I couldn't upload the song files, because they are too big to fit on Box.net. I will try to put them in the H drive, but failing that, I have them on a couple of thumb drives&lt;br /&gt;&lt;br /&gt;Cheers,&lt;br /&gt;Mr. L&lt;br /&gt;&lt;br /&gt;PS there will be second part of this lesson -- be looking for it!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-2915563152921856113?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/2915563152921856113/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=2915563152921856113' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/2915563152921856113'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/2915563152921856113'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2008/12/wed-december-3-something-old-something.html' title='Wed December 3: Something Old Something new'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-6399209550198908932</id><published>2008-11-20T18:50:00.000-08:00</published><updated>2008-11-21T07:57:22.734-08:00</updated><title type='text'>Fri Nov 21: Using combox boxes</title><content type='html'>Greetings, fellow code monkeez,&lt;br /&gt;&lt;br /&gt;Today being Friday and all, I thought that we should keep things as simple yet as informative as possible. Plus, I wanted to introduce you all to a couple of extremely useful controls:&lt;br /&gt;&lt;br /&gt;A) the PANEL&lt;br /&gt;&lt;br /&gt;B) the combobox aka, "pulldown menu"&lt;br /&gt;&lt;br /&gt;A panel is good for holding other controls together as if they functioned as one unit. Combo boxes are good for holding lists of items in a visible fashion, so you can see them and use them. We are going to make use of both today. I will show you how the first time around, then you will find some other uses for BOTH these controls&lt;br /&gt;&lt;br /&gt;OK, lets launch into this, shall we?&lt;br /&gt;&lt;br /&gt;Step A) start up a new project and call it PullDowns&lt;br /&gt;&lt;br /&gt;Step B) Add a button to your new form, and set its text to say "Shaazaam!"&lt;br /&gt;&lt;br /&gt;Step C) Next, add a Panel to your form. Make it as big as possible without overlapping the Button you just made. Set its background color to red or blue or green or something bright. Set its visibility to "False"&lt;br /&gt;&lt;br /&gt;Step D) Add a webbrowser control onto the Panel, and resize it so that it takes up most of the room inside the panel.&lt;br /&gt;&lt;br /&gt;Step E) drag a combobox onto the Panel, and set it just above the webbrowser control&lt;br /&gt;&lt;br /&gt;Now to set some properties and add some simple code. Here are the next steps:&lt;br /&gt;&lt;br /&gt;Step F) your ComboBox has a property called "ITEMS"; next to it is the word "Collections" followed by a little button with dots on it. Click on that button&lt;br /&gt;&lt;br /&gt;Step G) This pops up a place where you can add items to your combobox, similar to the way you added items to your menus the other day. Our collections list is going to consist of webpage addresses, something like this:&lt;br /&gt;&lt;br /&gt;http://www.thinkgeek.com/&lt;br /&gt;http://www.bittorrent.com/&lt;br /&gt;http://www.limewire.com/&lt;br /&gt;&lt;br /&gt;By all means, set your website addresses to whatever you want, as long as they are school appropriate&lt;br /&gt;&lt;br /&gt;Step H) Doubleclick on the combobox to get into its code. We are going to use the items in the combobox to direct the webbrowser control to display a webpage. The code for it is pretty simple:&lt;br /&gt;&lt;br /&gt;MsgBox(ComboBox1.SelectedItem)&lt;br /&gt;WebBrowser1.Navigate(New Uri(ComboBox1.SelectedItem))&lt;br /&gt;&lt;br /&gt;Step I) Now, add this code to that button you made:&lt;br /&gt;Panel1.Visible = True&lt;br /&gt;&lt;br /&gt;RUN your program to verify that it works; I will be observing you through LanSchool. Once you have mastered this, I want you to be able to prove what you know by using both a combobox and a panel in some other way. PLEASE POST A DISCUSSION ON HOW YOU DID THIS.&lt;br /&gt;&lt;br /&gt;Please upload this new mini project, then you may return to work on your project, which you will also upload before the class is done.&lt;br /&gt;&lt;br /&gt;Cheers,&lt;br /&gt;Mr. L&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-6399209550198908932?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/6399209550198908932/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=6399209550198908932' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/6399209550198908932'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/6399209550198908932'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2008/11/fri-nov-21-using-combox-boxes.html' title='Fri Nov 21: Using combox boxes'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-2623172476746835329</id><published>2008-11-19T10:17:00.000-08:00</published><updated>2008-11-20T05:06:04.503-08:00</updated><title type='text'>Thurs Nov 20: Time to Clock OUT!!!</title><content type='html'>&lt;span style="font-size:180%;color:#ffffff;"&gt;Greetings, O keepers of the Microsoft code!&lt;br /&gt;Today, we are going to accomplish three great and wonderful goals:&lt;br /&gt;&lt;br /&gt;A) Learn the basics of using the TIMER control, and apply it to something useful&lt;br /&gt;&lt;br /&gt;B) See if you can apply the techniques you've learned to make something else happen at a regular interval, guided by a timer.&lt;br /&gt;MAKE A DISCUSSION POST ON OUR GROUP STATING WHAT YOU DID HERE&lt;br /&gt;&lt;br /&gt;C) work on your individual projects -- and be sure to UPLOAD both of todays projects to the "VBDEPOT" folder at BOX.net&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Right then, let's start with the first one. Here's what you have to do&lt;br /&gt;1) start up a new project and name it after yourself plus the phrase "TimingX"&lt;br /&gt;&lt;br /&gt;2) Add a label to Form1. You DON'T have to rename it, but you DO have to change the text and the font size. Make the size at least "42"; make the text say basically whatever you want, as long as its school appropriate&lt;br /&gt;&lt;br /&gt;3) Set the Label's "visible" property to FALSE&lt;br /&gt;&lt;br /&gt;4) Add a TIMER control to your form by dragging it from the toolbox onto to the Form. Set its "Interval" property to 1000, which means the same as one second&lt;br /&gt;&lt;br /&gt;5) get into the TIMER code by doubleclicking on it. Add this code snippet:&lt;br /&gt;&lt;br /&gt;' this calls a function named "secret word" thats stored in a module&lt;br /&gt;SecretWord( )&lt;br /&gt;&lt;br /&gt;6) OK, so now you need a function and a module to put it in. So, first things first, add a Module -- if you don't know how, ask your buddy, not me -- we've already done this several times now!&lt;br /&gt;&lt;br /&gt;7) In the module, you are going to create a function that will make the Label appear and disappear according to what interval is set in the timer. Like any good function, it will need to return a variable. Since we're dealing with a "visible/hidden" situation, we will only need two states, ON and OFF. so your variable will be a boolean.&lt;br /&gt;&lt;br /&gt;8) Here is the way I set up this function. Try it my way; or if you feel daring, try another way of doing this same thing:&lt;br /&gt;&lt;br /&gt;Public Function SecretWord( ) As String&lt;br /&gt;'the on or off variable&lt;br /&gt;&lt;br /&gt;Dim OnOff As Boolean = False&lt;br /&gt;&lt;br /&gt;'if the Label is hidden, then show it!&lt;br /&gt;If Form1.Label1.Visible = False Then&lt;br /&gt;Form1.Label1.Visible = True&lt;br /&gt;OnOff = True&lt;br /&gt;&lt;br /&gt;'if you can see the Label then HIDE it!&lt;br /&gt;Else&lt;br /&gt;Form1.Label1.Visible = False&lt;br /&gt;OnOff = False&lt;br /&gt;End If&lt;br /&gt;&lt;br /&gt;'return the value of the variable&lt;br /&gt;Return OnOff&lt;br /&gt;End Function&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;9) Finally, get back into Form1, and this to its LOAD statement:&lt;br /&gt;&lt;br /&gt;Timer1.Enabled = True 'make sure the timer is turned on&lt;br /&gt;SecretWord( ) 'call the function the first time&lt;br /&gt;&lt;br /&gt;OK, let's see if we can get that to work! I will come around to see if you've got it right. Once you've mastered that, I want to see you make a timer do something different: your choice as to what different will mean.&lt;br /&gt;&lt;br /&gt;The rest of the class will be yours&lt;br /&gt;&lt;br /&gt;Cheers,&lt;br /&gt;Mr. L&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-2623172476746835329?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/2623172476746835329/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=2623172476746835329' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/2623172476746835329'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/2623172476746835329'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2008/11/thurs-nov-20-time-to-clock-out.html' title='Thurs Nov 20: Time to Clock OUT!!!'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-951216750322315814</id><published>2008-11-18T08:13:00.001-08:00</published><updated>2008-11-18T08:17:14.724-08:00</updated><title type='text'>Tues Nov 18: kicking butt, taking names</title><content type='html'>Or words to that effect! Hello, and welcome back. Today, you will be allowed time to work on your individual projects again. Pleae make sure that you upload them to our "Depot" folder sometime before the end of class.&lt;br /&gt;&lt;br /&gt;Additionally, I would like each of you to think of a specific request for a technique you would like to master. Please do so in the form of a discussion post, and title it your name plus "basically requests". I will do my best to incorporate theese requests into the curriculum, so please be sure that your request are as precise and as specific as possible. Remember, when the great computer was asked the question "what is the meaning of life, the universe and everything?" it took a million years for it to come back with the answer "42"&lt;br /&gt;&lt;br /&gt;Nuff said!&lt;br /&gt;&lt;br /&gt;Mr. L&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-951216750322315814?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/951216750322315814/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=951216750322315814' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/951216750322315814'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/951216750322315814'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2008/11/tues-nov-18-kicking-butt-taking-names.html' title='Tues Nov 18: kicking butt, taking names'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-3733422483680168544</id><published>2008-11-16T06:26:00.000-08:00</published><updated>2008-11-17T05:39:10.783-08:00</updated><title type='text'>Mon Nov. 17: finishing up and moving on</title><content type='html'>Greetings, buccaneers of code,&lt;br /&gt;&lt;br /&gt;Today you will need to do things:&lt;br /&gt;&lt;br /&gt;A) Make absolutely sure that ALL the bugs have been worked out of your "Menus" mini-projects from last Friday. They should work as fully functioning webpage editors by now; when they do, please upload them to our folder on Box.net. Make sure they are named after yourself plus the word "menus"&lt;br /&gt;&lt;br /&gt;B) Continue working on your own projects. Pass them in as well at least 3 to 4 minutes before the end of the class.&lt;br /&gt;&lt;br /&gt;Cheers,&lt;br /&gt;Mr. L&lt;br /&gt;&lt;br /&gt;PS If you discover anything cool, please be sure to post a discussion on our Google group. If you have any long term difficulties, please be sure to email me at my gmail address.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-3733422483680168544?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/3733422483680168544/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=3733422483680168544' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/3733422483680168544'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/3733422483680168544'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2008/11/mon-nov-17-finishing-up-and-moving-on.html' title='Mon Nov. 17: finishing up and moving on'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-6363712850259589732</id><published>2008-11-11T13:18:00.001-08:00</published><updated>2008-11-14T04:47:30.313-08:00</updated><title type='text'>Fri Nov 14: part two</title><content type='html'>OK, so as you may have guessed, what we're going to try to do is to be able to open up a webpage in your textbox, where you can change it's code. Then, you can save the changes, THEN you can open up this new improved webpage in a webbrowser so you can see the differences.&lt;br /&gt;&lt;br /&gt;Now, here's the rest of the steps in how to do that:&lt;br /&gt;&lt;br /&gt;A) Add a label to the bottom of Form1, somewhere underneath the textbox. No need to rename this either&lt;br /&gt;&lt;br /&gt;B) Add this code to the "Open in Browser menu item code, just above the one line of code you already have there (ya know, the one that says Form2.visible = true)&lt;br /&gt;&lt;br /&gt;'set the value of the current file being worked on into this Label&lt;br /&gt;Label1.Text = theFileName&lt;br /&gt;'call the function in the module that makes use of the text value of this label&lt;br /&gt;'in assigning a URL to the webbrowser control in Form2&lt;br /&gt;ShowInBrowser( )&lt;br /&gt;&lt;br /&gt;C) Since we're going to be passing information from one form to another, it would easier to use a module. So, create a module by clicking on the "Project" menu, then clicking Add Module&lt;br /&gt;&lt;br /&gt;D) In this module, you will need to add a simple function that will receive the value of the text in that new label you made, and return it as a String variable to Form2. Here's how my function looks:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Public Function ShowInBrowser( ) As String&lt;br /&gt;Dim sendPageInfo As String&lt;br /&gt;sendPageInfo = Form1.Label1.Text&lt;br /&gt;Return sendPageInfo&lt;br /&gt;End Function&lt;br /&gt;&lt;br /&gt;E) Finally, you have to get into the code for the "Form Load" event for Form2. You should know how to get there already; when you do arrive, add this code to it:&lt;br /&gt;&lt;br /&gt;'show which webpage we're loading into the browser&lt;br /&gt;MsgBox(ShowInBrowser())&lt;br /&gt;'make the browser go to the webpage we want&lt;br /&gt;WebBrowser1.Navigate( New Uri(ShowInBrowser( ) ) )&lt;br /&gt;&lt;br /&gt;OK, that should do it. Compile, make sure you gots no errors, then run the program. You should be able to open a webpage in your textbox so that you only see its code, you can change that code, save the changes then observe the changes by opening it in a browser you made yourself!&lt;br /&gt;&lt;br /&gt;cheers,&lt;br /&gt;Mr. L&lt;br /&gt;&lt;br /&gt;PS If you need a webpage to play with, I uploaded one to the VBdepot folder on Box.net&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-6363712850259589732?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/6363712850259589732/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=6363712850259589732' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/6363712850259589732'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/6363712850259589732'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2008/11/fri-nov-14-part-two.html' title='Fri Nov 14: part two'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-9138401452608322150</id><published>2008-11-11T13:06:00.000-08:00</published><updated>2008-11-14T04:28:15.030-08:00</updated><title type='text'>Fri Nov 14: monkeying around with web pages and menus!</title><content type='html'>Hello all you kwazy kode monkeeeees,&lt;br /&gt;&lt;br /&gt;Today, before you work on your projects, you are going to add some more functionality to your "menus" project. Specifically, You are going to be able to open up WEBPAGES inside your textbox, mod their code then pop up the way the new webpage looks in another form which you will add to this lil project.&lt;br /&gt;&lt;br /&gt;Here's what to do:&lt;br /&gt;&lt;br /&gt;A) you will need to add an IF statement to your save menu item. It's to prevent saving files with no extensions and no filenames. Please place it BEFORE all the code you have in the SAVE menu item:&lt;br /&gt;&lt;br /&gt;If theFileName = "" Then&lt;br /&gt;SaveFileDialog1.Filter = "Text files (*.txt)*.txtweb pages (*.html)*.html"&lt;br /&gt;SaveFileDialog1.ShowDialog()&lt;br /&gt;theFileName = SaveFileDialog1.FileName&lt;br /&gt;End If&lt;br /&gt;&lt;br /&gt;B) notice how I have modified the "filter" so that you can see both text files and web pages when you are saving. You will also modify the filter found in the OPEN and SAVE AS menu items, in exactly the same way.&lt;br /&gt;&lt;br /&gt;C) Add a second form -- nope don't care if you rename this one&lt;br /&gt;&lt;br /&gt;D) Add a webbrowser control to this form -- also no need to rename this control&lt;br /&gt;&lt;br /&gt;E) get back into "Form1" and add this item to the file menu "Open in browser"&lt;br /&gt;&lt;br /&gt;F) Doubleclick on that new menu item, and add just this snippet of code:&lt;br /&gt;&lt;br /&gt;Form2.Visible = True&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;OK, so whatya got so far? Well, you have a new menu item that opens up a new form that has a web browser control on it. Also, we've chnaged the filters of all our menu items so they can see both text and web pages. Lets make sure it works before going on to the next step&lt;br /&gt;&lt;br /&gt;Cheers,&lt;br /&gt;&lt;br /&gt;Mr. L&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-9138401452608322150?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/9138401452608322150/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=9138401452608322150' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/9138401452608322150'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/9138401452608322150'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2008/11/fri-nov-14-monkeying-around-with-web.html' title='Fri Nov 14: monkeying around with web pages and menus!'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-349514955943124027</id><published>2008-11-11T12:48:00.000-08:00</published><updated>2008-11-12T08:29:33.341-08:00</updated><title type='text'>Wed Nov 12: Ok alright, quit yer bellyachin' here's the rest of the code!</title><content type='html'>Just add this stuff underneath the rest of the code in your SAVE AS menu item&lt;br /&gt;&lt;br /&gt;'dim another streamwriter variable&lt;br /&gt;Dim newWordWriter As System.IO.StreamWriter&lt;br /&gt;'make a new streamwriter and pass it the variable&lt;br /&gt;'thats equal to whatever the OpenFileDialog found&lt;br /&gt;newWordWriter = New System.IO.StreamWriter(theFileName)&lt;br /&gt;'set text of the textbox to all the stuff found by the reader&lt;br /&gt;newWordWriter.Write(MyWords.Text)&lt;br /&gt;'shut down the writer&lt;br /&gt;newWordWriter.Close( )&lt;br /&gt;&lt;br /&gt;Cheers,&lt;br /&gt;Mr. L&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-349514955943124027?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/349514955943124027/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=349514955943124027' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/349514955943124027'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/349514955943124027'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2008/11/wed-nov-12-ok-alright-quit-yer.html' title='Wed Nov 12: Ok alright, quit yer bellyachin&apos; here&apos;s the rest of the code!'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-7810124066678728620</id><published>2008-11-11T12:20:00.001-08:00</published><updated>2008-11-12T08:04:55.573-08:00</updated><title type='text'>Wed Nov 12: modifying the SAVE menu item, part two</title><content type='html'>OK, so now we know how to create and save files, open them, mod them then save them.&lt;br /&gt;&lt;br /&gt;NOW, it's time to be able to add a "Save As" menu item. Here's how you do it:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;A) goto your "Toolbox" at the left scroll down and find the "SAVEFILEDIALOG". drag it onto to the space at the bottom fo your form, the one that already has your menustrip and your OpenFileDialog. No need to rename this control, just leave it as SaveFileDialog1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;B) In your form, if you click once on the FILE menu header, you will see the whole list of menu items you've got&lt;br /&gt;&lt;br /&gt;C) at the bottom, you will see a thing that says "Type Here" that's where you type in "SAVE AS".&lt;br /&gt;&lt;br /&gt;D) Very carefully drag that item up above the EXIT and below the SAVE -- not that it really matters, but wouldn't it just bug the crap out of you if we left it there?&lt;br /&gt;&lt;br /&gt;E) doubleclick on that menu item to get into its code, and then add this code block:&lt;br /&gt;&lt;br /&gt;'this just gives a title to the dialog box&lt;br /&gt;SaveFileDialog1.Title = "Save a Text File As......."&lt;br /&gt;'this says what kind of file will be saved&lt;br /&gt;SaveFileDialog1.Filter = "Text Files*.txt"&lt;br /&gt;'this establishes that we are naming this thing the way it&lt;br /&gt;'was until we decide to name it something else&lt;br /&gt;SaveFileDialog1.FileName = theFileName&lt;br /&gt;'this opens the SaveDialog, so you can save the file with its new name&lt;br /&gt;SaveFileDialog1.ShowDialog( )&lt;br /&gt;'when you change the name of the file,&lt;br /&gt;'this changes the value of the variable&lt;br /&gt;'that way, the StreamWriter writes to the new file&lt;br /&gt;'not the original&lt;br /&gt;theFileName = SaveFileDialog1.FileName&lt;br /&gt;&lt;br /&gt;Cheers,&lt;br /&gt;Mr. L&lt;br /&gt;&lt;br /&gt;PS There's something missing at the end of this code. Try to guess what you might need to &lt;ahem&gt;copy and paste from somewhere else in your code.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-7810124066678728620?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/7810124066678728620/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=7810124066678728620' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/7810124066678728620'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/7810124066678728620'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2008/11/wed-nov-12-modifying-save-menu-item_11.html' title='Wed Nov 12: modifying the SAVE menu item, part two'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-676227842910569116</id><published>2008-11-11T12:14:00.000-08:00</published><updated>2008-11-12T07:28:06.933-08:00</updated><title type='text'>Wed Nov 12: modifying the SAVE menu item, part one</title><content type='html'>Hey there fellow coders!&lt;br /&gt;&lt;br /&gt;Here's how we can dramatically revamp your menu project, so that you can open an existing file, make some changes to it, then save the changes to that SAME file, in it's same location.&lt;br /&gt;&lt;br /&gt;Here's what you do:&lt;br /&gt;&lt;br /&gt;A) MOVE this line of code&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold"&gt;Dim theFileName As String&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;from the place its in now to just below "Public Class Form1"&lt;br /&gt;that way both the "Open" and "Save" menu items will be able to use it :-)&lt;br /&gt;&lt;br /&gt;B) rip out all that crap that we have in the current SAVE menu item code, and replace it with this:&lt;br /&gt;&lt;br /&gt;'dim a streamwriter variable&lt;br /&gt;Dim wordWriter As System.IO.StreamWriter&lt;br /&gt;'make a new streamwriter and pass it the variable&lt;br /&gt;'thats equal to whatever the OpenFileDialog found&lt;br /&gt;wordWriter = New System.IO.StreamWriter(theFileName)&lt;br /&gt;'set text of the textbox to all the stuff found by the reader&lt;br /&gt;wordWriter.Write(MyWords.Text)&lt;br /&gt;'shut down the writer&lt;br /&gt;wordWriter.Close( )&lt;br /&gt;&lt;br /&gt;I swear to GOD, it really is that simple! Let's make sue that all have it working, OK?&lt;br /&gt;&lt;br /&gt;Cheers,&lt;br /&gt;Mr. L&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-676227842910569116?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/676227842910569116/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=676227842910569116' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/676227842910569116'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/676227842910569116'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2008/11/wed-nov-12-modifying-save-menu-item.html' title='Wed Nov 12: modifying the SAVE menu item, part one'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-521557484794598226</id><published>2008-11-08T14:43:00.000-08:00</published><updated>2008-11-10T06:05:10.362-08:00</updated><title type='text'>Mon Nov. 10: more menu fun, Part The Third</title><content type='html'>OK, now its time to get serious: it's all well and good to FIND a file, but we want to load it into the textbox on our form. Otherwise, what's the point? So here's what we need to do that:&lt;br /&gt;&lt;br /&gt;a "reader" of some kind. We've already used file "writers" to create files and put stuff in them. This is kind of the same only in reverse. Here's what you gotta add to yer code:&lt;br /&gt;&lt;br /&gt;'dim a streamreader variable&lt;br /&gt;Dim wordReader As System.IO.StreamReader&lt;br /&gt;&lt;br /&gt;'make a new streamreader and pass it the variable&lt;br /&gt;'thats equal to whatever the OpenFileDialog found&lt;br /&gt;wordReader = New System.IO.StreamReader(theFileName)&lt;br /&gt;&lt;br /&gt;'set text of the textbox to all the stuff found by the reader&lt;br /&gt;MyWords.Text = wordReader.ReadToEnd&lt;br /&gt;&lt;br /&gt;'shut down the reader&lt;br /&gt;wordReader.Close( )&lt;br /&gt;&lt;br /&gt;OK, so lets see if you can use this to open a file inside your textbox. Try it out, and understand that it will ONLY look for "Notepad" type files.&lt;br /&gt;&lt;br /&gt;As you can see, I have extensively COMMENTED my code, so its pretty darned obvious what the heck all this stuff is for. Ahem!! And btw, I have a final message to Mr. Octopus, Mr. Crab, Mr. StarFish, Mr. Sponge, etc etc etc: you got ZERO credit for the commenting assignment. I don't have the time to figure out who those names are supposed to mean&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Cheers,&lt;br /&gt;Mr. L&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-521557484794598226?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/521557484794598226/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=521557484794598226' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/521557484794598226'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/521557484794598226'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2008/11/mon-nov-10-more-menu-fun-part-third.html' title='Mon Nov. 10: more menu fun, Part The Third'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-534837353512060933</id><published>2008-11-08T14:39:00.000-08:00</published><updated>2008-11-10T06:00:22.557-08:00</updated><title type='text'>Mon Nov. 10: more menu fun, Part The Second</title><content type='html'>OK, now you've got a FileOpen thing going on, but it doesn't do very much. So let's remedy that: let's make it so it can find a file, and when you click on it, a Message box pops up that says the name of the file and where it is located. Add this code just BELOW where the other code went.&lt;br /&gt;&lt;br /&gt;'this allows you to create a filename based on what you've chosen&lt;br /&gt;Dim theFileName As String&lt;br /&gt;theFileName = OpenFileDialog1.FileName&lt;br /&gt;MsgBox(theFileName)&lt;br /&gt;&lt;br /&gt;All this code does is make a String variable (useful for words and text and such) and then sets that variable equal to whatever is chosen in the OpenFile thingy. Then, it passes this to a MsgBox, which pops up to tell you what you've chosen&lt;br /&gt;&lt;br /&gt;Make sure this works, then we will move on to the third and final installment&lt;br /&gt;&lt;br /&gt;Cheers,&lt;br /&gt;Mr. L&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-534837353512060933?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/534837353512060933/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=534837353512060933' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/534837353512060933'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/534837353512060933'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2008/11/mon-nov-10-more-menu-fun-part-second.html' title='Mon Nov. 10: more menu fun, Part The Second'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-8839525885412301452</id><published>2008-11-08T14:29:00.000-08:00</published><updated>2008-11-10T05:01:36.793-08:00</updated><title type='text'>Mon Nov. 10: more menu fun, Part The First</title><content type='html'>Gr33tings krazy k0d3 m0nk3yz!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Today, we will be working with menu stuff again BEFORE you get to work on your projects. So open up that menu project you have stored somewhere in your vast archive of programming fun, and let's get started!&lt;br /&gt;&lt;br /&gt;OK, ready? Here's the first you have to do:&lt;br /&gt;&lt;br /&gt;A) You already have a thing called a menustrip at the bottom of your form. You are going to drag an "OpenFileDialog" thingamabob next to it. Just scroll down the list of controls at left and you should see it in there somewhere.&lt;br /&gt;&lt;br /&gt;B) Now you will have to connect this new control to an item on your menu. There's an "Open" menuitem available so doubleclick on it to get into its code&lt;br /&gt;&lt;br /&gt;C) We're going to do this a piece at a time, so let's start with some very simple things. Type in this following code:&lt;br /&gt;&lt;br /&gt;'this says where you start&lt;br /&gt;OpenFileDialog1.InitialDirectory = "C:\"&lt;br /&gt;'this just gives a title to the dialog box&lt;br /&gt;OpenFileDialog1.Title = "Open a Text File"&lt;br /&gt;'this says which kind of files to look for&lt;br /&gt;OpenFileDialog1.Filter = "Text Files*.txt"&lt;br /&gt;'this opens a fileDialog, so you can go looking for files&lt;br /&gt;OpenFileDialog1.ShowDialog( )&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Basically (hahaha Ryan) this code makes a FileOpen dialog box pop up when you click on the Open menuitem. It will start in the main directory of your hard drive, and it will ONLY look for text files. Plus, it will have a cool title that says its only looking for text files. Try it and see what you get!&lt;br /&gt;&lt;br /&gt;Cheers,&lt;br /&gt;Mr. L&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-8839525885412301452?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/8839525885412301452/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=8839525885412301452' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/8839525885412301452'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/8839525885412301452'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2008/11/mon-nov-10-more-menu-fun-part-first.html' title='Mon Nov. 10: more menu fun, Part The First'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-2963112063842932998</id><published>2008-11-06T04:50:00.000-08:00</published><updated>2008-11-06T09:17:13.456-08:00</updated><title type='text'>Thurs Nov 6: Whose Line Is It Anyway?</title><content type='html'>Greetings VB code monkeys!&lt;br /&gt;&lt;br /&gt;Today you will be looking over the code of (most) of your classmates, and rating each one based on it's "ease of translation". By this I mean two things:&lt;br /&gt;&lt;br /&gt;A) &lt;span style="FONT-WEIGHT: bold"&gt;How well is it commented?&lt;/span&gt; Has the author of this particular program made enough notes about what is going on in their program for you, a fellow programmer, to be able to figure out what they are doing now, and what they are going to TRY to do in the future.&lt;br /&gt;&lt;br /&gt;B) &lt;span style="FONT-WEIGHT: bold"&gt;How easy is it to "read" this program?&lt;/span&gt; Even beyond the commenting, is the code set up so that it is easier for you to figure out what they mean to do with this program? Have they re-named their controls with descriptive words that tell you what each thing is for? Have they divided up their program among different forms, and made use of modules, such that it seems that this program would not only be easy for you a fellow programmer to debug, but for the average person to use?&lt;br /&gt;&lt;br /&gt;I will need you to post a discussion on our Google group where you will write at least two complete sentences about each program. Please list the name of the program -- PROGRAM1, PROGRAM2, etc etc -- followed by those descriptive complete sentences. At the end of each one, assign a rating from 1 to 5, with 1 being "what the heck was THAT? It's completely unreadable!" to 5 being "D--n you're good, I envy you, you complete show off!"&lt;br /&gt;&lt;br /&gt;Additionally, I wish for you to make one constructive suggestion OR ask one specific question about each program. This should be done at the very end of your discussion posting.&lt;br /&gt;&lt;br /&gt;When you are done with this, please continue on with your project work&lt;br /&gt;&lt;br /&gt;Cheers,&lt;br /&gt;Mr. L&lt;br /&gt;&lt;br /&gt;PS Here is the address of the folder where you will find these code sheets:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.box.net/shared/rsoath5sk8"&gt;http://www.box.net/shared/rsoath5sk8&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-2963112063842932998?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/2963112063842932998/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=2963112063842932998' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/2963112063842932998'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/2963112063842932998'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2008/11/thurs-nov-6-whose-line-is-it-anyway.html' title='Thurs Nov 6: Whose Line Is It Anyway?'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-8694608701010825570</id><published>2008-11-05T06:14:00.000-08:00</published><updated>2008-11-05T06:18:51.790-08:00</updated><title type='text'>Wed Nov 5: Before we begin....</title><content type='html'>Before we begin, I need each of you to do the following:&lt;br /&gt;&lt;br /&gt;A) Open up your projects&lt;br /&gt;&lt;br /&gt;B) Oen up WORD&lt;br /&gt;&lt;br /&gt;C) Save this Word document with your name followed by the phrase "My Code"&lt;br /&gt;&lt;br /&gt;D) Put your name at the very top of this document&lt;br /&gt;&lt;br /&gt;E) Very carefully copy ALL the code for your program into this word document, one form at a time. Before sure to include ALL your code, including all comments you have made in it, EVEN IF THE CODE DOES NOT ALWAYS WORK&lt;br /&gt;&lt;br /&gt;F) Also, be sure to include all your code, from ALL your forms and your module if you have one&lt;br /&gt;&lt;br /&gt;G) When you are done with this, please upload this WORD doucment to the VBDEPOT folder on BOX.NET   When I get them all then we may proceed to the next thing we are doing&lt;br /&gt;&lt;br /&gt;Cheers,&lt;br /&gt;&lt;br /&gt;Mr. L&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-8694608701010825570?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/8694608701010825570/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=8694608701010825570' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/8694608701010825570'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/8694608701010825570'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2008/11/wed-nov-5-before-we-begin.html' title='Wed Nov 5: Before we begin....'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-7381788154955405612</id><published>2008-11-02T16:06:00.000-08:00</published><updated>2008-11-03T04:50:03.404-08:00</updated><title type='text'>Nov 3: more work with functions and modules</title><content type='html'>Hey there again!&lt;br /&gt;&lt;br /&gt;Now that you kinda sorta know how to call a function and then make it do somethign, lets see about calling a function that will call many functions, each of which does something different. Here is what to do:&lt;br /&gt;&lt;br /&gt;A) get back into your module and add the following code:&lt;br /&gt;&lt;br /&gt;Public Function CallAllRandoms( ) As Integer&lt;br /&gt;Random1( )&lt;br /&gt;Random2( )&lt;br /&gt;Random3( )&lt;br /&gt;Random4( )&lt;br /&gt;Random5( )&lt;br /&gt;End Function&lt;br /&gt;&lt;br /&gt;Public Function Random1( ) As Integer&lt;br /&gt;Dim q As Integer&lt;br /&gt;q = Int(Rnd( ) * 5)&lt;br /&gt;Return q&lt;br /&gt;End Function&lt;br /&gt;&lt;br /&gt;Public Function Random2( ) As Integer&lt;br /&gt;Dim z As Integer&lt;br /&gt;z = Int(Rnd( ) * 5)&lt;br /&gt;Return z&lt;br /&gt;End Function&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;B) get back into form1, and then doubleclick the button that says "Call Many Functions", and add this code to it:&lt;br /&gt;&lt;br /&gt;CallAllRandoms()&lt;br /&gt;Label1.Text = Random1( )&lt;br /&gt;Label2.Text = Random2( )&lt;br /&gt;&lt;br /&gt;Cheers,&lt;br /&gt;Mr. L&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-7381788154955405612?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/7381788154955405612/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=7381788154955405612' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/7381788154955405612'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/7381788154955405612'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2008/11/nov-3-more-work-with-functions-and.html' title='Nov 3: more work with functions and modules'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-4237910451364756016</id><published>2008-11-02T14:42:00.000-08:00</published><updated>2008-11-02T16:05:59.951-08:00</updated><title type='text'>Mon Nov. 3: Using Modules</title><content type='html'>Hey there hi there ho there,&lt;br /&gt;&lt;br /&gt;Today, before you get onto working with your projects some more, you will need to do three things: &lt;br /&gt;A) Create a module&lt;br /&gt;B) Create a function&lt;br /&gt;C) connect a button to some functions and make it do stuff!&lt;br /&gt;&lt;br /&gt;Oh, OK, so you wanna actually KNOW what those two things are? Well, let's start with the second one. A function is just some code that makes things happen. It's kind of like the events that we've been using, events like "keydown" or "buttonclick"EXCEPTTTTTTTTTT that functions don't belong to any particular control. they can just kind of sit around all by themselves and wait to be used by any control you say that they should be used by. Which brings us to:&lt;br /&gt;&lt;br /&gt;MODULES. A module is just a place where you can store functions. These functions can be called by any control or any form within your program.&lt;br /&gt;&lt;br /&gt;Alllllllllllllllllllllllllllllllllllllllllll RIGHTY then, let's launch into this shall we?&lt;br /&gt;&lt;br /&gt;What to do&lt;br /&gt;&lt;br /&gt;A) start up a new project, and name it after yourself, plus the word "functions"&lt;br /&gt;&lt;br /&gt;B) In "Form1" please create two buttons and five labels. Replace the text of one button with this text "MessageBox Function"&lt;br /&gt;&lt;br /&gt;C) Replace the text of the other button with this "Call Many functions"&lt;br /&gt;&lt;br /&gt;D) Create a module by clicking on the Project menu, then clicking "Add Module". This will add a tab called "Module1.vb" at the top of your form.&lt;br /&gt;&lt;br /&gt;E) Click on that tab if necessary, and add this code right below where it says "Module Module 1"&lt;br /&gt;&lt;br /&gt;Public Function AddRandom() As Integer  'declaring a function  that adds integers&lt;br /&gt;       Dim x, y As Integer&lt;br /&gt;        'declaring two integers and assigning values to them&lt;br /&gt;        x = Int(Rnd( ) * 10)   ' a random number&lt;br /&gt;        y = Int(Rnd( ) * 20)   'another random number&lt;br /&gt;       'adding two integers and return the value&lt;br /&gt;        Return (x + y)&lt;br /&gt;        End Function&lt;br /&gt;&lt;br /&gt;F) Get back into the main form, and doubleclick on the button that says "MessageBox Function"&lt;br /&gt;&lt;br /&gt;G) add this to its code:&lt;br /&gt; MsgBox(AddRandom())&lt;br /&gt;&lt;br /&gt;Run the program to make sure it works. When everyone is set, I will pass out the code sheets to make a function that calls other functions.&lt;br /&gt;&lt;br /&gt;When everyone is done with that, you will upload this new program to the "VBdepot" folder on Box.net, and then proceed to working with your projects&lt;br /&gt;&lt;br /&gt;Cheers,&lt;br /&gt;Mr. L&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-4237910451364756016?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/4237910451364756016/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=4237910451364756016' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/4237910451364756016'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/4237910451364756016'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2008/11/mon-nov-3-using-modules.html' title='Mon Nov. 3: Using Modules'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-8809723708692752526</id><published>2008-10-29T17:29:00.000-07:00</published><updated>2008-10-29T18:05:55.366-07:00</updated><title type='text'>Thurs, Oct. 30: Yet more work with menus</title><content type='html'>Greetings and salutations, VB coders!&lt;br /&gt;&lt;br /&gt;Today, before you begin work on your projects, I would like to be able to extend the reach of your menus. So, without any further ado --not that there was any &lt;span style="font-style: italic; font-weight: bold;"&gt;previous &lt;/span&gt;ado-- let's open up the "Menus" project we made the other day, and add two controls to it.&lt;br /&gt;&lt;br /&gt;The first control is called an "OpenFileDialog"; just drag it onto the bottom of your "Menus" form, next to the menustrip you placed there the other day. In its properties sheet, rename it "OpenSaysMe"&lt;br /&gt;&lt;br /&gt;The other control is a "SaveFileDialog" --yup, Microsoft went all out making creative names for these controls -- drag it next to the OpenFileDialog, and rename it "SaveIt"&lt;br /&gt;&lt;br /&gt;Once you've done that, you will want to get into the code to Open files by doubleclicking on the Open command in your menu list. Then, add in this code:&lt;br /&gt;&lt;br /&gt;  &lt;span style="color: rgb(51, 255, 51); font-weight: bold;"&gt; 'THIS IS WHERE WE OPEN A FILE AND PUT THE STUFF INTO OUR TEXTBOX&lt;/span&gt;&lt;br /&gt;       &lt;span style="font-weight: bold;"&gt; 'OpenSaysMe is the name of the FileOpenDialog&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;        OpenSaysMe.Title = "Go Get 'em!"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;       &lt;span style="color: rgb(51, 255, 51);"&gt; 'start inside the folder for your project&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="color: rgb(51, 255, 51);"&gt; &lt;/span&gt;      &lt;br /&gt;        OpenSaysMe.InitialDirectory = saveFolder &lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;        OpenSaysMe.ShowDialog() &lt;span style="color: rgb(51, 255, 51);"&gt; 'open up the control to browse for files&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;        Dim theFileIwant As String&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;        theFileIwant = OpenSaysMe.FileName&lt;br /&gt;     &lt;span style="color: rgb(102, 255, 153);"&gt;  &lt;span style="color: rgb(51, 255, 51);"&gt; 'set the string to whatever file you chose&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 255, 51);"&gt;        'make a filereader that will use the file you chose        &lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;        Dim objReader As New StreamReader(theFileIwant) &lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;        MyWords.Text = objReader.ReadToEnd &lt;span style="color: rgb(51, 255, 51);"&gt;'put the text of file into textbox&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;        objReader.Close() &lt;span style="color: rgb(51, 255, 51);"&gt;'stop reading&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;OK, once you've done that, make sure you save your work, then run the program to make sure you can actually use this to use the "Open" menu command to open up files and then put their contents into a textbox. Please be careful to open up only files with actual, words in them!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Cheers,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Mr. L&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;PS, If you run into any difficulties, the first thing I would look at would be the Import statement at the top of your code. If need be, please add this import line:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Imports System.IO  &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;PPS There will be another post soon which coughs up the code for maiking the Save menu work too; be looking for it!&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-8809723708692752526?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/8809723708692752526/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=8809723708692752526' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/8809723708692752526'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/8809723708692752526'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2008/10/thurs-oct-30-yet-more-work-with-menus.html' title='Thurs, Oct. 30: Yet more work with menus'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-1158820284532512319</id><published>2008-10-26T13:04:00.000-07:00</published><updated>2008-10-27T07:17:52.413-07:00</updated><title type='text'>Mon October 27: More fun with menus, more work on your projects!</title><content type='html'>Greetings, VB code monkeys!&lt;br /&gt;&lt;br /&gt;Today, we will do three things; but only after you make a small teeny change to your menu codes (I will let you know what it is):&lt;br /&gt;&lt;br /&gt;A) Each of you will make a group discussion posting consisting of at least one paragraph of three complete sentences each. Name the discussion posting after yourself + the name of your project. This discussion posting will need to include a brief discussion of what the project is supposed to do, and what it currently is able to do. Also, if you have run across any difficulties, please include that as part of your post&lt;br /&gt;&lt;br /&gt;B) Each of you is required to comment on at least two of the other discussion postings. Extra credit will be awarded for making truly helpful suggestions to your classmates as part of your comments. By helpful, I do not mean posting the equivalent of "man, you should really try not to have your project suck". Try to offer specific guidance, if you can.&lt;br /&gt;&lt;br /&gt;btw, there is no real limit to the amount of extra credit you can get for offering assistance to your fellow coders&lt;br /&gt;&lt;br /&gt;C) Work on your projects, and upload them before the end of the class&lt;br /&gt;&lt;br /&gt;Cheers,&lt;br /&gt;Mr. L&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-1158820284532512319?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/1158820284532512319/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=1158820284532512319' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/1158820284532512319'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/1158820284532512319'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2008/10/mon-october-27-more-fun-with-menus-more.html' title='Mon October 27: More fun with menus, more work on your projects!'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-278616031066580764</id><published>2008-10-23T17:44:00.000-07:00</published><updated>2008-10-24T07:01:01.152-07:00</updated><title type='text'>Fri Oct 24: yet more fun with menus</title><content type='html'>&lt;p class="MsoNormal"&gt;More code to add to your menu:&lt;/p&gt;&lt;br /&gt;&lt;p class="MsoNormal"&gt;&lt;?xml:namespace prefix = o /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;br /&gt;&lt;p class="MsoNormal"&gt;First, add this code to THE VERY TOP of your code sheet, above where it says “Public Form1”&lt;/p&gt;&lt;br /&gt;&lt;p class="MsoNormal"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;br /&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:'Courier New';font-size:10;color:blue;"&gt;Imports&lt;/span&gt;&lt;span style="font-family:'Courier New';font-size:10;"&gt; System.IO.File&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:'Courier New';font-size:10;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p class="MsoNormal"&gt;If you recall from our “Crypto” program, this allows you to create and save files in VB&lt;/p&gt;&lt;br /&gt;&lt;p class="MsoNormal"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;br /&gt;&lt;p class="MsoNormal"&gt;Next, just beneath “Public Form1’ create the following variable:&lt;/p&gt;&lt;br /&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:'Courier New';font-size:10;color:blue;"&gt;Dim&lt;/span&gt;&lt;span style="font-family:'Courier New';font-size:10;"&gt; saveFolder &lt;span style="color:blue;"&gt;As&lt;/span&gt; &lt;span style="color:blue;"&gt;String&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:'Courier New';font-size:10;color:blue;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p class="MsoNormal"&gt;Next, give this variable a value in “Form Load”, something like this:&lt;/p&gt;&lt;br /&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:'Courier New';font-size:10;color:maroon;"&gt;"C:\Documents and Settings\Paul\My Documents\Visual Studio 2005\Projects\PaulLaRueMenus\"&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p class="MsoNormal"&gt;It’s the pathname for a folder; your pathname will be different, since you are not me &lt;/p&gt;&lt;br /&gt;&lt;p class="MsoNormal"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;br /&gt;&lt;p class="MsoNormal"&gt;Finally, doubleclick on the SAVE command, and then add this code to it:&lt;/p&gt;&lt;br /&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:'Courier New';font-size:10;color:blue;"&gt;Dim&lt;/span&gt;&lt;span style="font-family:'Courier New';font-size:10;"&gt; myFile &lt;span style="color:blue;"&gt;As&lt;/span&gt; System.IO.File&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;&lt;span style="font-family:'Courier New';font-size:10;color:green;"&gt;'create a file writer&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;&lt;span style="font-family:'Courier New';font-size:10;color:blue;"&gt;Dim&lt;/span&gt;&lt;span style="font-family:'Courier New';font-size:10;"&gt; myWrite &lt;span style="color:blue;"&gt;As&lt;/span&gt; System.IO.StreamWriter&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;&lt;span style="font-family:'Courier New';font-size:10;color:green;"&gt;'set the folder and name of file where contents of textbox will be written&lt;/span&gt;&lt;span style="font-family:'Courier New';font-size:10;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;&lt;span style="font-family:'Courier New';font-size:10;"&gt;myWrite = IO.File.CreateText(saveFolder &amp;amp; &lt;span style="color:maroon;"&gt;"My Words.doc"&lt;/span&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;&lt;span style="font-family:'Courier New';font-size:10;color:green;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;&lt;span style="font-family:'Courier New';font-size:10;color:green;"&gt;'write the contents of your textbox to a file&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;&lt;span style="font-family:'Courier New';font-size:10;"&gt;myWrite.WriteLine(MyWords.Text)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;&lt;span style="font-family:'Courier New';font-size:10;color:green;"&gt;'closes the file no more writing to it&lt;/span&gt;&lt;span style="font-family:'Courier New';font-size:10;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;&lt;span style="font-family:'Courier New';font-size:10;"&gt;myWrite.Close() &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;br /&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;Now, SAVE your work, then run the program and see if you can save a text file from the text you type in your textbox&lt;/p&gt;&lt;br /&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;br /&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;Cheers,&lt;/p&gt;&lt;br /&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;Mr. L&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-278616031066580764?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/278616031066580764/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=278616031066580764' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/278616031066580764'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/278616031066580764'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2008/10/fri-oct-24-yet-more-fun-with-menus.html' title='Fri Oct 24: yet more fun with menus'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-1293451038553999218</id><published>2008-10-23T16:06:00.000-07:00</published><updated>2008-10-24T05:56:02.500-07:00</updated><title type='text'>Friday October 24: fun with menus</title><content type='html'>Greetings, and yes, it's good to be back. Today we will work towards accomplishing two goals:&lt;br /&gt;&lt;br /&gt;A) using menus in your VB applications&lt;br /&gt;&lt;br /&gt;B) working on your projects&lt;br /&gt;&lt;br /&gt;and btw, you need to pass in both these items today before the class is done!&lt;br /&gt;&lt;br /&gt;Anyway, lets get going with menus. The first step is to start a new VB project, and name it after yourself plus the word "menus".&lt;br /&gt;&lt;br /&gt;Next, scroll down in the list of controls at the left and drag a "MenuStrip" onto your form. It doesn't matter where, since its just a container, and the real guts of it will always go up at the top of the form&lt;br /&gt;&lt;br /&gt;Next, go up top to where those "guts" are; it will say "TYPE HERE" click there, and type the word "FILE" then hit the Enter key&lt;br /&gt;&lt;br /&gt;Repeat this process four more times, adding the following menu items:&lt;br /&gt;NEW&lt;br /&gt;OPEN&lt;br /&gt;SAVE&lt;br /&gt;EXIT&lt;br /&gt;&lt;br /&gt;Save your work, then run the program to make sure your new menu looks OK. You should be able to click on all of the menu items, but they won't do anything....yet!&lt;br /&gt;&lt;br /&gt;OK, now to make one of your menu items actually do something. Doubleclick on the "EXIT" menuitem to get into it's code, then type in this code:&lt;br /&gt;&lt;br /&gt;Me.Close( )&lt;br /&gt;&lt;br /&gt;Save, then run the program. See if the EXIT command now brings you out of the program.&lt;br /&gt;&lt;br /&gt;Does it work? Cool! OK, let's do one last thing: Add a textbox to your form, re-size it so that it takes up most of the form. In the Properties sheet at the right, rename the textbox to "MyWords" and set its "Multi-line" value to TRUE. When you're ready, I have some very interesting code for you&lt;br /&gt;&lt;br /&gt;Cheers,&lt;br /&gt;Mr. L&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-1293451038553999218?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/1293451038553999218/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=1293451038553999218' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/1293451038553999218'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/1293451038553999218'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2008/10/friday-october-24-fun-with-menus.html' title='Friday October 24: fun with menus'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-6066718472094184580</id><published>2008-10-22T17:35:00.000-07:00</published><updated>2008-10-23T02:33:28.308-07:00</updated><title type='text'>Thurs, Oct 23: How to properly zip and upload</title><content type='html'>Greetings, esteemed colleagues in code!&lt;br /&gt;&lt;br /&gt;Today, before you get to work on your projects, I would like to take this opportunity to remind you of the importance of HANDING YOUR WORK IN ON TIME. Some of you have already lost points for not bothering to upload as I have demonstrated and as I have insisted that you do.&lt;br /&gt;&lt;br /&gt;I believe this to be so important that I am including a series of instructions on how to upload your Projects:&lt;br /&gt;&lt;br /&gt;A)  After working on your project, notice that it is about 5 to 10 minutes before the end of the period&lt;br /&gt;&lt;br /&gt;B) Save all your work, then close Visual Basic&lt;br /&gt;&lt;br /&gt;C) Get into your "Projects" folder by going to "My Documents", then Visual Studio 2005, then into the Projects folder&lt;br /&gt;&lt;br /&gt;D) Inside this main Projects folder, you should see many other folders, including the one which contains your current project&lt;br /&gt;&lt;br /&gt;E) Create a new Winzip file next to this current project folder by right clicking in a blank space, then going to NEW then Winzip&lt;br /&gt;&lt;br /&gt;F) Rename this Winzip file so that the filename includes your name, the name of your project and todays date as  a number; for example "PaulLaRueMissionRisk1023"&lt;br /&gt;&lt;br /&gt;G) Drag your current project folder onto this winzip file, then click the Add button&lt;br /&gt;&lt;br /&gt;H) Get online and go to your shared "VBDepot" folder on Box.net. Upload the zip file you created&lt;br /&gt;&lt;br /&gt;It's really that simple. From now on, do it before the end of EVERY CLASS.&lt;br /&gt;&lt;br /&gt;Cheers,&lt;br /&gt;Mr. L&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-6066718472094184580?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/6066718472094184580/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=6066718472094184580' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/6066718472094184580'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/6066718472094184580'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2008/10/thurs-oct-23-how-to-properly-zip-and.html' title='Thurs, Oct 23: How to properly zip and upload'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-2666634788083862175</id><published>2008-10-21T07:15:00.000-07:00</published><updated>2008-10-21T07:21:15.970-07:00</updated><title type='text'>Tuesday Oct 21: more project work, and commenting, and not dying of heat exhaustion</title><content type='html'>Greeting esteemed coders in the Microsoft tradition&lt;br /&gt;&lt;br /&gt;If you please, today I would like to do three things with you:&lt;br /&gt;&lt;br /&gt;A) Make sure that you have commented the relevant parts of your program, including the comments at the very top if your program has been modified. (This way if you've slacked off on commenting, I will never know the difference!)&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#33ff33;"&gt;'Commenting is important, and will be important in your near future&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;B) Continue working on your projects, and make sure to hand them in before the end of class&lt;br /&gt;&lt;br /&gt;C) Try not to wilt from the heat....apparently, they're trying to make sure we're snug and cozy up here. What I wish they would realize is that in cyberspace, the best warriors are COLD warriors.&lt;br /&gt;&lt;br /&gt;Cheers,&lt;br /&gt;Mr. L&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-2666634788083862175?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/2666634788083862175/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=2666634788083862175' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/2666634788083862175'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/2666634788083862175'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2008/10/tuesday-oct-21-more-project-work-and.html' title='Tuesday Oct 21: more project work, and commenting, and not dying of heat exhaustion'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-6477926109978305397</id><published>2008-10-19T16:02:00.000-07:00</published><updated>2008-10-20T03:57:31.781-07:00</updated><title type='text'>Mon Oct 20: help files and the web browser control</title><content type='html'>&lt;font style="font-weight: bold; color: rgb(102, 51, 255);" size="4"&gt;Greetings VB coders!&lt;br /&gt;&lt;br /&gt;and welcome back from your weekend! Today, before you work on your projects, I want to demonstrate to you how to use a RIDICULOUSLY simple control that has many uses: the web browser control. Here's what you will do:&lt;br /&gt;&lt;br /&gt;A) start a new project and name it after yourself plus the letters "WWW"&lt;br /&gt;&lt;br /&gt;B) in the form that opens up, drag onto it a button, a textbox and a "webbrowser" control. This last is waaaaaaaayyy down towards the bottom of your list of controls&lt;br /&gt;&lt;br /&gt;C) Doubleclick on the button to get into its code&lt;br /&gt;&lt;br /&gt;D) Type in the name of your webbrowser control -- most likely it's called "Webbrowser1"&lt;br /&gt;&lt;br /&gt;E) type in the period "." This will bring up a list of stuff you can do with this control, including -- oh please, just let it come -- "Navigate"&lt;br /&gt;&lt;br /&gt;F) Next, type an opening parenthesis "(", then type in the name of the Textbox, which is probably going to be "TextBox1"&lt;br /&gt;&lt;br /&gt;G) Type in the "." again, then choose "Text"&lt;br /&gt;&lt;br /&gt;OK, that ought to do it. Run the program, and then type a website address in the textbox, then hit the button; the chosen website should appear in the webbrowser control&lt;br /&gt;&lt;br /&gt;SO, what is this control good for? Well for one, it's cool all by itself. More specifically, you can set up some online help, or even offline help in the form of a webpage that goes with your program. It's a lot easier to pack useful information like that in this format, and be able to call it up from your program in this fashion.&lt;br /&gt;&lt;br /&gt;OK, enough preaching: be sure to upload this very small and easy to make project to our "Depot" folder. Then, work on your own project some more, and upload that too before the end of the period.&lt;br /&gt;&lt;br /&gt;Cheers,&lt;br /&gt;&lt;br /&gt;Mr. L&lt;/font&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-6477926109978305397?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/6477926109978305397/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=6477926109978305397' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/6477926109978305397'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/6477926109978305397'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2008/10/mon-oct-20-help-files-and-web-browser.html' title='Mon Oct 20: help files and the web browser control'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-2918128493655121904</id><published>2008-10-15T06:10:00.000-07:00</published><updated>2008-10-15T06:19:26.923-07:00</updated><title type='text'>Wed October 15: I need your projects NOW and at the END of the class too!</title><content type='html'>&lt;strong&gt;&lt;span style="font-size:130%;color:#ff0000;"&gt;Greetings VB coders!&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size:130%;color:#ff0000;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size:130%;color:#ff0000;"&gt;Today, before you do anything, you need to UPLOAD the project you are working on. You were supposed to do this yesterday; here are the names of the people who actually did that:&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size:130%;color:#ff0000;"&gt;Erik Johnson&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size:130%;color:#ff0000;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size:130%;color:#ff0000;"&gt;Callum Bushe &amp;amp; Jacob Mokler&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size:130%;color:#ff0000;"&gt;Evan Kollmeyer &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size:130%;color:#ff0000;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size:130%;color:#ff0000;"&gt;The rest of you need to upload your projects NOW&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size:130%;color:#ff0000;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size:130%;color:#ff0000;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size:130%;color:#ff0000;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size:130%;color:#ff0000;"&gt;Once you are done with that, you have the entire class to work on this project -- again (Two whole days in a row -- whoo hoo!!)&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size:130%;color:#ff0000;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size:130%;color:#ff0000;"&gt;Five minutes before the class ends, upload this file as well&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size:130%;color:#ff0000;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size:130%;color:#ff0000;"&gt;Cheers,&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size:130%;color:#ff0000;"&gt;Mr. L&lt;/span&gt;&lt;/strong&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-2918128493655121904?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/2918128493655121904/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=2918128493655121904' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/2918128493655121904'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/2918128493655121904'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2008/10/wed-october-15-i-need-your-projects-now.html' title='Wed October 15: I need your projects NOW and at the END of the class too!'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-8772445211120935691</id><published>2008-10-13T16:16:00.000-07:00</published><updated>2008-10-14T04:20:49.343-07:00</updated><title type='text'>Tues October 14 Comments: not just for breakfast anymore.</title><content type='html'>&lt;strong&gt;&lt;span style="font-size:130%;"&gt;OK, seeing as how it's our first day together in a long, long time, and seeing as you haven't had as much time to work on your projects as any of us would have liked, that's what you have to do today: work on your projects. And the very first thing you are going to need to do, before you write another line of code, is to do this:&lt;br /&gt;&lt;br /&gt;TELL ME WHAT YOUR PROGRAM IS ALL ABOUT&lt;br /&gt;&lt;br /&gt;and here's the particulars:&lt;br /&gt;&lt;br /&gt;A) I want you to do this telling as a block of comments at the very top of your program&lt;br /&gt;&lt;br /&gt;B) The easiest way to make a comment is to put a ' at the beginning of each comment line. It's kind of liking putting // at the beginning of each line in a JAVA program or REM at the beginning of each line in Qbasic.&lt;br /&gt;&lt;br /&gt;C) Your comments will have to include at least four different things this program will be able to do when you are done, and it should also list the components -- buttons, labels, textboxes etc-- you plan on using and how these components will interact with the code you are writing.&lt;br /&gt;&lt;br /&gt;D) You will need to put a date at the very beginning of your comments, as well as the author name or names -- in other words, who is creating this thing?&lt;br /&gt;&lt;br /&gt;When you are done with that, you have the rest of the class, except for the last five minutes, to work on your project.&lt;br /&gt;&lt;br /&gt;When it is five minutes 'til the end of the class, you will need to make a zip file, name it after yourself plus the word "Project" plus today's date.&lt;br /&gt;&lt;br /&gt;Upload that zip file to our account at BOX.net&lt;br /&gt;&lt;br /&gt;Cheers,&lt;br /&gt;Mr. L&lt;/span&gt;&lt;/strong&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-8772445211120935691?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/8772445211120935691/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=8772445211120935691' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/8772445211120935691'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/8772445211120935691'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2008/10/tues-october-14-comments-not-just-for.html' title='Tues October 14 Comments: not just for breakfast anymore.'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-5318646136256724768</id><published>2008-10-07T17:16:00.000-07:00</published><updated>2008-10-07T17:22:43.958-07:00</updated><title type='text'>Wed October 8: File creation and for loops</title><content type='html'>Greetings, invincible ones!&lt;br /&gt;&lt;br /&gt;Today we will be accomplishing two distinct goals&lt;br /&gt;&lt;br /&gt;A) You will continue to work on your ongoing projects....but FIRST&lt;br /&gt;&lt;br /&gt;B) I will demonstrate to you how easy it is to create, save and write to files in Visual Basic. We will create our first "General Declaration", in which we import some code that's already pre-written in the VB language. This code will allow us to do the work with files&lt;br /&gt;&lt;br /&gt;We will also use a "for loop" to take all the stuff in your array -- meaning all the letters-- and write it to your file, one line at a time. I'll explain a little more about exactly what a loop is and how it works at that time&lt;br /&gt;&lt;br /&gt;btw, this time, I have handouts :-)&lt;br /&gt;&lt;br /&gt;Cheers,&lt;br /&gt;Mr. L&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-5318646136256724768?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/5318646136256724768/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=5318646136256724768' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/5318646136256724768'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/5318646136256724768'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2008/10/wed-october-8-file-creation-and-for.html' title='Wed October 8: File creation and for loops'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-6579288769185905218</id><published>2008-10-07T05:55:00.000-07:00</published><updated>2008-10-07T05:56:20.835-07:00</updated><title type='text'>this is a private sub for the keydown event</title><content type='html'>Private Sub Form1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Me.KeyDown&lt;br /&gt;        If e.KeyCode = Keys.A Then&lt;br /&gt;            whichKey = 0&lt;br /&gt;        ElseIf e.KeyCode = Keys.B Then&lt;br /&gt;            whichKey = 1&lt;br /&gt;        ElseIf e.KeyCode = Keys.C Then&lt;br /&gt;            whichKey = 2&lt;br /&gt;        ElseIf e.KeyCode = Keys.D Then&lt;br /&gt;            whichKey = 3&lt;br /&gt;        ElseIf e.KeyCode = Keys.E Then&lt;br /&gt;            whichKey = 4&lt;br /&gt;        ElseIf e.KeyCode = Keys.F Then&lt;br /&gt;            whichKey = 5&lt;br /&gt;        ElseIf e.KeyCode = Keys.Space Then&lt;br /&gt;            whichKey = 26&lt;br /&gt;        ElseIf e.KeyCode = Keys.F11 Then&lt;br /&gt;            MsgBox("Do you want to save your label?")&lt;br /&gt;            allTheWords = secretCode.Text&lt;br /&gt;            wordsGoHere.Text = allTheWords&lt;br /&gt;           wordsGoHere.Visible = True&lt;br /&gt;        End If&lt;br /&gt;        secretCode.Text = secretCode.Text &amp;amp; CodeKeys(whichKey)&lt;br /&gt;        &lt;br /&gt;    End Sub&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-6579288769185905218?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/6579288769185905218/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=6579288769185905218' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/6579288769185905218'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/6579288769185905218'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2008/10/this-is-private-sub-for-keydown-event.html' title='this is a private sub for the keydown event'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-3092783877934453563</id><published>2008-10-07T05:52:00.000-07:00</published><updated>2008-10-07T05:53:12.070-07:00</updated><title type='text'>put this stuff in the section where you first declared your variables</title><content type='html'>Go above where you typed this stuff:&lt;br /&gt;Dim whichKey As IntegerDim whichLetter As StringDim allTheWords As String&lt;br /&gt;&lt;br /&gt;And add this array there:&lt;br /&gt;&lt;br /&gt;Dim CodeKeys() As String = {"Q", "W", "E", "R", "T", "Y", "U", "I", "O", "P", "A", "S", "D", "F", "G", "H", "J", "K", "L", "Z", "X", "C", "V", "B", "N", "M", " "}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-3092783877934453563?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/3092783877934453563/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=3092783877934453563' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/3092783877934453563'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/3092783877934453563'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2008/10/put-this-stuff-in-section-where-you.html' title='put this stuff in the section where you first declared your variables'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-2896142239505300403</id><published>2008-10-05T16:35:00.000-07:00</published><updated>2008-10-07T05:27:13.971-07:00</updated><title type='text'>Tuesday October 7: I'm grateful to be here</title><content type='html'>&lt;span style="font-size:180%;"&gt;&lt;span style="FONT-WEIGHT: bold;font-family:arial;" &gt;TLEQHOFU ZIKGXUI ZIT SOSN YOTSRL&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold;font-family:arial;" &gt;O EQDT QEKGLL QF TDHZN LHQET&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold;font-family:arial;" &gt;ZKTDWSTR QFR TBHSGRTR&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold;font-family:arial;" &gt;STYZ Q WXL LZGH OF OZL HSQET&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;Ok, now that I have your attention, today we are going to be extending our understanding of arrays, variables and keyboard events by working on a separate assignment which allows you to create encrypted messages (secret codes, that is). Here is what you need to do before I hand you out the actual code sheets:&lt;br /&gt;&lt;br /&gt;A) create a project and name it "Crypto" plus your first name and last Initial&lt;br /&gt;&lt;br /&gt;B) add to your form a label and name the label "secretCode"&lt;br /&gt;&lt;br /&gt;C) add a textbox, name it "wordsGoHere" and set its visibility to false&lt;br /&gt;&lt;br /&gt;D) click on the "F7" key to get into your code, and outside of any control, type in the following code:&lt;br /&gt;&lt;br /&gt;Dim whichKey As Integer&lt;br /&gt;Dim whichLetter As String&lt;br /&gt;Dim allTheWords As String&lt;br /&gt;&lt;br /&gt;E) get into the "Form Load" part of your code, and add this code:&lt;br /&gt;'set default as first element in the array&lt;br /&gt;whichKey = 0&lt;br /&gt;'set the letter that is going&lt;br /&gt;'into the label as the first letter in the array&lt;br /&gt;whichLetter = CodeKeys(whichKey)&lt;br /&gt;&lt;br /&gt;F) Once you're done with that, I will hand out the rest of the code you will need to begin completing this assignment.&lt;br /&gt;&lt;br /&gt;When you're done with this assignment, you will need to upload it so that I can see how well you've done. After that, feel free to work on your projects!&lt;br /&gt;&lt;br /&gt;cheers,&lt;br /&gt;Mr. L&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-2896142239505300403?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/2896142239505300403/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=2896142239505300403' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/2896142239505300403'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/2896142239505300403'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2008/10/monday-october-6-im-grateful-to-be-here.html' title='Tuesday October 7: I&apos;m grateful to be here'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-4918019544170469525</id><published>2008-10-03T08:23:00.000-07:00</published><updated>2008-10-03T08:25:18.867-07:00</updated><title type='text'>Friday October 3: as you were gentlemen!</title><content type='html'>Greetings, feared VB coders!&lt;br /&gt;&lt;br /&gt;Today is Friday. And a "spirit" day. And people are spirited. So here is all you need to do:&lt;br /&gt;&lt;br /&gt;A) work on your current projects&lt;br /&gt;&lt;br /&gt;B) zip them up and email them to me&lt;br /&gt;&lt;br /&gt;C) post a discussion on how you are doing thus far, including any discoverioes and any concerns&lt;br /&gt;&lt;br /&gt;that'll do&lt;br /&gt;&lt;br /&gt;Mr. L&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-4918019544170469525?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/4918019544170469525/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=4918019544170469525' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/4918019544170469525'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/4918019544170469525'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2008/10/friday-october-3-as-you-were-gentlemen.html' title='Friday October 3: as you were gentlemen!'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-6818016726934032584</id><published>2008-10-02T06:03:00.000-07:00</published><updated>2008-10-02T06:16:29.863-07:00</updated><title type='text'>Thursday Oct 2: Before you work on your projects, or continue with amkeup work!</title><content type='html'>Greetings, fellow code monkeys!&lt;br /&gt;&lt;br /&gt;It has come to my attention that many of you are being prompted to "activate" your copy of Visual Basic. I was having the same problem, and I fixed it. Here is how you do it (and hopefully it will work for you too!):&lt;br /&gt;&lt;br /&gt;A) Go to www.hotmail.com, and then click on the SIGNUP button in the middle of the screen&lt;br /&gt;&lt;br /&gt;B)On the next page underneath the words &lt;strong&gt;"Windows Live Hotmail"&lt;/strong&gt; click the GET IT button&lt;br /&gt;&lt;br /&gt;C)On the next page fill in all the necessary information, and be sure to set the email type to HOTMAIL -- I cannot guarantee that a live.com account will work&lt;br /&gt;&lt;br /&gt;D)Click the I ACCEPT button to bring you to your new account&lt;br /&gt;&lt;br /&gt;E) LEAVE YOUR NEW HOTMAIL ACCOUNT OPEN&lt;br /&gt;&lt;br /&gt;F) Turn on Visual Basic and when that thing near the system clock comes up to "activate" Visual Basic, click on it&lt;br /&gt;&lt;br /&gt;G) This should bring you to a webpage where you have to fill out a form, complete with your new hotmail address, and then submit the form&lt;br /&gt;&lt;br /&gt;H) You should receive an "activation code" and instructions on how to use it in your new hotmail inbox.&lt;br /&gt;&lt;br /&gt;I) Follow the instructions, and let's see if we can solve this problem&lt;br /&gt;&lt;br /&gt;Once we are done with this, I will be continuing to make last minute updates to your grades, and you will be working on your new projects BEFORE THE END OF THE CLASS, you will need to ake a new discussion posting talking about the progress you have made on this new project. When you make the discussion posting, please put todays date in the subject line, along with "Project Progress" plus your name.&lt;br /&gt;&lt;br /&gt;Cheers,&lt;br /&gt;&lt;br /&gt;Mr. L&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-6818016726934032584?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/6818016726934032584/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=6818016726934032584' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/6818016726934032584'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/6818016726934032584'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2008/10/thursday-oct-2-before-you-work-on-your.html' title='Thursday Oct 2: Before you work on your projects, or continue with amkeup work!'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-4228514634301204779</id><published>2008-09-30T13:51:00.000-07:00</published><updated>2008-09-30T13:58:31.098-07:00</updated><title type='text'>Wednesday October 1: Getting caught up with classwork</title><content type='html'>Greetings, fellow VB coders!&lt;br /&gt;&lt;br /&gt;Today, before you even think about working on your new projects, each one of you will have to have a look at your grades, which are based on work that I can PROVE THAT YOU HAVE DONE. A few of you have not made posts to our Google discussion group, as per my instructions; at least one of you has not uploaded ANY project files to my BOX.NET online file storage, and several of you have either uploaded shortcuts to various folders, or files that are either unreadable or un-openable.&lt;br /&gt;&lt;br /&gt;I CANNOT BASE YOUR GRADES ON ANYTHING THAT I CANNOT SEE&lt;br /&gt;&lt;br /&gt;ITS NOT WHAT I "KNOW" ITS WHAT I CAN PROVE&lt;br /&gt;&lt;br /&gt;we need to get this fixed TODAY&lt;br /&gt;&lt;br /&gt;After that, we can re-commence work on your projects&lt;br /&gt;&lt;br /&gt;Cheers,&lt;br /&gt;Mr. L&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-4228514634301204779?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/4228514634301204779/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=4228514634301204779' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/4228514634301204779'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/4228514634301204779'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2008/09/wednesday-october-1-getting-caught-up.html' title='Wednesday October 1: Getting caught up with classwork'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-2156546769768993276</id><published>2008-09-26T04:01:00.000-07:00</published><updated>2008-09-26T04:05:55.723-07:00</updated><title type='text'>Friday September 26: hand in your Ferris Bueller assignment, and......</title><content type='html'>....begin coming up with a project of your own. OK, today should be really simple:&lt;br /&gt;&lt;br /&gt;A) Make sure your "Ferris Bueller" keyboard project works&lt;br /&gt;&lt;br /&gt;B) Use winzip to "zip up" that project file&lt;br /&gt;&lt;br /&gt;C) Upload that zipfile to the VBDepot folder I have shared out on my Box.Net account&lt;br /&gt;&lt;br /&gt;D) You will now have plenty of free exploration time. You will use at least some of it to make a Discussion post outlining -- in some rough draft sense-- the kind of project you would like to work on. Tell me what you want your program to do!&lt;br /&gt;&lt;br /&gt;E) Additionally, if you have made any new discoveries for which you wish to receive some sort of extra special credit, please post a discussion detailing what you have found. C'mon, you guys are smart: show off a little!&lt;br /&gt;&lt;br /&gt;Cheers,&lt;br /&gt;Mr. L&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-2156546769768993276?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/2156546769768993276/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=2156546769768993276' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/2156546769768993276'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/2156546769768993276'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2008/09/friday-september-26-hand-in-your-ferris.html' title='Friday September 26: hand in your Ferris Bueller assignment, and......'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-7427718783138946581</id><published>2008-09-23T04:29:00.000-07:00</published><updated>2008-09-23T04:51:29.323-07:00</updated><title type='text'>Tuesday September 23 -- a new way to pass in your projects</title><content type='html'>Hey there hi there ho there,&lt;br /&gt;&lt;br /&gt;Today, we will accomplish two great and magnificent things:&lt;br /&gt;&lt;br /&gt;A) I will show you a new way to get your projects handed in to me&lt;br /&gt;&lt;br /&gt;B) I will demonstrate how to connect keyboard events to sound output (yes, the infamous "Ferris Bueller keyboard"...coming soon to a computer right in front of you!)&lt;br /&gt;&lt;br /&gt;OK, let's start with A.&lt;br /&gt;&lt;br /&gt;1) Yesterday, I shared a folder called "VBDepot" on my Box.net account. According to my account instructions, I can share it with you guys by emailing you invites, which I did yesterday before I left the building. So, the first step is to check your email&lt;br /&gt;&lt;br /&gt;2) You will find an email with the subject line&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;"&lt;/span&gt;&lt;span style="font-weight: bold;font-size:85%;" &gt;UnclePaulie (mrlarue2009@gmail.com) invited you to collaborate on Box.net&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;"&lt;/span&gt;&lt;br /&gt;get into that email and click on the link which is just below the line that says&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;UnclePaulie has invited you to  share files in the  "VBdepot",  folder&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;3) This will bring you to a webpage where you enter in your name, your email address, and a password, then hit the SIGNUP button&lt;br /&gt;&lt;br /&gt;4) This brings you to a webpage where you can see the shared VBDepot folder. click on the link that says VBDepot&lt;br /&gt;&lt;br /&gt;5) On the next webpage, there is a link where you can upload new files. Click on that link. This pops up a dialog box&lt;br /&gt;&lt;br /&gt;6) In that dialog box, there is an "Add Files" button. You use that to browse for files. Just to test out the system, just upload a file that I can recognize as being yours.&lt;br /&gt;&lt;br /&gt;7) Click the Upload button, and Shazzam!!! your file is uploaded&lt;br /&gt;&lt;br /&gt;Now for the tricky part: can you read the instructions from yesterday? The ones that tell you how to find your the folder which holds everything for your current project, and then zip it up inside a WinZip folder? I'm sure that you can. And, if you need help, that's what I get paid the big bucks for :-)&lt;br /&gt;&lt;br /&gt;OK guys, lets do it! Let's get it done! The Ferris Bueller program awaits....&lt;br /&gt;&lt;br /&gt;Cheers,&lt;br /&gt;Mr. L&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-7427718783138946581?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/7427718783138946581/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=7427718783138946581' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/7427718783138946581'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/7427718783138946581'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2008/09/tuesday-september-23-new-way-to-pass-in.html' title='Tuesday September 23 -- a new way to pass in your projects'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-5362383000531515982</id><published>2008-09-21T17:29:00.000-07:00</published><updated>2008-09-22T06:11:05.153-07:00</updated><title type='text'>Monday Sept 22 -- sending me your projects, working with keyboard events and sound</title><content type='html'>Greetings, O most mighty of all VB coders! Today, we are going to do two pretty darned important things:&lt;br /&gt;&lt;br /&gt;A) We will learn how to zip up your projects and send them to Mr. LaRue as email attachments&lt;br /&gt;&lt;br /&gt;B) We will learn about using keyboard events in VB, and making things happen in response to those events&lt;br /&gt;&lt;br /&gt;Let's do A) first&lt;br /&gt;&lt;br /&gt;Here is what you need to do:&lt;br /&gt;&lt;br /&gt;1) Unless you went out of your way to change where you save your files, you probably have a "Projects" folder associated with VB. It's located inside the "Visual Studio 2005" folder inside of the "My Documents" folder.&lt;br /&gt;&lt;br /&gt;2) Inside of the "Projects" folder, you will find a separate folder for each project. It might be called "WindowsApplication1" or "buttonAction" or whatever you named your project when you first created it.&lt;br /&gt;&lt;br /&gt;3) You will want to copy this folder to your desktop&lt;br /&gt;&lt;br /&gt;4) Once you've done this, you should be able to create a new "zip" file by right clicking on the desktop then clicking in the menu where it says "new" then "winzip file". Name this zip file after yourself&lt;br /&gt;&lt;br /&gt;5) drag the project folder onto the zip folder&lt;br /&gt;&lt;br /&gt;6) when the menu pops up, click the ADD button&lt;br /&gt;&lt;br /&gt;7) send this zip file to me as an email attachment&lt;br /&gt;&lt;br /&gt;Once you've done that, we will work on using keyboard events and sound. I have some lovely handouts for that :-)&lt;br /&gt;&lt;br /&gt;Cheers,&lt;br /&gt;Mr. L&lt;br /&gt;&lt;br /&gt;PS We may not need them today, but I have some sounds associated with a project which I will be demonstrating to you. The sounds are bundled in a winzip file found here:&lt;br /&gt;&lt;a href="http://www.box.net/shared/n19oryovx2"&gt;http://www.box.net/shared/n19oryovx2&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-5362383000531515982?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/5362383000531515982/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=5362383000531515982' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/5362383000531515982'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/5362383000531515982'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2008/09/monday-sept-22-sending-me-your-projects.html' title='Monday Sept 22 -- sending me your projects, working with keyboard events and sound'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-7065297092248237508</id><published>2008-09-18T17:01:00.001-07:00</published><updated>2008-09-18T17:08:34.082-07:00</updated><title type='text'>iiiiiiiiiiiiiiiiiiiiiiiiiiittttts Friday!   (September 19)</title><content type='html'>and to celebrate, let's do a little work with some pretty pictures, shall we?&lt;br /&gt;&lt;br /&gt;The program you will create today will make use of many features we have already explored, such as a "Form Load" statement, which makes stuff happen when your form appears on the screen, an array declared outside of any control on the form, an integer variable and a button to move through the array one element at a time.&lt;br /&gt;&lt;br /&gt;We will also make use of some new stuff, including :&lt;br /&gt;&lt;br /&gt;A) the use of a String variable to hold a pathname, that is, something which describes where a file can be found. Here is an example of a pathname:&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;C:\Documents and Settings\Paul\Desktop\Meladie&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;B) the use of a PictureBox control, and more importantly, the "Image.FromFile()" constructor, which allows you to set the image property of a PictureBox. (In other words, we'll be able to change the picture at will.)&lt;br /&gt;&lt;br /&gt;So OK, before we get going, please setup a folder somewhere that's convenient, and then download some pictures to it. Then I'll pass out the code sheets, and away we go!&lt;br /&gt;&lt;br /&gt;Cheers,&lt;br /&gt;&lt;br /&gt;Mr. L&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-7065297092248237508?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/7065297092248237508/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=7065297092248237508' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/7065297092248237508'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/7065297092248237508'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2008/09/iiiiiiiiiiiiiiiiiiiiiiiiiiittttts.html' title='iiiiiiiiiiiiiiiiiiiiiiiiiiittttts Friday!   (September 19)'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-1638731283014773853</id><published>2008-09-16T16:55:00.000-07:00</published><updated>2008-09-16T17:11:35.113-07:00</updated><title type='text'>Wed Sept 17: Show What You Know, Part One</title><content type='html'>Greetings, fellow VB programmers~!&lt;br /&gt;&lt;br /&gt;Today will be a day for you to "show what you know". Rather than just assuming that you know how to use the techniques I've shown you, I'm going to challenge you to prove it. Here's how it gets done:&lt;br /&gt;&lt;br /&gt;A)You will need to create a completely fresh program&lt;br /&gt;&lt;br /&gt;B) This program will need to be able to do at least three different things.&lt;br /&gt;&lt;br /&gt;C) Your program will need to make use of at least four of the following controls:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;a button&lt;/li&gt;&lt;li&gt;radio buttons&lt;/li&gt;&lt;li&gt;textbox&lt;/li&gt;&lt;li&gt;label&lt;/li&gt;&lt;li&gt;groupbox&lt;/li&gt;&lt;li&gt;something else (your choice)&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;D) Your program will need to make use of at least&lt;br /&gt;&lt;ul&gt;&lt;li&gt;one if statement&lt;/li&gt;&lt;li&gt; two variables, each of a different type (integer, boolean, string)&lt;/li&gt;&lt;li&gt;one array&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;E) Your program will need to have at least one variable that is declared outside of any Subroutine, one which can be accessed by an control on your form&lt;br /&gt;&lt;br /&gt;F) You will need to have at least one event which takes place at Form Load&lt;br /&gt;&lt;br /&gt;G) You will need to add comments to your code, saying what different parts of it are good for.&lt;br /&gt;&lt;br /&gt;If you have forgotten what some of this stuff is, well, that's part of why we do this. I will try to help; you should also consider working with the people sitting near you, or even those all the way across the room.&lt;br /&gt;&lt;br /&gt;Cheers,&lt;br /&gt;&lt;br /&gt;Mr. L&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-1638731283014773853?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/1638731283014773853/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=1638731283014773853' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/1638731283014773853'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/1638731283014773853'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2008/09/wed-sept-17-show-what-you-know-part-one.html' title='Wed Sept 17: Show What You Know, Part One'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-5790634253502477333</id><published>2008-09-15T13:12:00.000-07:00</published><updated>2008-09-15T13:44:26.687-07:00</updated><title type='text'>(Sept 16) -- more arrays, form load events, labels, and some weird variable called a Boolean</title><content type='html'>Tuesday greetings O most exalted VB coders!&lt;br /&gt;hello there, and welcome back from your weekend. Today, we are going to accomplish the following tasks:&lt;br /&gt;&lt;br /&gt;A) create another array -- which remember, is just a collection of variables -- and this time, the array will be created OUTSIDE of any subroutine. It's not attached to any particular button or control, so it can be used by any of them&lt;br /&gt;&lt;br /&gt;B)Create a label, which is kind of like a textbox, only its words can't be changed just by mnaully typing it in.&lt;br /&gt;&lt;br /&gt;C) Use the "Form Load" event to set the text of that label. (You'll see, you'll see)&lt;br /&gt;&lt;br /&gt;D) Use the View --&gt; Code menu to get into the code; another way of getting there, rather than double clicking a button or some other control.  This will also be important in accomplishing  (A) above&lt;br /&gt;&lt;br /&gt;E) Use yet another GroupBox, complete with two radio buttons, to determine whether or not a button's text says "forward" or backward"&lt;br /&gt;&lt;br /&gt;F)  create and use a Boolean variable -- one which can only have two values, either true or false. This Boolean will be linked to the two radio buttons mentioned above, and will also be used in yet another If statement to determine whether or not you will go forward or backward in seting the text of the label found in (B) above&lt;br /&gt;&lt;br /&gt;Whew! After that, you'll have time for free exploration. Just be sure to make a Discussion posting in our Google group for whatever discoveries you may make.&lt;br /&gt;&lt;br /&gt;Cheers,&lt;br /&gt;&lt;br /&gt;Mr. L&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-5790634253502477333?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/5790634253502477333/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=5790634253502477333' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/5790634253502477333'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/5790634253502477333'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2008/09/sept-16-more-arrays-form-load-events.html' title='(Sept 16) -- more arrays, form load events, labels, and some weird variable called a Boolean'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-3119880914916027510</id><published>2008-09-11T17:55:00.000-07:00</published><updated>2008-09-12T09:42:27.491-07:00</updated><title type='text'>Friday, September 12 -- multiple forms, changing buttons and more work with arrays!</title><content type='html'>Hello there O most distinguished VB code jockeys! Today we will be working to accomplish several goals:&lt;br /&gt;&lt;br /&gt;A) We will learn how to add a second form to our programs, and how to make that form appear and disappear&lt;br /&gt;&lt;br /&gt;B) We will learn how to change properties of a control in response to events, using an If statement&lt;br /&gt;&lt;br /&gt;C) we will attempt to make use of another array on that second form&lt;br /&gt;&lt;br /&gt;D) we will, I promise, have some "free exploration" time; provided that you record the results of your exploration as a post in our Google Group&lt;br /&gt;&lt;br /&gt;Cheers,&lt;br /&gt;Mr. L&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-3119880914916027510?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/3119880914916027510/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=3119880914916027510' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/3119880914916027510'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/3119880914916027510'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2008/09/friday-september-12-multiple-forms.html' title='Friday, September 12 -- multiple forms, changing buttons and more work with arrays!'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-5273885333297796099</id><published>2008-09-11T06:12:00.000-07:00</published><updated>2008-09-11T06:17:34.376-07:00</updated><title type='text'>Thursday Sept 11 -- more if statements, our first array...and MORE!!!</title><content type='html'>OK VB coders, yesterday we explored the wonderful world of If statements and MsgBoxes. Today, we will continue exploring If statements, as well as making our first array. An array is a collection of related variables, and is a very convenient way of being able to group relate ditems, such as the names of bands, favorite TV shows, athletic rosters, you name it!&lt;br /&gt;&lt;br /&gt;We will also look at how you can affect the properties of the actual form a component is located in, using the "Me" keyword. Additionally, we will learn how to tranfer properties -- such as text -- from one control to another.&lt;br /&gt;&lt;br /&gt;And last but not least, we will have some "free exploration time" so that you may make discoveries all of your own, and then post what you've found to our Google Group!&lt;br /&gt;&lt;br /&gt;Cheers,&lt;br /&gt;Mr. L&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-5273885333297796099?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/5273885333297796099/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=5273885333297796099' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/5273885333297796099'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/5273885333297796099'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2008/09/thursday-sept-11-more-if-statements-our.html' title='Thursday Sept 11 -- more if statements, our first array...and MORE!!!'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-4619291458200275081</id><published>2008-09-04T19:55:00.000-07:00</published><updated>2008-09-05T06:13:44.494-07:00</updated><title type='text'>VB programmers, Friday Sept 5 -- Part Two</title><content type='html'>I’ve been reading your emails with great interest, and have discovered a little bit about each of you, what some of your interests are, why you want to be in this class. You will need to expand upon this in a discussion post you will create on the Google Group you just joined.  Here is what your discussion post needs to include:&lt;br /&gt;&lt;br /&gt;A) What sort of programming most interests you? Would it be something that plays music? Looks up stuff for you online? Perhaps plays a simple game? Helps a person study? Keeps track of who owes you money?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;B) What kind of person would use your program? Is this going to just be for your own personal use, or would it be something you might want to share with friends, classmates, family, etc etc?&lt;br /&gt;&lt;br /&gt;C) For that matter, would you like to see it posted to some sort of online software repository, where others can download it?&lt;br /&gt;&lt;br /&gt;D) What would a program of yours look like? Would it have a clean simple interface, like the Google homepage? Would it be crammed full of buttons and other components? Would it have a menubar at the top? If so, what kind of commands should it hold? Or would it be something that only works in a command prompt window?&lt;br /&gt;&lt;br /&gt;E) Will your program be able to save settings? Will it be able to create files? Should it be able to print? Should it be able to connect to the Internet? Will it be able to do some things automatically?&lt;br /&gt;&lt;br /&gt;OK, that ought to do it. Please be as complete as possible. When you are finished, make sure to post your discussion, and then take a look at the discussions put out by your classmates. It may be that there are others who share your interests, which would be good, since we will probably have a group project or two during the course of this class. In real life, no one writes a program all by himself anymore: they're created by teams&lt;br /&gt;&lt;br /&gt;Cheers,&lt;br /&gt;&lt;br /&gt;Mr. L&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-4619291458200275081?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/4619291458200275081/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=4619291458200275081' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/4619291458200275081'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/4619291458200275081'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2008/09/vb-programmers-friday-sept-5-part-two.html' title='VB programmers, Friday Sept 5 -- Part Two'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-2793023247697572293</id><published>2008-09-04T19:51:00.000-07:00</published><updated>2008-09-04T19:54:26.994-07:00</updated><title type='text'>What to do on Friday September 5 -- part one</title><content type='html'>Greetings, and welcome once again!&lt;br /&gt;&lt;br /&gt;Today in Visual Basic Programming, you will be doing two things, both of them related. this is the first thing you must do:&lt;br /&gt;&lt;br /&gt;In your email inbox, you SHOULD have an invitation from me to join the Google Group which I have set up for this class. It's called  "Welcome to the Monkey House". You will need to follow the instructions in this email TO THE LETTER to get signed up, and to be able to go on to the next step. If you need assistance, I will do my utmost to help. &lt;br /&gt;&lt;br /&gt;OK, so get get set up RIGHT NOW. C'mon back when you're done, and then we'll go on to part two, which I will post when you're ready.&lt;br /&gt;&lt;br /&gt;Cheers,&lt;br /&gt;Mr. L&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-2793023247697572293?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/2793023247697572293/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=2793023247697572293' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/2793023247697572293'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/2793023247697572293'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2008/09/what-to-do-on-friday-september-5-part.html' title='What to do on Friday September 5 -- part one'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7669344112578632302.post-9166338401929602662</id><published>2008-09-04T19:47:00.000-07:00</published><updated>2008-09-04T19:48:58.236-07:00</updated><title type='text'>Greetings, Visual Basic Programmers!</title><content type='html'>This is C0D3 M0NK3YZ, where the students from Mr. LaRue's period 5 Visual Basic Programming class will receive news, instructions, marching orders and potentially leave comments and ask questions. If you are allowed and you do leave a comment, please bear in mind that this blog is available to the entire world, or at least that part of it that's on the Internet. This includes your parents, other teachers, your guidance counselor, the principal, the superintendent, and what the heck, the mayor, the governor, the chief of police, the head of the FBI, and pretty much EVERYONE. So be cautious, courteous and school appropriate in any comments you leave&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7669344112578632302-9166338401929602662?l=codemonkeys323.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codemonkeys323.blogspot.com/feeds/9166338401929602662/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7669344112578632302&amp;postID=9166338401929602662' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/9166338401929602662'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7669344112578632302/posts/default/9166338401929602662'/><link rel='alternate' type='text/html' href='http://codemonkeys323.blogspot.com/2008/09/greetings-visual-basic-programmers.html' title='Greetings, Visual Basic Programmers!'/><author><name>Uncle Paulie</name><uri>http://www.blogger.com/profile/06366961962380528547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_eplY-Gnu2QA/SLnW67NI6uI/AAAAAAAAAAM/M1qtsGGDIYo/S220/FarnsworthSmall.jpg'/></author><thr:total>0</thr:total></entry></feed>
