<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>Basic Forum RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest threads from the 'Basic' forum at Programmer's Heaven, excluding replies.</description>
    <language>en</language>
    <copyright>Copyright 2008 Programmers Heaven</copyright>
    <pubDate>Mon, 01 Dec 2008 18:54:06 -0700</pubDate>
    <lastBuildDate>Mon, 01 Dec 2008 18:54:06 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>Hear is Data-entry Outsourcing services India</title>
      <link>http://www.programmersheaven.com/mb/basic/382031/382031/hear-is-data-entry-outsourcing-services-india/</link>
      <description>Hi!!! Thanks for your co-operation.&lt;br /&gt;
&lt;br /&gt;
Now I will like to brief you about my business. &lt;br /&gt;
&lt;br /&gt;
I am the Webmaster of Data-entry Outsourcing services a part of Yantram – BPO Services Pvt. Ltd. Our main business is of Data-entry Outsourcing Administrative Support Services. We also perform other tasks like Data Entry Services India, Data Processing, Data Conversion, Web-Research, Data Mining, Image Processing, and Outsourcing Data Entry Services India Etc. Our service charges are quit nominal by fare, which any can afford to have. We have the team of some expert &amp;amp; Data entry team who will fulfill your requirements.&lt;br /&gt;
&lt;br /&gt;
For more information about us visit our website at: &lt;a href="http://data-entry.outsourcing-services-india.com"&gt;http://data-entry.outsourcing-services-india.com&lt;/a&gt;&lt;br /&gt;</description>
      <pubDate>Wed, 19 Nov 2008 03:51:21 -0700</pubDate>
      <category>Basic</category>
    </item>
    <item>
      <title>Can you give some problems on algorithms&gt;&gt;&gt;</title>
      <link>http://www.programmersheaven.com/mb/basic/381987/381987/can-you-give-some-problems-on-algorithms/</link>
      <description>&lt;strong&gt;can you give me some problems on algorithms, i'm an IT student and i like tp practice solving a lot of problems please help me.... &lt;/strong&gt;&lt;br /&gt;</description>
      <pubDate>Mon, 17 Nov 2008 23:56:45 -0700</pubDate>
      <category>Basic</category>
    </item>
    <item>
      <title>help with basic code</title>
      <link>http://www.programmersheaven.com/mb/basic/381748/381748/help-with-basic-code/</link>
      <description>I am trying to count and the write out all the degrees a person has this is my code my output puts "0" in the first column and then fill out the rest corretly need the first column to have the degree information and in the last column in there is no data it should be blank &lt;br /&gt;
X.TAB = ""  any suggestions would be appreicated &lt;br /&gt;
X.INTS.COUNT = DCOUNT(VL.PERSON.INSTITUTIONS.ATTEND,@VM)&lt;br /&gt;
FOR IDX1 = 1 TO X.INTS.COUNT&lt;br /&gt;
  V.INSTA.PERSON.ID = V.ID&lt;br /&gt;
  V.INSTA.INSTITUTIONS.ID = VL.PERSON.INSTITUTIONS.ATTEND&amp;lt;1,IDX1&amp;gt;&lt;br /&gt;
  KEY.INSTITUTIONS.ATTEND = V.INSTA.PERSON.ID:"*":V.INSTA.INSTITUTIONS.ID&lt;br /&gt;
  FOR_THIS INSTA.INSTITUTIONS.ID&lt;br /&gt;
  X.ACAD.COUNT = DCOUNT(VL.INSTA.ACAD.CREDENTIALS,@VM)&lt;br /&gt;
  FOR IDX2 = 1 TO X.ACAD.COUNT&lt;br /&gt;
    V.ACAD.CREDENTIALS.ID = VL.INSTA.ACAD.CREDENTIALS&amp;lt;1,IDX2&amp;gt;&lt;br /&gt;
    FOR_THIS ACAD.CREDENTIALS.ID&lt;br /&gt;
    IF V.ACAD.INSTITUTIONS.ID EQ "0000001" THEN&lt;br /&gt;
      V.CORP.ID = V.ACAD.INSTITUTIONS.ID&lt;br /&gt;
      FOR_THIS CORP.ID&lt;br /&gt;
      XL.INST.ALV&amp;lt;1,-1&amp;gt; = VL.CORP.NAME&lt;br /&gt;
      END_THIS CORP.ID&lt;br /&gt;
      XL.DEGREE.ALV&amp;lt;1,-1&amp;gt; = V.ACAD.DEGREE&lt;br /&gt;
      XL.DEGREE.DATE.ALV&amp;lt;1,-1&amp;gt; = OCONV(V.ACAD.DEGREE.DATE,"DY")&lt;br /&gt;
      XL.MAJOR1.ALV&amp;lt;1,-1&amp;gt; = VL.ACAD.MAJORS&amp;lt;1,1&amp;gt;&lt;br /&gt;
      XL.MAJOR2.ALV&amp;lt;1,-1&amp;gt; = VL.ACAD.MAJORS&amp;lt;1,2&amp;gt;&lt;br /&gt;
    END ELSE&lt;br /&gt;
      V.CORP.ID = V.ACAD.INSTITUTIONS.ID&lt;br /&gt;
      FOR_THIS CORP.ID&lt;br /&gt;
      XL.INST&amp;lt;1,-1&amp;gt; = VL.CORP.NAME&lt;br /&gt;
      END_THIS CORP.ID&lt;br /&gt;
      XL.DEGREE&amp;lt;1,-1&amp;gt; = V.ACAD.DEGREE&lt;br /&gt;
      XL.DEGREE.DATE&amp;lt;1,-1&amp;gt; = OCONV(V.ACAD.DEGREE.DATE,"DY")&lt;br /&gt;
      XL.MAJOR1&amp;lt;1,-1&amp;gt; = VL.ACAD.MAJORS&amp;lt;1,1&amp;gt;&lt;br /&gt;
    END&lt;br /&gt;
    END_THIS ACAD.CREDENTIALS.ID&lt;br /&gt;
  NEXT IDX2&lt;br /&gt;
  END_THIS INSTA.INSTITUTIONS.ID&lt;br /&gt;
NEXT IDX1&lt;br /&gt;
X.DEG.INFO.A = ""&lt;br /&gt;
X.DEG.A = DCOUNT(XL.DEGREE.ALV,@VM)&lt;br /&gt;
IF X.DEG.A &amp;gt;= 4 THEN &lt;br /&gt;
  X.DEG.A = 4&lt;br /&gt;
END&lt;br /&gt;
X.SPARE.A = 4 - X.DEG.A&lt;br /&gt;
FOR IDXDA = 1 TO X.DEG.A&lt;br /&gt;
  X.DEG.INFO.A := XL.DEGREE.ALV&amp;lt;1,IDXDA&amp;gt;:X.TAB&lt;br /&gt;
  X.DEG.INFO.A := XL.DEGREE.DATE.ALV&amp;lt;1,IDXDA&amp;gt;:X.TAB&lt;br /&gt;
  X.DEG.INFO.A := XL.INST.ALV&amp;lt;1,IDXDA&amp;gt;:X.TAB&lt;br /&gt;
  X.DEG.INFO.A := XL.MAJOR1.ALV&amp;lt;1,IDXDA&amp;gt;:X.TAB&lt;br /&gt;
  X.DEG.INFO.A := XL.MAJOR2.ALV&amp;lt;1,IDXDA&amp;gt;:X.TAB&lt;br /&gt;
NEXT IDXDA&lt;br /&gt;
IF X.SPARE.A &amp;gt;= 1 THEN &lt;br /&gt;
FOR IDXEA = 1 TO X.SPARE.A&lt;br /&gt;
 X.DEG.INFO.A := X.TAB:X.TAB:X.TAB:X.TAB:X.TAB&lt;br /&gt;
NEXT IDXEA &lt;br /&gt;
END&lt;br /&gt;
X.DEG.INFO = "" &lt;br /&gt;
X.DEG = DCOUNT(XL.DEGREE,@VM)&lt;br /&gt;
IF X.DEG &amp;gt;= 4 THEN &lt;br /&gt;
  X.DEG = 4&lt;br /&gt;
END&lt;br /&gt;
X.SPARE = 4 - X.DEG&lt;br /&gt;
FOR IDXD = 1 TO X.DEG&lt;br /&gt;
  X.DEG.INFO = ""&lt;br /&gt;
  X.DEG.INFO := X.TAB:XL.DEGREE&amp;lt;1,IDXD&amp;gt; &lt;br /&gt;
  X.DEG.INFO := X.TAB:XL.DEGREE.DATE&amp;lt;1,IDXD&amp;gt; &lt;br /&gt;
  X.DEG.INFO := X.TAB:XL.INST&amp;lt;1,IDXD&amp;gt; &lt;br /&gt;
  X.DEG.INFO := X.TAB:XL.MAJOR1&amp;lt;1,IDXD&amp;gt; &lt;br /&gt;
NEXT IDXD&lt;br /&gt;
IF X.SPARE &amp;gt;= 1 THEN &lt;br /&gt;
FOR IDXE = 1 TO X.SPARE&lt;br /&gt;
  X.DEG.INFO := X.TAB:X.TAB:X.TAB:X.TAB:X.TAB&lt;br /&gt;
NEXT IDXE &lt;br /&gt;
END &lt;br /&gt;
&lt;br /&gt;</description>
      <pubDate>Tue, 11 Nov 2008 13:27:47 -0700</pubDate>
      <category>Basic</category>
    </item>
    <item>
      <title>.exe</title>
      <link>http://www.programmersheaven.com/mb/basic/381528/381528/exe/</link>
      <description>Hi,&lt;br /&gt;
&lt;br /&gt;
To make the .exe in Visual Basic 2008 all you need to do is click Build&amp;gt; Publish &amp;lt;Name&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Name&amp;gt; Being what you called the application. &lt;br /&gt;
&lt;br /&gt;
Hope This Helps.&lt;br /&gt;</description>
      <pubDate>Mon, 03 Nov 2008 16:40:12 -0700</pubDate>
      <category>Basic</category>
    </item>
    <item>
      <title>Getting Data From Access</title>
      <link>http://www.programmersheaven.com/mb/basic/381526/381526/getting-data-from-access/</link>
      <description>Hi There&lt;br /&gt;
&lt;br /&gt;
I've been trying to get an application i am making to get data from a access database, but in totally stuck.&lt;br /&gt;
&lt;br /&gt;
So far I've set the database up and established a connection with visubal basic 2008. i have then added a combo box listing car registrations from the database, but how do i get the information related to that registration to show in seperate txtboxes??&lt;br /&gt;
&lt;br /&gt;
Thanks In Advanced For Any Help.&lt;br /&gt;
&lt;br /&gt;
Regards&lt;br /&gt;
Chris&lt;br /&gt;</description>
      <pubDate>Mon, 03 Nov 2008 16:30:06 -0700</pubDate>
      <category>Basic</category>
    </item>
    <item>
      <title>EXE File</title>
      <link>http://www.programmersheaven.com/mb/basic/376434/376434/exe-file/</link>
      <description>Hi&lt;br /&gt;
I have four exe(batch file)s. say one.exe, two.exe, thr.exe , four.exe.&lt;br /&gt;
I have to run all exes every time if i want to start the application.&lt;br /&gt;
Now i want to make all four exes as a single exe sothat every time i can run this exe only.&lt;br /&gt;
&lt;br /&gt;
Please give me any solution.&lt;br /&gt;
&lt;br /&gt;
Thanks in adv&lt;br /&gt;
&lt;br /&gt;</description>
      <pubDate>Tue, 30 Sep 2008 04:40:24 -0700</pubDate>
      <category>Basic</category>
    </item>
    <item>
      <title>This post has been deleted.</title>
      <link>http://www.programmersheaven.com/mb/basic/375580/375580/this-post-has-been-deleted/</link>
      <description>This post has been deleted.</description>
      <pubDate>Fri, 19 Sep 2008 05:40:48 -0700</pubDate>
      <category>Basic</category>
    </item>
    <item>
      <title>This post has been deleted.</title>
      <link>http://www.programmersheaven.com/mb/basic/375578/375578/this-post-has-been-deleted/</link>
      <description>This post has been deleted.</description>
      <pubDate>Fri, 19 Sep 2008 05:40:14 -0700</pubDate>
      <category>Basic</category>
    </item>
    <item>
      <title>This post has been deleted.</title>
      <link>http://www.programmersheaven.com/mb/basic/375577/375577/this-post-has-been-deleted/</link>
      <description>This post has been deleted.</description>
      <pubDate>Fri, 19 Sep 2008 05:39:59 -0700</pubDate>
      <category>Basic</category>
    </item>
    <item>
      <title>This post has been deleted.</title>
      <link>http://www.programmersheaven.com/mb/basic/375576/375576/this-post-has-been-deleted/</link>
      <description>This post has been deleted.</description>
      <pubDate>Fri, 19 Sep 2008 05:39:38 -0700</pubDate>
      <category>Basic</category>
    </item>
    <item>
      <title>This post has been deleted.</title>
      <link>http://www.programmersheaven.com/mb/basic/375575/375575/this-post-has-been-deleted/</link>
      <description>This post has been deleted.</description>
      <pubDate>Fri, 19 Sep 2008 05:38:34 -0700</pubDate>
      <category>Basic</category>
    </item>
    <item>
      <title>This post has been deleted.</title>
      <link>http://www.programmersheaven.com/mb/basic/375574/375574/this-post-has-been-deleted/</link>
      <description>This post has been deleted.</description>
      <pubDate>Fri, 19 Sep 2008 05:37:52 -0700</pubDate>
      <category>Basic</category>
    </item>
    <item>
      <title>This post has been deleted.</title>
      <link>http://www.programmersheaven.com/mb/basic/375572/375572/this-post-has-been-deleted/</link>
      <description>This post has been deleted.</description>
      <pubDate>Fri, 19 Sep 2008 05:35:19 -0700</pubDate>
      <category>Basic</category>
    </item>
    <item>
      <title>Most fun Basic programming</title>
      <link>http://www.programmersheaven.com/mb/basic/375208/375208/most-fun-basic-programming/</link>
      <description>What is the most fun kind of program you've made or think of making?&lt;br /&gt;
&lt;br /&gt;
What kind of programs would be good for new programmers or people wanting to learn the Basic language?</description>
      <pubDate>Fri, 12 Sep 2008 14:41:32 -0700</pubDate>
      <category>Basic</category>
    </item>
    <item>
      <title>How do I combine 2 programs</title>
      <link>http://www.programmersheaven.com/mb/basic/375196/375196/how-do-i-combine-2-programs/</link>
      <description>Please  forgive my ignorance, I suspect my question has a very simple answer, but I can't find it in the books I have. I started teaching myself using VB2008 express about 3 days ago. &lt;br /&gt;
I have a cool web browser and a small simple password prog. I want to activate the browser when the correct username and password is given.&lt;br /&gt;
This is the code for the password prog.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Public Class Form1&lt;br /&gt;
&lt;br /&gt;
    Private Sub OKButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OKButton.Click&lt;br /&gt;
        If usernameBox.Text = "apress" And _&lt;br /&gt;
            passwordBox.Text = "noidea" Then&lt;br /&gt;
&lt;br /&gt;
            If UsernameBox.Text = "123" And _&lt;br /&gt;
    PasswordBox.Text = "456" Then&lt;br /&gt;
&lt;br /&gt;
                MessageBox.Show("Welcome! You're logged in")&lt;br /&gt;
            Else&lt;br /&gt;
                MessageBox.Show("Sorry, try again")&lt;br /&gt;
            End If&lt;br /&gt;
&lt;br /&gt;
        Else&lt;br /&gt;
            MessageBox.Show("Sorry, try again")&lt;br /&gt;
        End If&lt;br /&gt;
&lt;br /&gt;
    End Sub&lt;br /&gt;
End Class&lt;br /&gt;
&lt;br /&gt;
 I don't know the syntax or the correct command to do what I want. Please help.&lt;br /&gt;
&lt;br /&gt;</description>
      <pubDate>Fri, 12 Sep 2008 10:21:55 -0700</pubDate>
      <category>Basic</category>
    </item>
    <item>
      <title>Sending a Webpage/URL in EMAIL BLASt</title>
      <link>http://www.programmersheaven.com/mb/basic/374384/374384/sending-a-webpageurl-in-email-blast/</link>
      <description>We are using Emma for our email blasting and we would like to be able to send actual webpages/URLS through in those email blasts.  I know there must be a way to do it.  Emma does not have a solution though.  All i have to work with is a template that you can through html and some programming into... Any suggestions?&lt;br /&gt;</description>
      <pubDate>Thu, 21 Aug 2008 13:40:18 -0700</pubDate>
      <category>Basic</category>
    </item>
    <item>
      <title>How can i created exe file?</title>
      <link>http://www.programmersheaven.com/mb/basic/373857/373857/how-can-i-created-exe-file/</link>
      <description>Im new using VB 2008 express ediction, are there any way to create a exe file using the express ediction? I have been trying , it only works in my PC (VB and .Net framework installed) if i test it in other pc it does not work. &lt;br /&gt;
&lt;br /&gt;
Thanks&lt;br /&gt;
&lt;br&gt;&lt;br&gt;&lt;strong&gt;Attachment:&lt;/strong&gt; &lt;a href="http://www.programmersheaven.com/mb/DownloadAttachment.aspx?AttachmentID=181"&gt;Project.zip&lt;/a&gt; (893825 bytes | downloaded 68 times)</description>
      <pubDate>Fri, 01 Aug 2008 14:07:28 -0700</pubDate>
      <category>Basic</category>
    </item>
    <item>
      <title>any one can help me of how to make a system flowchart of forums...</title>
      <link>http://www.programmersheaven.com/mb/basic/373622/373622/any-one-can-help-me-of-how-to-make-a-system-flowchart-of-forums/</link>
      <description>any one can help me of how to make a system flowchart of forums...thanx a lot...&lt;br /&gt;</description>
      <pubDate>Thu, 24 Jul 2008 19:07:02 -0700</pubDate>
      <category>Basic</category>
    </item>
    <item>
      <title>2006 exam questions</title>
      <link>http://www.programmersheaven.com/mb/basic/373368/373368/2006-exam-questions/</link>
      <description>write an intel 8085 program to select the smallest numer from a list of twenty-one 8 bit numbers stored in consecutive memory locations stating at address 0B17. the result should be stored at address 0B52. a flow chart ,assembly must accomplany your progr &lt;br /&gt;</description>
      <pubDate>Sun, 13 Jul 2008 09:40:07 -0700</pubDate>
      <category>Basic</category>
    </item>
    <item>
      <title>Run time Controls and form generation</title>
      <link>http://www.programmersheaven.com/mb/basic/373040/373040/run-time-controls-and-form-generation/</link>
      <description>Hi People,&lt;br /&gt;
This is my maiden question in this forum.&lt;br /&gt;
I am creating dynamic forms(How many? Variable...) and then adding dynamic control(..Command button) on each dynamic form using following code&lt;br /&gt;
&lt;br /&gt;
    Set cmdZoom = d_form(i).Controls.Add("VB.CommandButton", "cmdZoom")&lt;br /&gt;
Now I want to know which command button is clicked and in which form by handling click event.But thing is that i get  event of lastly added command button only.I want to handle click event of any button like control array.But this is not control array coz each control is on different forms.So,my Question is that how do I know which button is clicked and on which form.&lt;br /&gt;
Info:--- Each dynamic command button has same name.I am using VB6&lt;br /&gt;
&lt;br /&gt;
Thanks.&lt;br /&gt;
&lt;br /&gt;</description>
      <pubDate>Mon, 30 Jun 2008 13:11:50 -0700</pubDate>
      <category>Basic</category>
    </item>
    <item>
      <title>Compression in .NET 2.0</title>
      <link>http://www.programmersheaven.com/mb/basic/372693/372693/compression-in-net-20/</link>
      <description>Alright, I have discovered the GZipStream and DeflateStream classes in the System.IO.Compression library, but am clueless on how to use them.  The MSDN has become pure crap since they changed it to list forum and blog results instead of library results, and I am exhausted after spending a good hour searching for info on the classes.  Google isn't being very helpful either.&lt;br /&gt;
&lt;br /&gt;
I need to specify a directory and have it, all files in it, and all subdirectories and files compressed or decompressed when the user clicks the appropriate button or menu option in my program.  Every example I came across on the MSDN was simply how to compress a single file, which is useless.  Google kept directing me to external libraries which I refuse to use for legal reasons.  So how is it possible to use these internal classes to compress a directory?&lt;br /&gt;
&lt;br /&gt;
-&lt;em&gt;&lt;strong&gt;&lt;span style="color: Red;"&gt;S&lt;/span&gt;&lt;span style="color: Purple;"&gt;e&lt;/span&gt;&lt;span style="color: Blue;"&gt;p&lt;/span&gt;&lt;span style="color: Green;"&gt;h&lt;/span&gt;&lt;span style="color: Red;"&gt;i&lt;/span&gt;&lt;span style="color: Purple;"&gt;r&lt;/span&gt;&lt;span style="color: Blue;"&gt;o&lt;/span&gt;&lt;span style="color: Green;"&gt;t&lt;/span&gt;&lt;span style="color: Red;"&gt;h&lt;/span&gt;&lt;/strong&gt;&lt;/em&gt;</description>
      <pubDate>Mon, 16 Jun 2008 17:10:56 -0700</pubDate>
      <category>Basic</category>
    </item>
    <item>
      <title>Listing connected joysticks...</title>
      <link>http://www.programmersheaven.com/mb/basic/372659/372659/listing-connected-joysticks/</link>
      <description>How can I get a list of connected joysticks using VB .NET 2005?  I know how to get attached drives, but I am not sure about joysticks.  I simply need to get a list of their names and plop into a combobox for now, but will use them for something else later.&lt;br /&gt;
&lt;br /&gt;
While I am on the subject, I also need to figure out how to detect serial ports and modems.  The program will support networking via modem or serial cable in the long-run, and I'll need the info.&lt;br /&gt;
&lt;br /&gt;
-&lt;em&gt;&lt;strong&gt;&lt;span style="color: Red;"&gt;S&lt;/span&gt;&lt;span style="color: Purple;"&gt;e&lt;/span&gt;&lt;span style="color: Blue;"&gt;p&lt;/span&gt;&lt;span style="color: Green;"&gt;h&lt;/span&gt;&lt;span style="color: Red;"&gt;i&lt;/span&gt;&lt;span style="color: Purple;"&gt;r&lt;/span&gt;&lt;span style="color: Blue;"&gt;o&lt;/span&gt;&lt;span style="color: Green;"&gt;t&lt;/span&gt;&lt;span style="color: Red;"&gt;h&lt;/span&gt;&lt;/strong&gt;&lt;/em&gt;</description>
      <pubDate>Sun, 15 Jun 2008 11:52:32 -0700</pubDate>
      <category>Basic</category>
    </item>
    <item>
      <title>Allocating/freeing objects, revisited...</title>
      <link>http://www.programmersheaven.com/mb/basic/372504/372504/allocatingfreeing-objects-revisited/</link>
      <description>Alright, i am still not sure when I should implement garbage-collection in VB.  They've made it insanely difficult and blurry, and after two weeks of attempting to figure out when to implement dispose, I am worn out.  I have my own classes, but they contain standard classes, such as Integer, String, etc.  One of them contains other classes of my own design however, and I don't have a clue how to tell if I need to free them somehow.&lt;br /&gt;
&lt;pre class="sourcecode"&gt;
Public Class systemClass
  'Global objects
  Private uppermemBool As Boolean
  Private expandedBool As Boolean
  Private extendedBool As Boolean
  Private memoryShort As Short
  Private cpuShort As Short
  Private cyclesInt As Integer
  ...
End Class

Public Class gameClass
  'Global objects
  Private initializedBool As Boolean
  Private systemObject As systemClass
  Private videoObject As videoClass
  Private soundObject As soundClass
  ...
End Class
&lt;/pre&gt;&lt;br /&gt;
In the example above, the second class uses an instance of the first class, but the first class only contains built-in classes.  My main form creates an instance of the second class, then class an initialization function that allows that class to create instances of the three custom classes inside it.&lt;br /&gt;
&lt;br /&gt;
At this point if the program exits, I simply set the second class to "Nothing", but does that free everything?  How about a simple call to "free" like every other language out there?  I also can't find info on implementing a destructor in VB, which is confusing as heck because you have to have a constructor!&lt;br /&gt;
&lt;pre class="sourcecode"&gt;
Public Class mainForm
  Private gameObject As gameClass

  Private Sub mainForm_Load(...) Handles ...
    Try
      Me.gameObject = New gameClass
    Catch
      Application.Exit()
    End Try
  End Sub

  Public Sub exitButton_Click(...) Handles ...
    Me.gameObject = Nothing 'Does this free it like free() in C?
  End Sub
End Class
&lt;/pre&gt;&lt;br /&gt;
So is this freeing everything, or should I write a method in the gameClass object that I can call to set the three custom classes in it to "Nothing" before closing?  This is just a huge gray area right now and I just need to know how and when to use dispose, or how to write a destructor.&lt;br /&gt;
&lt;br /&gt;
Oh, and what happens if the program closes in another way, such as the user clicking the X in the upper-right of the window?  My code wouldn't even set the gameObject to "Nothing"!&lt;br /&gt;
&lt;br /&gt;
-&lt;em&gt;&lt;strong&gt;&lt;span style="color: Red;"&gt;S&lt;/span&gt;&lt;span style="color: Purple;"&gt;e&lt;/span&gt;&lt;span style="color: Blue;"&gt;p&lt;/span&gt;&lt;span style="color: Green;"&gt;h&lt;/span&gt;&lt;span style="color: Red;"&gt;i&lt;/span&gt;&lt;span style="color: Purple;"&gt;r&lt;/span&gt;&lt;span style="color: Blue;"&gt;o&lt;/span&gt;&lt;span style="color: Green;"&gt;t&lt;/span&gt;&lt;span style="color: Red;"&gt;h&lt;/span&gt;&lt;/strong&gt;&lt;/em&gt;</description>
      <pubDate>Sun, 08 Jun 2008 08:57:10 -0700</pubDate>
      <category>Basic</category>
    </item>
    <item>
      <title>Multiple variable-types in a function?</title>
      <link>http://www.programmersheaven.com/mb/basic/372483/372483/multiple-variable-types-in-a-function/</link>
      <description>I need to pass a short value and then a value of any stock type to a function and am having difficulty figuring out how to do so.  I could overload the function a billion times, but that's wasteful.  I have read that you can pass the "Object" class in place of anything, but how do I then determine what was passed?  For example, I might call the function with a short and a string one time, but a short and an integer the next time.  How is this done in VB.NET?&lt;br /&gt;
&lt;br /&gt;
-&lt;em&gt;&lt;strong&gt;&lt;span style="color: Red;"&gt;S&lt;/span&gt;&lt;span style="color: Purple;"&gt;e&lt;/span&gt;&lt;span style="color: Blue;"&gt;p&lt;/span&gt;&lt;span style="color: Green;"&gt;h&lt;/span&gt;&lt;span style="color: Red;"&gt;i&lt;/span&gt;&lt;span style="color: Purple;"&gt;r&lt;/span&gt;&lt;span style="color: Blue;"&gt;o&lt;/span&gt;&lt;span style="color: Green;"&gt;t&lt;/span&gt;&lt;span style="color: Red;"&gt;h&lt;/span&gt;&lt;/strong&gt;&lt;/em&gt;</description>
      <pubDate>Sat, 07 Jun 2008 12:41:50 -0700</pubDate>
      <category>Basic</category>
    </item>
    <item>
      <title>String.Remove(int) broken?</title>
      <link>http://www.programmersheaven.com/mb/basic/372437/372437/stringremoveint-broken/</link>
      <description>Alright, I need to strip the four-character extension from the end of a filename, but VB.NET 2005 seems to have broken the "Remove()" method for strings.  If not, what is wrong here.  If it is broken, how the heck can I do this?  In C++ it's simple, but VB.NET makes it hard by using a string class.&lt;br /&gt;
&lt;pre class="sourcecode"&gt;
'Setup the configuration filename
arrayString = Me.exeString.Split("\".ToCharArray())
fileString = ".\Config\" &amp;amp; arrayString(arrayString.Length() - 1)
fileString.Remove(fileString.Length() - 4)
fileString += ".486"
&lt;/pre&gt;&lt;br /&gt;
Assume that "Me.exeString" was set to "C:\MyApp\MyApp.exe" for this example.  The "fileString" variable is somehow being set to "MyApp.exe.486" instead of "MyApp.486" even though I have used the remove method to strip the last four characters from the string.  Ideas?&lt;br /&gt;
&lt;br /&gt;
-&lt;em&gt;&lt;strong&gt;&lt;span style="color: Red;"&gt;S&lt;/span&gt;&lt;span style="color: Purple;"&gt;e&lt;/span&gt;&lt;span style="color: Blue;"&gt;p&lt;/span&gt;&lt;span style="color: Green;"&gt;h&lt;/span&gt;&lt;span style="color: Red;"&gt;i&lt;/span&gt;&lt;span style="color: Purple;"&gt;r&lt;/span&gt;&lt;span style="color: Blue;"&gt;o&lt;/span&gt;&lt;span style="color: Green;"&gt;t&lt;/span&gt;&lt;span style="color: Red;"&gt;h&lt;/span&gt;&lt;/strong&gt;&lt;/em&gt;</description>
      <pubDate>Thu, 05 Jun 2008 11:00:30 -0700</pubDate>
      <category>Basic</category>
    </item>
  </channel>
</rss>