<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>'HELP with Program' Thread RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the thread 'HELP with Program' posted on the 'Visual Basic' forum at Programmer's Heaven.</description>
    <language>en</language>
    <copyright>Copyright 2013 Programmers Heaven</copyright>
    <pubDate>Sat, 25 May 2013 22:53:31 -0700</pubDate>
    <lastBuildDate>Sat, 25 May 2013 22:53:31 -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>HELP with Program</title>
      <link>http://www.programmersheaven.com/mb/VBasic/421809/421809/help-with-program/</link>
      <description>I have a program that I need help with.&lt;br /&gt;
&lt;br /&gt;
Write a program that allows the user to use a button to toggle the color of  &lt;br /&gt;
the text in a text box between black and red.&lt;br /&gt;
&lt;br /&gt;
Can anyone help? &lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/VBasic/421809/421809/help-with-program/</guid>
      <pubDate>Thu, 17 Feb 2011 09:43:10 -0700</pubDate>
      <category>Visual Basic</category>
    </item>
    <item>
      <title>Re: HELP with Program</title>
      <link>http://www.programmersheaven.com/mb/VBasic/421809/421829/re-help-with-program/#421829</link>
      <description>You could declare a boolean and set its initial value to true or false. under the button's onclick event, check the boolean with an if/else; for example, if it's true, set the color to black or if it's false, set the color to red. before the exiting the sub, negate the boolean.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/VBasic/421809/421829/re-help-with-program/#421829</guid>
      <pubDate>Fri, 18 Feb 2011 07:17:47 -0700</pubDate>
      <category>Visual Basic</category>
    </item>
    <item>
      <title>Re: HELP with Program</title>
      <link>http://www.programmersheaven.com/mb/VBasic/421809/422252/re-help-with-program/#422252</link>
      <description>&lt;span style="color: Blue;"&gt;Private Sub&lt;/span&gt; Button2_Click(&lt;span style="color: Black;"&gt;ByVal&lt;/span&gt; sender &lt;span style="color: Blue;"&gt;As&lt;/span&gt; System.&lt;span style="color: Green;"&gt;Object&lt;/span&gt;, ByVal e _&lt;br /&gt;
                          &lt;span style="color: Blue;"&gt;As&lt;/span&gt; System.&lt;span style="color: Green;"&gt;EventArgs&lt;/span&gt;) &lt;span style="color: Blue;"&gt;Handles&lt;/span&gt; Button2.Click&lt;br /&gt;
    &lt;span style="color: Blue;"&gt;If&lt;/span&gt; TextBox1.ForeColor = &lt;span style="color: Green;"&gt;Color&lt;/span&gt;.Red Then&lt;br /&gt;
        TextBox1.ForeColor = &lt;span style="color: Green;"&gt;Color&lt;/span&gt;.Black&lt;br /&gt;
    &lt;span style="color: Blue;"&gt;Else&lt;/span&gt;&lt;br /&gt;
        TextBox1.ForeColor = &lt;span style="color: Green;"&gt;Color&lt;/span&gt;.Red&lt;br /&gt;
    &lt;span style="color: Blue;"&gt;End If&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: Blue;"&gt;End Sub&lt;/span&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/VBasic/421809/422252/re-help-with-program/#422252</guid>
      <pubDate>Tue, 08 Mar 2011 03:48:43 -0700</pubDate>
      <category>Visual Basic</category>
    </item>
    <item>
      <title>Re: HELP with Program</title>
      <link>http://www.programmersheaven.com/mb/VBasic/421809/422539/re-help-with-program/#422539</link>
      <description>It will work without "Else&lt;br /&gt;
TextBox1.ForeColor = Color.Red"&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: Grey;"&gt;&lt;span style="font-size: xx-small;"&gt;&lt;a href="http://www.badgerbadgerbadger.com/"&gt;aplikacje internetowe&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/VBasic/421809/422539/re-help-with-program/#422539</guid>
      <pubDate>Thu, 17 Mar 2011 15:52:02 -0700</pubDate>
      <category>Visual Basic</category>
    </item>
  </channel>
</rss>