<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2" -->
<rss version="2.0">
    <channel>
        <title>Lowyat.NET: Latest topics by lewisksh</title>
        <description></description>
        <link>http://forum.lowyat.net/</link>
        <lastBuildDate>Sat, 01 Aug 2026 15:34:17 +0800</lastBuildDate>
        <generator>FeedCreator 1.7.2</generator>
        <item>
            <title>increase counter before call function injavascipt</title>
            <link>http://forum.lowyat.net/topic/1044267</link>
            <description>base on the code below, how do i increase a counter before call the function in javascript ?&lt;br /&gt;&lt;br /&gt; &lt;!--emo&amp;:help:--&gt;&lt;img src='http://static.lowyat.net/style_emoticons/default/icon_question.gif' border='0' style='vertical-align:middle' alt='icon_question.gif' /&gt;&lt;!--endemo--&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;&lt;br /&gt;&amp;#60;script type=&amp;#39;text/javascript&amp;#39;&amp;#62;&lt;br /&gt;&lt;br /&gt;function test&amp;#40;count,obj&amp;#41;&lt;br /&gt;{&lt;br /&gt; &amp;nbsp; if&amp;#40;count%2==0&amp;#41;&lt;br /&gt;{&lt;br /&gt;alert&amp;#40;&amp;#34;count is &amp;#34;+count&amp;#41;;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&amp;#60;/script&amp;#62;&lt;br /&gt;&lt;br /&gt;&amp;#60;?php&lt;br /&gt;&lt;br /&gt;// increase &amp;#036;count before pass the value to check&amp;#40;&amp;#41;&lt;br /&gt;for&amp;#40;&amp;#036;a=1;&amp;#036;a&amp;#60;10;&amp;#036;a++&amp;#41;&lt;br /&gt;echo &amp;#34;&amp;#60;input type=&amp;#39;image&amp;#39; BORDER =1 &amp;nbsp;name =&amp;#39;img&amp;#39;&amp;#34;.&amp;#036;a.&amp;#34; &amp;nbsp;src=&amp;#39;./ABC.JPG&amp;#39; onClick=&amp;#39;check&amp;#40;&amp;#34;.&amp;#036;count.&amp;#34;,this.name&amp;#41;&amp;#39;&amp;#62;&amp;#34;;&lt;br /&gt;&lt;br /&gt;?&amp;#62;&lt;br /&gt;&lt;br /&gt;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;</description>
            <author>lewisksh</author>
            <category>Codemasters</category>
            <pubDate>Thu, 28 May 2009 00:06:50 +0800</pubDate>
        </item>
        <item>
            <title>SQL</title>
            <link>http://forum.lowyat.net/topic/1005794</link>
            <description>&lt;!--emo&amp;:hmm:--&gt;&lt;img src='http://static.lowyat.net/style_emoticons/default/hmm.gif' border='0' style='vertical-align:middle' alt='hmm.gif' /&gt;&lt;!--endemo--&gt;  any 1 have ideas on the sql statement sql statement for &amp;quot;Friend of xxx &amp;quot; in friendster or facebook or ...... ?&lt;br /&gt;&lt;br /&gt;how to write the sql statement to make it execute fast ?</description>
            <author>lewisksh</author>
            <category>Codemasters</category>
            <pubDate>Tue, 21 Apr 2009 13:12:31 +0800</pubDate>
        </item>
        <item>
            <title>Visual basic Application</title>
            <link>http://forum.lowyat.net/topic/901927</link>
            <description>any idea on how to integrate or enable our application/system to have VBA features? for example, iFix</description>
            <author>lewisksh</author>
            <category>Codemasters</category>
            <pubDate>Fri, 09 Jan 2009 19:22:53 +0800</pubDate>
        </item>
        <item>
            <title>Window Service on Vista</title>
            <link>http://forum.lowyat.net/topic/872960</link>
            <description>Hi guys, &lt;br /&gt;&lt;br /&gt;i would like to create a setup file to install my application on Vista and upon complete install, i want to install a window service. &lt;br /&gt;I already create a deployment project and window service project using c#. &lt;br /&gt;&lt;br /&gt;However, i fail to install the window service the installation done. i have to manually install the window service using command prompt with installutil command. &lt;br /&gt;&lt;br /&gt;Another issue is, after i success install the window service, the service immediately stop with the message &lt;br /&gt;&lt;br /&gt;&lt;!--QuoteBegin--&gt;&lt;div class='quotetop'&gt;QUOTE&lt;/div&gt;&lt;div class='quotemain'&gt;&lt;!--QuoteEBegin--&gt;The XX service on Local Computer started and then stopped. Some service stop automatically if they are not in use by other service or program.&lt;!--QuoteEnd--&gt;&lt;/div&gt;&lt;!--QuoteEEnd--&gt;&lt;br /&gt;&lt;br /&gt;The window service i used to start another application with the following code placed under onStart method&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;System.Diagnostics.Process process = new System.Diagnostics.Process&amp;#40;&amp;#41;;&lt;br /&gt;process.StartInfo.FileName = filename;&lt;br /&gt;process.Start&amp;#40;&amp;#41;;&lt;br /&gt;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt; &lt;!--emo&amp;:help:--&gt;&lt;img src='http://static.lowyat.net/style_emoticons/default/icon_question.gif' border='0' style='vertical-align:middle' alt='icon_question.gif' /&gt;&lt;!--endemo--&gt;</description>
            <author>lewisksh</author>
            <category>Codemasters</category>
            <pubDate>Fri, 12 Dec 2008 09:05:32 +0800</pubDate>
        </item>
        <item>
            <title>Any idea how it work?</title>
            <link>http://forum.lowyat.net/topic/755513</link>
            <description>hey guys, i would like to create a program/application which able to read the signal send to I/O card. &lt;br /&gt;&lt;br /&gt;Program A will keep reading and sending signal to the I/O card all the time and the I/O card is installed.&lt;br /&gt;but i wish to create a Program B to listen the signal send by Program A and respond to it accordingly when the I/O card is not install. &lt;br /&gt;&lt;br /&gt; &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; Any idea how it work? &lt;br /&gt; &lt;!--emo&amp;:sweat:--&gt;&lt;img src='http://static.lowyat.net/style_emoticons/default/sweat.gif' border='0' style='vertical-align:middle' alt='sweat.gif' /&gt;&lt;!--endemo--&gt; or any 1 understand it? &lt;br /&gt;&lt;br /&gt;</description>
            <author>lewisksh</author>
            <category>Codemasters</category>
            <pubDate>Thu, 31 Jul 2008 15:11:45 +0800</pubDate>
        </item>
    </channel>
</rss>
