<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- generator="FeedCreator 1.7.2" -->
<rss version="2.0">
    <channel>
        <title>Lowyat.NET: Latest topics in Codemasters</title>
        <description></description>
        <link>http://forum.lowyat.net/</link>
        <lastBuildDate>Sun, 22 Nov 2009 15:54:58 +0800</lastBuildDate>
        <generator>FeedCreator 1.7.2</generator>
        <item>
            <title>PIC 16F877A, </title>
            <link>http://forum.lowyat.net/topic/1235736</link>
            <description>my lecturer giv an assigmnet about PIC coding,but didnt teach us anything about it &lt;!--emo&amp;:stars:--&gt;&lt;img src='http://static.lowyat.net/style_emoticons/default/rclxub.gif' border='0' style='vertical-align:middle' alt='rclxub.gif' /&gt;&lt;!--endemo--&gt; &lt;br /&gt;&lt;br /&gt;so here is the question,hope sifu-sifu here can giv me some idea.....&lt;br /&gt;&lt;br /&gt;-PIC 16F877A&lt;br /&gt;-use C language&lt;br /&gt;-control lamp by using a suis &lt;br /&gt;-buzzer active 1 minute when daylight.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;tqtqtq......</description>
            <author>kphang</author>
            <pubDate>Sun, 22 Nov 2009 14:25:01 +0800</pubDate>
        </item>
        <item>
            <title>Looking for free forum template + code, </title>
            <link>http://forum.lowyat.net/topic/1235644</link>
            <description>Anyone here run a forum b4?&lt;br /&gt;Knw where to find forum template that can be use for ownself?&lt;br /&gt;Better if got the template code along that can modify &lt;br /&gt;&lt;br /&gt;I search in google with &amp;#39;free forum template&amp;#39; but either found need to purchase or other stuff</description>
            <author>anti-informatic</author>
            <pubDate>Sun, 22 Nov 2009 12:40:45 +0800</pubDate>
        </item>
        <item>
            <title>My First facebook application, UTAR CGPA Calculator</title>
            <link>http://forum.lowyat.net/topic/1235566</link>
            <description>Hi guys, I&amp;#39;m a newbie in html but I&amp;#39;ve tried to learn php, java and some css codes part time online.&lt;br /&gt;&lt;br /&gt;I&amp;#39;ve just created a facebook application: &lt;br /&gt;&lt;br /&gt;&lt;a href='http://apps.facebook.com/utarcgpacalculator' target='_blank'&gt;UTAR CGPA Calculator&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This application is used for utar students to calculate their target cgpa and required gpa to achieve that.&lt;br /&gt;&lt;br /&gt;Please tell you where to improve after you&amp;#39;ve tried it.   &lt;!--emo&amp;:rolleyes:--&gt;&lt;img src='http://static.lowyat.net/style_emoticons/default/rolleyes.gif' border='0' style='vertical-align:middle' alt='rolleyes.gif' /&gt;&lt;!--endemo--&gt; currently working on other applications and learning as well.</description>
            <author>birdbirdie</author>
            <category>PHP</category>
            <pubDate>Sun, 22 Nov 2009 10:50:34 +0800</pubDate>
        </item>
        <item>
            <title>C++ Developer ?, Where can i download &amp;amp; learn</title>
            <link>http://forum.lowyat.net/topic/1235279</link>
            <description>I&amp;#39;m going to have this subject in my course and i want to get advance to know it ,therefore i can get on with it easily later  &lt;!--emo&amp;:)--&gt;&lt;img src='http://static.lowyat.net/style_emoticons/default/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /&gt;&lt;!--endemo--&gt;</description>
            <author>singdreams</author>
            <category>C++</category>
            <pubDate>Sat, 21 Nov 2009 23:17:48 +0800</pubDate>
        </item>
        <item>
            <title>List Generic help, C#</title>
            <link>http://forum.lowyat.net/topic/1235132</link>
            <description>// I am beginner on C#, i wish to get the data from DB, the put it into the datagrid, i am using wpf (C#), the program basically is able to run but i cannot return the result dynamically, instead hard coded i use here, so can give me some of the idea how to return the result dynamically, pls refer the comment inside the data file&lt;br /&gt;&lt;br /&gt;//Main file&lt;br /&gt;&lt;br /&gt;using System;&lt;br /&gt;using System.Data;&lt;br /&gt;using System.IO;&lt;br /&gt;using System.Net;&lt;br /&gt;using System.Windows;&lt;br /&gt;using System.Windows.Controls;&lt;br /&gt;using System.Windows.Data;&lt;br /&gt;using System.Windows.Media;&lt;br /&gt;using System.Windows.Media.Animation;&lt;br /&gt;using System.Windows.Navigation;&lt;br /&gt;&lt;br /&gt;using Microsoft.Windows.Controls;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;namespace testDG&lt;br /&gt;{&lt;br /&gt;    public partial class Window1&lt;br /&gt;    {&lt;br /&gt;        //local variables&lt;br /&gt;       &lt;br /&gt;&lt;br /&gt;        public Window1()&lt;br /&gt;        {&lt;br /&gt;            this.InitializeComponent();&lt;br /&gt;&lt;br /&gt;            dg1.ItemsSource = data.GetCountryData();&lt;br /&gt;&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;//data file&lt;br /&gt;&lt;br /&gt;using System;&lt;br /&gt;using System.Collections.Generic;&lt;br /&gt;using System.Linq;&lt;br /&gt;using System.Text;&lt;br /&gt;&lt;br /&gt;using MySql.Data;&lt;br /&gt;using MySql.Data.MySqlClient;&lt;br /&gt;&lt;br /&gt;namespace testDG&lt;br /&gt;{&lt;br /&gt;    public class data&lt;br /&gt;    {&lt;br /&gt;        //define property&lt;br /&gt;        public string Code {get; set;}&lt;br /&gt;        public string Country { get; set; }&lt;br /&gt;       &lt;br /&gt;&lt;br /&gt;        public data(string cd, string ct)&lt;br /&gt;        {&lt;br /&gt;            this.Code = cd;&lt;br /&gt;            this.Country = ct;&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;        public static List&amp;lt;data&amp;gt; GetCountryData()&lt;br /&gt;        {&lt;br /&gt;&lt;br /&gt;// when i code &amp;quot;new data[intVar]&amp;quot;, it prompt me to use const var, instead of local var, but i will count the DB only can know got how many records, so const is impossible right? then &amp;quot;new data[4]{ using loop here  }&amp;quot;, it&amp;#39;s prompt me invalid to use loop at here, so any other ways i can return the value dynamically? Pls help..thx&lt;br /&gt;           &lt;br /&gt;&lt;br /&gt;            return new List&amp;lt;data&amp;gt;(new data[4]&lt;br /&gt;            {&lt;br /&gt;                new data(&amp;quot;1&amp;quot;, &amp;quot;Malaysia&amp;quot;),&lt;br /&gt;                new data(&amp;quot;2&amp;quot;, &amp;quot;HK&amp;quot;),&lt;br /&gt;                new data(&amp;quot;3&amp;quot;, &amp;quot;China&amp;quot;)&lt;br /&gt;                new data(&amp;quot;4&amp;quot;, &amp;quot;Singapore&amp;quot;)           &lt;br /&gt;               &lt;br /&gt;            });&lt;br /&gt;&lt;br /&gt;           &lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;    }&lt;br /&gt;}</description>
            <author>falconLee</author>
            <category>.NET</category>
            <pubDate>Sat, 21 Nov 2009 21:08:18 +0800</pubDate>
        </item>
        <item>
            <title>CDO.Message.1 The transport failed to connect, </title>
            <link>http://forum.lowyat.net/topic/1234911</link>
            <description>hi all,&lt;br /&gt;i am newbie for the asp. i was trying to send email from ASP, but i encountered the error as below:-&lt;br /&gt;&lt;br /&gt;CDO.Message.1 (0x80040213) The transport failed to connect to the server. &lt;br /&gt;&lt;br /&gt;i already google about the error and tried to fix error, but seems like the error unable to solve.&lt;br /&gt;Hope that someone can help me with the error. thanks a lot in advance.&lt;br /&gt;below are the codes that i applied....&lt;br /&gt;-----------------------------------------------------------------------------------------------------------------&lt;br /&gt;[bad html removed]METADATA TYPE=&amp;quot;typelib&amp;quot; UUID=&amp;quot;CD000000-8B95-11D1-82DB-00C04FB1625D&amp;quot; NAME=&amp;quot;CDO for Windows 2000 Library&amp;quot; --&amp;#62;&lt;br /&gt;[bad html removed]METADATA TYPE=&amp;quot;typelib&amp;quot; UUID=&amp;quot;00000205-0000-0010-8000-00AA006D2EA4&amp;quot; NAME=&amp;quot;ADODB Type Library&amp;quot; --&amp;#62;&lt;br /&gt;&lt;br /&gt;&amp;lt;%&lt;br /&gt;&lt;br /&gt;&amp;#39;Const cdoSendUsingMethod = _&lt;br /&gt;&amp;#39; &amp;quot;http://schemas.microsoft.com/cdo/configuration/sendusing&amp;quot;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Const cdoSendUsingMethod1 = &amp;quot;http://schemas.microsoft.com/cdo/configuration/sendusing&amp;quot; &lt;br /&gt;&lt;br /&gt;Const cdoSendUsingPort1 = 2&lt;br /&gt;Const cdoSMTPServer1 = _&lt;br /&gt;&amp;quot;http://schemas.microsoft.com/cdo/configuration/smtpserver&amp;quot;&lt;br /&gt;Const cdoSMTPServerPort1 = _&lt;br /&gt;&amp;quot;http://schemas.microsoft.com/cdo/configuration/smtpserverport&amp;quot;&lt;br /&gt;Const cdoSMTPConnectionTimeout1 = _&lt;br /&gt;&amp;quot;http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout&amp;quot;&lt;br /&gt;Const cdoSMTPAuthenticate1 = _&lt;br /&gt;&amp;quot;http://schemas.microsoft.com/cdo/configuration/smtpauthenticate&amp;quot;&lt;br /&gt;Const cdoBasic1 = 1&lt;br /&gt;Const cdoSendUserName1 = _&lt;br /&gt;&amp;quot;http://schemas.microsoft.com/cdo/configuration/sendusername&amp;quot;&lt;br /&gt;Const cdoSendPassword1 = _&lt;br /&gt;&amp;quot;http://schemas.microsoft.com/cdo/configuration/sendpassword&amp;quot;&lt;br /&gt;&lt;br /&gt;Dim objConfig &amp;#39; As CDO.Configuration&lt;br /&gt;Dim objMessage &amp;#39; As CDO.Message&lt;br /&gt;Dim Fields &amp;#39; As ADODB.Fields&lt;br /&gt;&lt;br /&gt;&amp;#39; Get a handle on the config object and it&amp;#39;s fields&lt;br /&gt;Set objConfig = Server.CreateObject(&amp;quot;CDO.Configuration&amp;quot;)&lt;br /&gt;Set Fields = objConfig.Fields&lt;br /&gt;&lt;br /&gt;&amp;#39; Set config fields we care about&lt;br /&gt;With Fields&lt;br /&gt;.Item(cdoSendUsingMethod1) = cdoSendUsingPort1&lt;br /&gt;.Item(cdoSMTPServer1) = &amp;quot;smtp.gmail.com.&amp;quot;&lt;br /&gt;.Item(cdoSMTPServerPort1) = 465&lt;br /&gt;&amp;#39;gmail also .Item(cdoSMTPServerPort1) = 465&lt;br /&gt;.Item(cdoSMTPConnectionTimeout1) = 10&lt;br /&gt;.Item(cdoSMTPAuthenticate1) = cdoBasic1&lt;br /&gt;.Item(cdoSendUserName1) = &amp;quot;me@gmail.com&amp;quot;&lt;br /&gt;.Item(cdoSendPassword1) = &amp;quot;xxxxxxxx&amp;quot;&lt;br /&gt;&lt;br /&gt;.Update&lt;br /&gt;End With&lt;br /&gt;&lt;br /&gt;Set objMessage = Server.CreateObject(&amp;quot;CDO.Message&amp;quot;)&lt;br /&gt;&lt;br /&gt;Set objMessage.Configuration = objConfig&lt;br /&gt;&lt;br /&gt;With objMessage&lt;br /&gt;.To = &amp;quot;me@yahoo.com&amp;quot;&lt;br /&gt;.From = &amp;quot;me@gmail.com&amp;quot;&lt;br /&gt;.Subject = &amp;quot;SMTP Relay Test&amp;quot;&lt;br /&gt;.TextBody = &amp;quot;SMTP Relay Test Sent @ &amp;quot; &amp;amp; Now()&lt;br /&gt;.Send&lt;br /&gt;End With&lt;br /&gt;&lt;br /&gt;Set Fields = Nothing&lt;br /&gt;Set objMessage = Nothing&lt;br /&gt;Set objConfig = Nothing&lt;br /&gt;%&amp;gt;</description>
            <author>h3llboyz</author>
            <pubDate>Sat, 21 Nov 2009 16:46:42 +0800</pubDate>
        </item>
        <item>
            <title>VB Question, Trying to figure out solution&amp;#33;</title>
            <link>http://forum.lowyat.net/topic/1234595</link>
            <description>Okay, here I go again.&lt;br /&gt;&lt;br /&gt;The application should also be able to calculate the total time the child spends in the centre for a particular day. The charge for a child is &lt;span style='color:red'&gt;RM 4.25 per hour from 8am to 5pm&lt;/span&gt; and &lt;span style='color:purple'&gt;RM 5.50 per hour after 5pm to 8pm&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;How does I code the If Statement so that if people are entering the time from 8 to 6 (10 hours), the code will count the 9 first hours according to first rate, and the remaining 1 hour to the second rate.&lt;br /&gt;&lt;br /&gt;Pease take note that TimeIn and TimeOut is text area, so any time can be entered.</description>
            <author>emino</author>
            <category>VB</category>
            <pubDate>Sat, 21 Nov 2009 10:54:45 +0800</pubDate>
        </item>
        <item>
            <title>Make my code difficult to newbies, </title>
            <link>http://forum.lowyat.net/topic/1234364</link>
            <description>I have a problem with my studies currently...&lt;br /&gt;&lt;br /&gt;Whenever I complete any of my programming work... The next thing is, my course mate will read my codes and do something similar or get the idea from me... (sometimes unknowingly they read it)&lt;br /&gt;&lt;br /&gt;What should I do to make my codes difficult to understand for newbies but a lecturer could still understand what I wrote? I have enough of copy paste codes.&lt;br /&gt;&lt;br /&gt;I never follow the textbook, and my codes are always unique... but when they copy part of it, the originality is gone.</description>
            <author>HeHeHunter</author>
            <pubDate>Sat, 21 Nov 2009 00:08:43 +0800</pubDate>
        </item>
        <item>
            <title>jQuery class adding help, might squeeze some juices from your mind</title>
            <link>http://forum.lowyat.net/topic/1234135</link>
            <description>I&amp;#39;m trying to add TD&amp;#39;s name to their own respective TD&amp;#39;s class.&lt;br /&gt;&lt;br /&gt;consider the example below:&lt;br /&gt;&lt;br /&gt;before:&lt;br /&gt;&amp;lt;td name=&amp;quot;test1&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;&amp;lt;td name=&amp;quot;test2&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;&lt;br /&gt;after:&lt;br /&gt;&amp;lt;td class=&amp;quot;test1&amp;quot; name=&amp;quot;test1&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;&amp;lt;td class=&amp;quot;test2&amp;quot; name=&amp;quot;test2&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;&lt;br /&gt;var table_tr = &amp;#036;&amp;#40;&amp;#34;#table tr&amp;#34;&amp;#41;;&lt;br /&gt;var table_td = table_tr.children&amp;#40;&amp;#34;td&amp;#34;&amp;#41;;&lt;br /&gt;table_td.addClass&amp;#40;&amp;#036;&amp;#40;this&amp;#41;.attr&amp;#40;&amp;#34;name&amp;#34;&amp;#41;&amp;#41;;&lt;br /&gt;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt;sample code above is just a rough example which is not a working copy.&lt;br /&gt;Problem lies on the 3rd line, the &amp;quot;this&amp;quot; just not refering to each &amp;quot;td&amp;quot;.&lt;br /&gt;&lt;br /&gt;any great solution without using any loop? thanks&amp;#33; &lt;!--emo&amp;:D--&gt;&lt;img src='http://static.lowyat.net/style_emoticons/default/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif' /&gt;&lt;!--endemo--&gt;&lt;br /&gt;&lt;br /&gt;[addedon]November 20, 2009, 7:57 pm[/addedon]or I may simplify my problem. since table_td carrying an array of TDs, Any way could make me to use &amp;#036;(this) as a reference pointer to each TD object? thanks&amp;#33; &lt;!--emo&amp;:D--&gt;&lt;img src='http://static.lowyat.net/style_emoticons/default/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif' /&gt;&lt;!--endemo--&gt;&lt;br /&gt;&lt;br /&gt;[addedon]November 20, 2009, 8:04 pm[/addedon]oh forget it. found my solution. hehe. no person to thanks here. Thanks to myself then. &lt;!--emo&amp;:lol:--&gt;&lt;img src='http://static.lowyat.net/style_emoticons/default/laugh.gif' border='0' style='vertical-align:middle' alt='laugh.gif' /&gt;&lt;!--endemo--&gt;</description>
            <author>choongyouqi</author>
            <category>JavaScript</category>
            <pubDate>Fri, 20 Nov 2009 19:52:33 +0800</pubDate>
        </item>
        <item>
            <title>Discuz Forum Warning system or Plug-In, </title>
            <link>http://forum.lowyat.net/topic/1233840</link>
            <description>Hi all,&lt;br /&gt;&lt;br /&gt;Im wonderring whether is there a warning system plugin on the Discuz forum board something like the LYN forum? This is to enable the mods/admins to issue warnings or suspensions to user accounts.&lt;br /&gt;&lt;br /&gt;I did google and found nothing at all.&lt;br /&gt;&lt;br /&gt;Any ideas?&lt;br /&gt;&lt;br /&gt;Thanks</description>
            <author>ahhoe80</author>
            <category>PHP</category>
            <pubDate>Fri, 20 Nov 2009 14:41:17 +0800</pubDate>
        </item>
        <item>
            <title>VB6 help needed, Querying an item in Array</title>
            <link>http://forum.lowyat.net/topic/1233760</link>
            <description>Hey guys, Im stuck with my assignment.&lt;br /&gt;&lt;br /&gt;Lets say we have an array:&lt;br /&gt;&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;Dim ArrayName&amp;#40;5&amp;#41; As String&lt;br /&gt;Dim ArrayRemaining&amp;#40;5&amp;#41; As String&lt;br /&gt;&lt;br /&gt;ArrayName&amp;#40;0&amp;#41; = &amp;#34;Bin&amp;#34;&lt;br /&gt;ArrayName&amp;#40;1&amp;#41; = &amp;#34;1&amp;#34;&lt;br /&gt;ArrayName&amp;#40;2&amp;#41; = &amp;#34;2&amp;#34;&lt;br /&gt;ArrayName&amp;#40;3&amp;#41; = &amp;#34;3&amp;#34;&lt;br /&gt;ArrayName&amp;#40;4&amp;#41; = &amp;#34;4&amp;#34;&lt;br /&gt;ArrayName&amp;#40;5&amp;#41; = &amp;#34;5&amp;#34;&lt;br /&gt;&lt;br /&gt;ArrayRemaining&amp;#40;0&amp;#41; = &amp;#34;Quantity Remaining&amp;#34;&lt;br /&gt;ArrayRemaining&amp;#40;1&amp;#41; = Bin1&lt;br /&gt;ArrayRemaining&amp;#40;2&amp;#41; = Bin2&lt;br /&gt;ArrayRemaining&amp;#40;3&amp;#41; = Bin3&lt;br /&gt;ArrayRemaining&amp;#40;4&amp;#41; = Bin4&lt;br /&gt;ArrayRemaining&amp;#40;5&amp;#41; = Bin5&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;ArrayRevenue&amp;#40;0&amp;#41; = &amp;#34;Revenue&amp;#34;&lt;br /&gt;ArrayRevenue&amp;#40;1&amp;#41; = FormatCurrency&amp;#40;Cash1, 2, True, True, True&amp;#41;&lt;br /&gt;ArrayRevenue&amp;#40;2&amp;#41; = FormatCurrency&amp;#40;Cash2, 2, True, True, True&amp;#41;&lt;br /&gt;ArrayRevenue&amp;#40;3&amp;#41; = FormatCurrency&amp;#40;Cash3, 2, True, True, True&amp;#41;&lt;br /&gt;ArrayRevenue&amp;#40;4&amp;#41; = FormatCurrency&amp;#40;Cash4, 2, True, True, True&amp;#41;&lt;br /&gt;ArrayRevenue&amp;#40;5&amp;#41; = FormatCurrency&amp;#40;Cash5, 2, True, True, True&amp;#41;&lt;br /&gt;&lt;br /&gt;For i = 0 To 5&lt;br /&gt;picOutput.Print &amp;#40;ArrayName&amp;#40;i&amp;#41; &amp;amp; ArrayRemaining&amp;#40;i&amp;#41; &amp;amp; ArrayRevenue&amp;#40;i&amp;#41;&amp;#41;&lt;br /&gt;Next&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt;Someone is entering a search for ArrayName = &amp;quot;3&amp;quot;&lt;br /&gt;&lt;br /&gt;How does we took out all item number 3 from each row?</description>
            <author>emino</author>
            <pubDate>Fri, 20 Nov 2009 13:33:54 +0800</pubDate>
        </item>
        <item>
            <title>Script to clear IE6 cache, </title>
            <link>http://forum.lowyat.net/topic/1233632</link>
            <description>As the topic goes, any idea how to clear IE6 cache via scripting ONLY ?</description>
            <author>unrealweapon</author>
            <pubDate>Fri, 20 Nov 2009 11:34:54 +0800</pubDate>
        </item>
        <item>
            <title>How to Git?, </title>
            <link>http://forum.lowyat.net/topic/1233303</link>
            <description>how?</description>
            <author>masahito</author>
            <pubDate>Fri, 20 Nov 2009 00:34:37 +0800</pubDate>
        </item>
        <item>
            <title>What&amp;#39;s ur fave solution for drop-down/fly-out nav?, For CSS/Web Designers</title>
            <link>http://forum.lowyat.net/topic/1233220</link>
            <description>Hi everyone,&lt;br /&gt;&lt;br /&gt;I&amp;#39;m running a poll to see what are CSS designers fave solution when handling drop-down and fly-out menus. Would love to see your responses and hope we can all learn from one another&lt;br /&gt;&lt;br /&gt;Cheers &lt;!--emo&amp;:D--&gt;&lt;img src='http://static.lowyat.net/style_emoticons/default/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif' /&gt;&lt;!--endemo--&gt;&lt;br /&gt;&lt;br /&gt;Participate in the poll &lt;a href='http://tinyurl.com/ycv9s5m' target='_blank'&gt;here&lt;/a&gt; (I&amp;#39;m using this so that I can monitor the results from all sources) - spread it around to your fellow designer friends as well&amp;#33;&lt;br /&gt;</description>
            <author>bitterpillsweet</author>
            <pubDate>Thu, 19 Nov 2009 23:27:44 +0800</pubDate>
        </item>
        <item>
            <title>Increasing number, </title>
            <link>http://forum.lowyat.net/topic/1233130</link>
            <description>Hi, I would like to know how to write the code for increasing number.&lt;br /&gt;&lt;br /&gt;For example. When I type a number in a textbox, after I pressed a button, it will increase from the number I&amp;#39;ve typed in the textbox with 1. &lt;br /&gt;&lt;br /&gt;For example : 100&lt;br /&gt;&lt;br /&gt;101&lt;br /&gt;102&lt;br /&gt;103... to infinity&lt;br /&gt;&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt; Dim n As Integer&lt;br /&gt;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;For n = 1 To 999999 Step 1&lt;br /&gt;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Next&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SendKeys.Send&amp;#40;Int&amp;#40;&amp;#40;TextBox2.Text + n&amp;#41;&amp;#41;&amp;#41;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SendKeys.Send&amp;#40;&amp;#34;{enter}&amp;#34;&amp;#41;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SendKeys.Send&amp;#40;&amp;#34;{enter}&amp;#34;&amp;#41;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Can help to correct my coding?&lt;br /&gt;&lt;br /&gt;Thanks</description>
            <author>lswang</author>
            <pubDate>Thu, 19 Nov 2009 22:11:34 +0800</pubDate>
        </item>
        <item>
            <title>~deleted~, </title>
            <link>http://forum.lowyat.net/topic/1232983</link>
            <description>~delete~</description>
            <author>mkei87</author>
            <pubDate>Thu, 19 Nov 2009 19:36:31 +0800</pubDate>
        </item>
        <item>
            <title>date time picker, </title>
            <link>http://forum.lowyat.net/topic/1232886</link>
            <description>I saw a date time picker here.. I downloaded n i included all the file...  bt it donts eem to work y a???&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href='http://home.jongsma.org/software/js/datepicker' target='_blank'&gt;http://home.jongsma.org/software/js/datepicker&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This is my code tat i use...&lt;br /&gt;&lt;br /&gt;I m using a asp page&lt;br /&gt;&lt;br /&gt;test.asp&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;&amp;#60;script type=&amp;#34;text/javascript&amp;#34; language=&amp;#34;javascript&amp;#34; src=&amp;#34;/bluecow/conman/xxxxx/xxxx/xxx/xxx/prototype-date-extensions.js&amp;#34;&amp;#62;&amp;#60;/script&amp;#62;&lt;br /&gt;&amp;#60;script type=&amp;#34;text/javascript&amp;#34; language=&amp;#34;javascript&amp;#34; src=&amp;#34;/bluecow/conman/xxxxx/xxxx/xxx/xxx/datepicker.js&amp;#34;&amp;#62;&amp;#60;/script&amp;#62; &lt;br /&gt;&amp;#60;link rel=&amp;#34;stylesheet&amp;#34; href=&amp;#34;/bluecow/conman/xxxxx/xxxx/xxx/xxx/datepicker.js&amp;#34; /&amp;#62;&lt;br /&gt;&lt;br /&gt;&amp;#60;script type=&amp;#34;text/javascript&amp;#34;&amp;#62;&lt;br /&gt;	new Control.DatePicker&amp;#40;&amp;#39;my_datepicker&amp;#39;, {icon&amp;#58; &amp;#39;calendar.png&amp;#39;}&amp;#41;;&lt;br /&gt;	new Control.DatePicker&amp;#40;&amp;#39;my_datepicker&amp;#39;, {icon&amp;#58; &amp;#39;calendar.png&amp;#39;,&lt;br /&gt;	timePicker&amp;#58; true, timePickerAdjacent&amp;#58; true}&amp;#41;;&lt;br /&gt;&amp;#60;/script&amp;#62;&lt;br /&gt;&lt;br /&gt;&amp;#60;form &amp;#62; &lt;br /&gt; &amp;#60;input type=&amp;#34;text&amp;#34;  onclick=&amp;#34;datepicker&amp;#40;&amp;#41;&amp;#34; /&amp;#62; &lt;br /&gt;&amp;#60;/form&amp;#62; &lt;br /&gt; &lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;</description>
            <author>elite87</author>
            <category>JavaScript</category>
            <pubDate>Thu, 19 Nov 2009 17:54:25 +0800</pubDate>
        </item>
        <item>
            <title>Need help with this OOP C++, help me..im in the end of the road..</title>
            <link>http://forum.lowyat.net/topic/1232650</link>
            <description>This is the question&lt;br /&gt;&lt;!--SPOILER BEGIN--&gt;&lt;div class=&quot;spoilertop&quot; onClick=&quot;openClose('f03d67afde947f68f29a89101259861a')&quot; style=&quot;font-weight: bold&quot;&gt;&lt;u&gt;&amp;raquo; Click to show Spoiler - click again to hide... &amp;laquo;&lt;/u&gt;&lt;/div&gt;&lt;div class=&quot;spoilermain&quot; id=&quot;f03d67afde947f68f29a89101259861a&quot; style=&quot;display:none&quot;&gt;&lt;!--SPOILER END--&gt;You are asked to create two classes:&lt;br /&gt;a)	Class Course with attributes course code and faculty code&lt;br /&gt;b)	Class student with attributes studentID, name and an object of course class &lt;br /&gt;c)	Write a member function for class student that will access and display a student’s ID and name and his/her course code and faculty code.&lt;br /&gt;d)	Then create a main function that will instantiate the class student and send the message to display student’s id and name and his/her course and faculty.&lt;!--SPOILER DIV--&gt;&lt;/div&gt;&lt;!--SPOILER DIV--&gt;&lt;br /&gt;&lt;br /&gt;This is what I do:&lt;br /&gt;&lt;br /&gt;&lt;!--SPOILER BEGIN--&gt;&lt;div class=&quot;spoilertop&quot; onClick=&quot;openClose('e2e4859f796dcc6959cacf3928974b9f')&quot; style=&quot;font-weight: bold&quot;&gt;&lt;u&gt;&amp;raquo; Click to show Spoiler - click again to hide... &amp;laquo;&lt;/u&gt;&lt;/div&gt;&lt;div class=&quot;spoilermain&quot; id=&quot;e2e4859f796dcc6959cacf3928974b9f&quot; style=&quot;display:none&quot;&gt;&lt;!--SPOILER END--&gt;#include&amp;lt;iostream&amp;gt;&lt;br /&gt;#include&amp;lt;string&amp;gt;&lt;br /&gt;#include&amp;lt;vector&amp;gt;&lt;br /&gt;&lt;br /&gt;class course&lt;br /&gt;{&lt;br /&gt;Public:&lt;br /&gt;	course::course(string courseName)&lt;br /&gt;	{&lt;br /&gt;		name=courseName;&lt;br /&gt;	}&lt;br /&gt;	string course::getName()&lt;br /&gt;	{&lt;br /&gt;		return name;&lt;br /&gt;	}&lt;br /&gt;	&lt;br /&gt;	void course::CourseCode(int courseCode)&lt;br /&gt;	{&lt;br /&gt;		t.push_back(courseCode);&lt;br /&gt;	}&lt;br /&gt;	int course::getCourseCode()&lt;br /&gt;	{&lt;br /&gt;		return courseCode; &lt;br /&gt;	}&lt;br /&gt;	&lt;br /&gt;	void course::FacultyCode(int facultyCode)&lt;br /&gt;	{&lt;br /&gt;		t.push_back(facultyCode);&lt;br /&gt;	}&lt;br /&gt;	int course::getFacultyCode()&lt;br /&gt;	{&lt;br /&gt;		return facultyCode;&lt;br /&gt;	}&lt;br /&gt;&lt;br /&gt;	void course::setAverage(int a, int b, int c)&lt;br /&gt;	{&lt;br /&gt;		t.push_back(a);&lt;br /&gt;		t.push_back(b);&lt;br /&gt;		t.push_back&amp;copy;;&lt;br /&gt;	}&lt;br /&gt;	int course::getAverage(int average)&lt;br /&gt;	{&lt;br /&gt;		average=(a+b+c)/3&lt;br /&gt;		return  average;&lt;br /&gt;	}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;private:&lt;br /&gt;	string name;&lt;br /&gt;	string studentName;&lt;br /&gt;	int a;&lt;br /&gt;	int b;&lt;br /&gt;	int c;&lt;br /&gt;	int marks;&lt;br /&gt;	int average;&lt;br /&gt;	int courseCode;&lt;br /&gt;	int facultyCode;&lt;br /&gt;	vector&amp;lt;string&amp;gt;t;&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;class student&lt;br /&gt;{&lt;br /&gt;public:&lt;br /&gt;	void student::addStudent(string studentName)&lt;br /&gt;	{&lt;br /&gt;		c.push_back(studentName);&lt;br /&gt;	}&lt;br /&gt;	vector&amp;lt;string&amp;gt;student::getstudentName&lt;br /&gt;	{&lt;br /&gt;		return c;&lt;br /&gt;	}&lt;br /&gt;&lt;br /&gt;	int student::getNumberOfStudent()&lt;br /&gt;	{&lt;br /&gt;		return c.size();&lt;br /&gt;	}&lt;br /&gt;	void student::setStudentID(int studentID)&lt;br /&gt;	{&lt;br /&gt;		id=studentID;&lt;br /&gt;	}&lt;br /&gt;		&lt;br /&gt;	private:&lt;br /&gt;	int marks;&lt;br /&gt;	int id;&lt;br /&gt;	vector&amp;lt;string&amp;gt;c;&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;int main()&lt;br /&gt;{&lt;br /&gt;	vector&amp;lt;string&amp;gt;student;&lt;br /&gt;	course course1(&amp;quot;Assembly Language&amp;quot;);&lt;br /&gt;	course course2(&amp;quot;Data Communication And Networking&amp;quot;);&lt;br /&gt;	course course3(&amp;quot;DataBase Systems&amp;quot;);&lt;br /&gt;	course1.addStudent(&amp;quot;James Khow&amp;quot;);&lt;br /&gt;	course1.addStudent(&amp;quot;Wendy Khor&amp;quot;);&lt;br /&gt;	course2.addStudent(&amp;quot;Yuki Loh&amp;quot;);&lt;br /&gt;	course2.addStudent(&amp;quot;Evon Lim&amp;quot;);&lt;br /&gt;	course3.addStudent(&amp;quot;Grace Lim&amp;quot;);&lt;br /&gt;	course3.addStudent(&amp;quot;Steven Chua&amp;quot;);&lt;br /&gt;&lt;br /&gt;	student student1;&lt;br /&gt;	student student2;&lt;br /&gt;	student student3;&lt;br /&gt;	student1.setStudentID(&amp;quot;15535&amp;quot;);&lt;br /&gt;	student1.setStudentID(&amp;quot;16542&amp;quot;);&lt;br /&gt;	student2.setStudentID(&amp;quot;13567&amp;quot;);&lt;br /&gt;	student2.setStudentID(&amp;quot;12257&amp;quot;);&lt;br /&gt;	student3.setStudentID(&amp;quot;14789&amp;quot;);&lt;br /&gt;	student3.setStudentID(&amp;quot;12477&amp;quot;);&lt;br /&gt;&lt;br /&gt;	cout&amp;lt;&amp;lt;&amp;quot;The number of student in course1 is &amp;quot;&amp;lt;&amp;lt;course1.getNumberOfStudent&amp;lt;&amp;lt;endl;&lt;br /&gt;	for(i=0;i&amp;lt;student.getNumberOfStudent();i++)&lt;br /&gt;	{&lt;br /&gt;		cout&amp;lt;&amp;lt;students[i]&amp;lt;&amp;lt;&amp;quot;,&amp;quot;&amp;lt;&amp;lt;endl;&lt;br /&gt;	}&lt;br /&gt;	cout&amp;lt;&amp;lt;&amp;quot;The number of student in course2 is &amp;quot;&amp;lt;&amp;lt;course2.getNumberOfStudent&amp;lt;&amp;lt;endl;&lt;br /&gt;	for(i=0;i&amp;lt;student.getNumberOfStudent();i++)&lt;br /&gt;	{&lt;br /&gt;		cout&amp;lt;&amp;lt;students[i]&amp;lt;&amp;lt;&amp;quot;,&amp;quot;&amp;lt;&amp;lt;endl;&lt;br /&gt;	}&lt;br /&gt;	cout&amp;lt;&amp;lt;&amp;quot;The number of student in course3 is &amp;quot;&amp;lt;&amp;lt;course1.getNumberOfStudent&amp;lt;&amp;lt;endl;&lt;br /&gt;	for(i=0;i&amp;lt;student.getNumberOfStudent();i++)&lt;br /&gt;	{&lt;br /&gt;		cout&amp;lt;&amp;lt;students[i]&amp;lt;&amp;lt;&amp;quot;,&amp;quot;&amp;lt;&amp;lt;endl;&lt;br /&gt;	}&lt;br /&gt;	cout&amp;lt;&amp;lt;&amp;quot;The name of the course is &amp;quot;&amp;lt;&amp;lt;course1.getName()&amp;lt;&amp;lt;endl;&lt;br /&gt;	cout&amp;lt;&amp;lt;&amp;quot;The name of the course is &amp;quot;&amp;lt;&amp;lt;course2.getName()&amp;lt;&amp;lt;endl;&lt;br /&gt;	cout&amp;lt;&amp;lt;&amp;quot;The name of the course is &amp;quot;&amp;lt;&amp;lt;course3.getName()&amp;lt;&amp;lt;endl;&lt;br /&gt;&lt;br /&gt;	course1.setAverage(80,98,50);&lt;br /&gt;	cout&amp;lt;&amp;lt;&amp;quot; &amp;quot;&amp;lt;&amp;lt;course1.addStudent&amp;lt;&amp;lt;&amp;quot; &amp;quot;&amp;lt;&amp;lt;student1.setStudentID&amp;lt;&amp;lt;&amp;quot;Average is: &amp;quot;&amp;lt;&amp;lt;course1.getAverage()&amp;lt;&amp;lt;endl;&lt;br /&gt;	course1.setAverage(70,60,30);&lt;br /&gt;	cout&amp;lt;&amp;lt;&amp;quot; &amp;quot;&amp;lt;&amp;lt;course1.addStudent&amp;lt;&amp;lt;&amp;quot; &amp;quot;&amp;lt;&amp;lt;student1.setStudentID&amp;lt;&amp;lt;&amp;quot;Average is: &amp;quot;&amp;lt;&amp;lt;course1.getAverage()&amp;lt;&amp;lt;endl;&lt;br /&gt;	course2.setAverage(90,20,50);&lt;br /&gt;	cout&amp;lt;&amp;lt;&amp;quot; &amp;quot;&amp;lt;&amp;lt;course2.addStudent&amp;lt;&amp;lt;&amp;quot; &amp;quot;&amp;lt;&amp;lt;student2.setStudentID&amp;lt;&amp;lt;&amp;quot;Average is: &amp;quot;&amp;lt;&amp;lt;course2.getAverage()&amp;lt;&amp;lt;endl;&lt;br /&gt;	course2.setAverage(10,50,65);&lt;br /&gt;	cout&amp;lt;&amp;lt;&amp;quot; &amp;quot;&amp;lt;&amp;lt;course1.addStudent&amp;lt;&amp;lt;&amp;quot; &amp;quot;&amp;lt;&amp;lt;student2.setStudentID&amp;lt;&amp;lt;&amp;quot;Average is: &amp;quot;&amp;lt;&amp;lt;course2.getAverage()&amp;lt;&amp;lt;endl;&lt;br /&gt;	course3.setAverage(50,22,55);&lt;br /&gt;	cout&amp;lt;&amp;lt;&amp;quot; &amp;quot;&amp;lt;&amp;lt;course1.addStudent&amp;lt;&amp;lt;&amp;quot; &amp;quot;&amp;lt;&amp;lt;student3.setStudentID&amp;lt;&amp;lt;&amp;quot;Average is: &amp;quot;&amp;lt;&amp;lt;course3.getAverage()&amp;lt;&amp;lt;endl;&lt;br /&gt;	course3.setAverage(95,45,55);&lt;br /&gt;	cout&amp;lt;&amp;lt;&amp;quot; &amp;quot;&amp;lt;&amp;lt;course1.addStudent&amp;lt;&amp;lt;&amp;quot; &amp;quot;&amp;lt;&amp;lt;student3.setStudentID&amp;lt;&amp;lt;&amp;quot;Average is: &amp;quot;&amp;lt;&amp;lt;course3.getAverage()&amp;lt;&amp;lt;endl;&lt;br /&gt;&lt;br /&gt;	return 0;&lt;br /&gt;}&lt;!--SPOILER DIV--&gt;&lt;/div&gt;&lt;!--SPOILER DIV--&gt;&lt;br /&gt;&lt;br /&gt;after i done this,there is alot of errors..can anybody guide me??</description>
            <author>alexooi17</author>
            <category>C++</category>
            <pubDate>Thu, 19 Nov 2009 14:23:16 +0800</pubDate>
        </item>
        <item>
            <title>Need Help Solving this Matlab Problem, </title>
            <link>http://forum.lowyat.net/topic/1232577</link>
            <description>Hi,&lt;br /&gt;&lt;br /&gt;I need some help to solve this problem in matlab. I dun know hoe to code this in matlab&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;i&amp;quot;ve attached the matirx function..&lt;br /&gt;&lt;br /&gt;I need to solve the determinant of the matrix = 0&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;how do i code this in matlab???&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;THANKS...</description>
            <author>kimirai_89</author>
            <pubDate>Thu, 19 Nov 2009 13:05:25 +0800</pubDate>
        </item>
        <item>
            <title>php and mysql question, help~</title>
            <link>http://forum.lowyat.net/topic/1232556</link>
            <description>hi guys,&lt;br /&gt;&lt;br /&gt;want to ask that when i save my text to mysql, i use mysql_real_escape_string() so that user can enter double quote or etc to my sql&lt;br /&gt;&lt;br /&gt;but when i display out, i get the &amp;#092;&amp;quot;.&lt;br /&gt;&lt;br /&gt;what i want is that user enter :&lt;br /&gt;&lt;br /&gt;this is number &amp;quot;1&amp;quot;&lt;br /&gt;&lt;br /&gt;and when i display out is :&lt;br /&gt;&lt;br /&gt;this is number &amp;quot;1&amp;quot;&lt;br /&gt;&lt;br /&gt;and not :&lt;br /&gt;&lt;br /&gt;this is number &amp;#092;&amp;quot;1&amp;#092;&amp;quot;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;any help?</description>
            <author>genjo</author>
            <pubDate>Thu, 19 Nov 2009 12:49:07 +0800</pubDate>
        </item>
    </channel>
</rss>
