<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2" -->
<rss version="2.0">
    <channel>
        <title>Lowyat.NET: Latest topics by N3T M@Ni4C</title>
        <description></description>
        <link>http://forum.lowyat.net/</link>
        <lastBuildDate>Fri, 06 Nov 2026 01:03:55 +0800</lastBuildDate>
        <generator>FeedCreator 1.7.2</generator>
        <item>
            <title>OnComm() Event</title>
            <link>http://forum.lowyat.net/topic/430265</link>
            <description>&lt;!--QuoteBegin--&gt;&lt;div class='quotetop'&gt;QUOTE&lt;/div&gt;&lt;div class='quotemain'&gt;&lt;!--QuoteEBegin--&gt;Private Sub Form_Load()&lt;br /&gt;&lt;br /&gt;MSComm1.CommPort = 1&lt;br /&gt;MSComm1.Settings = &amp;quot;9600,N,8,1&amp;quot;&lt;br /&gt;&lt;br /&gt;If MSComm1.PortOpen = False Then&lt;br /&gt;&amp;nbsp; &amp;nbsp; MSComm1.PortOpen = True&lt;br /&gt;End If&lt;br /&gt;&lt;br /&gt;End Sub&lt;br /&gt;______________________&lt;br /&gt;&lt;br /&gt;Private Sub Command1_Click()&lt;br /&gt;&lt;br /&gt;MSComm1.Output = &amp;quot;A&amp;quot;&lt;br /&gt;Text1.Text = &amp;quot;OK&amp;quot;&lt;br /&gt;&lt;br /&gt;End Sub&lt;br /&gt;______________________&lt;br /&gt;&lt;br /&gt;Private Sub MSComm1_OnComm()&lt;br /&gt;&lt;br /&gt;Text1.Text = MSComm1.CommEvent&lt;br /&gt;&lt;br /&gt;Select Case MSComm1.CommEvent&lt;br /&gt;Case comEvReceive&lt;br /&gt;&amp;nbsp; &amp;nbsp; Text1.Text = Text1.Text &amp;amp; MSComm1.Input&lt;br /&gt;End Select&lt;br /&gt;&lt;br /&gt;End Sub&lt;br /&gt;_______________________&lt;br /&gt;&lt;br /&gt;Private Sub Form_Unload(Cancel As Integer)&lt;br /&gt;&lt;br /&gt;If MSComm1.PortOpen = True Then&lt;br /&gt;&amp;nbsp; &amp;nbsp; MSComm1.PortOpen = False&lt;br /&gt;End If&lt;br /&gt;&lt;br /&gt;End Sub&lt;!--QuoteEnd--&gt;&lt;/div&gt;&lt;!--QuoteEEnd--&gt;&lt;br /&gt;&lt;br /&gt;This is my full code. The VB apllication will send char &amp;#39;A&amp;#39; to my hardware then the hardware will return char &amp;#39;B&amp;#39; to my application. The problem is I can send the &amp;#39;A&amp;#39; but I never receive the &amp;#39;B&amp;#39;. And the function OnComm() are never called.&lt;br /&gt;&lt;br /&gt;Below is the other configuration:-&lt;br /&gt;&lt;br /&gt;inputLen = 1&lt;br /&gt;SThreshold = 0&lt;br /&gt;RThreshole = 1&lt;br /&gt;</description>
            <author>N3T M@Ni4C</author>
            <category>Codemasters</category>
            <pubDate>Wed, 21 Mar 2007 20:45:40 +0800</pubDate>
        </item>
        <item>
            <title>VB6 : MSCOMM Problem</title>
            <link>http://forum.lowyat.net/topic/426021</link>
            <description>&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; Anyone can help me on how to communicate using Serial Port??? &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;Scenario :&lt;br /&gt;- Have a hardware connect to PC using serial port (COM 1).&lt;br /&gt;- The hardware need this string to react :&lt;br /&gt;     &amp;#036;P press&lt;br /&gt;&lt;br /&gt;- After get the string, the hardware will send 2 byte(16 bits) og binary value to the serial port.&lt;br /&gt;- After PC receive the value, I need to display it in a text box.&lt;br /&gt;&lt;br /&gt;Please help me to solve this problem. I will consider a small reward for working solution &lt;!--emo&amp;:hehe:--&gt;&lt;img src='http://static.lowyat.net/style_emoticons/default/brows.gif' border='0' style='vertical-align:middle' alt='brows.gif' /&gt;&lt;!--endemo--&gt; . Thank you..&lt;br /&gt;&lt;br /&gt;</description>
            <author>N3T M@Ni4C</author>
            <category>Codemasters</category>
            <pubDate>Tue, 13 Mar 2007 13:59:34 +0800</pubDate>
        </item>
        <item>
            <title>MicroController ASM Language</title>
            <link>http://forum.lowyat.net/topic/237829</link>
            <description>Hi there,&lt;br /&gt;&lt;br /&gt;Anyone know how to program Intel microController and the project should connect to a serial port at your pc.&lt;br /&gt;&lt;br /&gt;I want to make a project that controlled from a PC and it Hardware project. I prefere to use Intel 8051 or Intel 2051 uC.  Now I want the code for both the uC and the application on my PC. For PC application I prefered to use C language.&lt;br /&gt;&lt;br /&gt;Plzzz. It very important for me. &lt;!--emo&amp;:blush:--&gt;&lt;img src='http://static.lowyat.net/style_emoticons/default/blush.gif' border='0' style='vertical-align:middle' alt='blush.gif' /&gt;&lt;!--endemo--&gt; &lt;br /&gt;&lt;br /&gt;</description>
            <author>N3T M@Ni4C</author>
            <category>Codemasters</category>
            <pubDate>Mon, 09 Jan 2006 16:39:22 +0800</pubDate>
        </item>
    </channel>
</rss>
