<?xml version="1.0" encoding="TIS-620"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss version="2.0">
<channel>
	<title>Narisa.com Discussion</title>
	<description>Enabling Knowledge Society</description>
	<link>http://www.narisa.com/forums/index.php</link>
	<pubDate>Fri, 10 Feb 2012 17:28:31 +0000</pubDate>
	<ttl>30</ttl>
	<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/narisa" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="narisa" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">narisa</feedburner:emailServiceId><feedburner:feedburnerHostname xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>ถามเรื่องตรวจสอบค่าหน่อยครับ</title>
		<link>http://www.narisa.com/forums/index.php?showtopic=35475</link>
		<description><![CDATA[คือผมรับค่าตัวเลขเป็นString AAAA,BBBB,CCCC มาจาก Page1 เพื่อที่จะมาตรวจสอบค่าโดยใช้ if เปรียบเทียบ ใน Page 2<br />
ผมทำการ out.print ดูแล้วว่าค่าที่ส่งเก็บไว้ในAAAA,BBBB,CCCCมาจริง แต่เมื่อจะนำไปตรวจสอบ if มันทำงานให้เพียง if เงื่อนไขเดียวเท่านั้น<br />
แต่พอเพิ่ม if มา3ตัวก็ Error ทั้นที พอลองใช้ Integer.parseInt() แปลงค่าเป็นตัวเลขก็ประกาศ Integer ได้ตัวเดียว ถ้าประกาศ2ตัวก็ Error<br />
ผมลองส่งค่าเป็นStringมาลองดูก็ไม่ได้....เหมือนกับว่าส่งค่าอะไรมาก็แค่ out.print โชว์ได้แต่ไม่สามารถเอาไปทำงานได้...<br />
ผมต้องทำยังไงหรอครับ....ขอบคุณครับ  <img src='http://www.narisa.com/forums/public/style_emoticons/default/sad.gif' class='bbc_emoticon' alt=':(' /> <br />
     //AAAAคือเลข1,BBBBคือเลข2,CCCCคือเลข3 จาก Page1<br />
     String AAAA = request.getParameter("AAAA");<br />
     String BBBB = request.getParameter("BBBB");<br />
     String CCCC = request.getParameter("CCCC");<br />
     String A1="1";<br />
     String B1="2";<br />
     String C1="3";<br />
     if (AAAA == A1 ) {   //AAAA=1,A1=1 ไม่ได้เข้า1เลยครับ<br />
          out.print("&lt;script&gt;alert('เข้า1')&lt;/script&gt;");<br />
            }<br />
     if (BBBB  == B1) {//BBBB =2,B1=2 ไม่ได้เข้า2เหมือนกันครับ<br />
          out.print("&lt;script&gt;alert('เข้า2')&lt;/script&gt;");<br />
            }<br />
     if (CCCC == C1) {<br />
          out.print("&lt;script&gt;alert('เข้า3')&lt;/script&gt;");<br />
            }]]></description>
		<pubDate>Fri, 10 Feb 2012 17:28:31 +0000</pubDate>
		<guid>http://www.narisa.com/forums/index.php?showtopic=35475</guid>
	</item>
	<item>
		<title>เริ่มต้นกับ zend framwork อย่างไรดี</title>
		<link>http://www.narisa.com/forums/index.php?showtopic=35474</link>
		<description>แอบเครียดด ไม่รู้จะเริ่มตรงไหนเลยค่ะ</description>
		<pubDate>Fri, 10 Feb 2012 17:07:42 +0000</pubDate>
		<guid>http://www.narisa.com/forums/index.php?showtopic=35474</guid>
	</item>
	<item>
		<title>ติดตั้ง Hibernate ยังไง</title>
		<link>http://www.narisa.com/forums/index.php?showtopic=35470</link>
		<description><![CDATA[คือตอนนี้ ติดตั้ง Eclipse เรียบร้อยแล้ว<br />
<br />
และโหลด Hibernate framwork มา ซึ่งเป็น Folder <br />
<br />
ข้างในก้อมี file หลาย ๆ file อยู่ ไม่มีตัว install<br />
<br />
เลยอยากทราบว่า ต้องเอา Folder Hibernate ไปไว้ที่ Folder ไหนหรอคะ<br />
<br />
เพิ่งเคยใช้อ่ะค่ะ ไม่รู้ว่าจะต้องทำยังไง ช่วยด้วยค่ะ]]></description>
		<pubDate>Fri, 10 Feb 2012 15:47:27 +0000</pubDate>
		<guid>http://www.narisa.com/forums/index.php?showtopic=35470</guid>
	</item>
	<item>
		<title>ถามเกี่ยวกับเรื่อง ER Diagram ครับ</title>
		<link>http://www.narisa.com/forums/index.php?showtopic=35473</link>
		<description><![CDATA[<img src='http://image.free.in.th/z/ih/er_1_2.jpg' alt='Posted Image' class='bbc_img' /><br />
<br />
<span style='font-size: 21px;'>จากรูป เส้นประ กับ เส้นทึบ มันต่างกันตรงไหนอะครับ??   ช่วยด้วยนะครับ </span>]]></description>
		<pubDate>Fri, 10 Feb 2012 15:31:52 +0000</pubDate>
		<guid>http://www.narisa.com/forums/index.php?showtopic=35473</guid>
	</item>
	<item>
		<title>เพิ่งเล่น jsp ครับ</title>
		<link>http://www.narisa.com/forums/index.php?showtopic=35472</link>
		<description>มีคนแนะนำมาลองสอบถามเว็บนี้ดูครับ  คืออยากจะเขียนเป็นแบบcompile ออกมาเป็นแบบ .class แล้ว ดึงไปใช้กับทุกๆหน้าที่มีการ connect database จะทำได้ยังไงบ้างครับ รบกวนขอคำแนะนำหรือตัวอย่างด้วยนะครับ ขอบคุณครับ</description>
		<pubDate>Fri, 10 Feb 2012 14:39:35 +0000</pubDate>
		<guid>http://www.narisa.com/forums/index.php?showtopic=35472</guid>
	</item>
	<item>
		<title>รับ Programmer VB.NET ASP.NET</title>
		<link>http://www.narisa.com/forums/index.php?showtopic=35301</link>
		<description><![CDATA[&#3610;&#3619;&#3636;&#3625;&#3633;&#3607;&#3612;&#3621;&#3636;&#3605;&#3626;&#3636;&#3609;&#3588;&#3657;&#3634;&#3626;&#3656;&#3591;&#3629;&#3629;&#3585; &#3605;&#3633;&#3657;&#3591;&#3629;&#3618;&#3641;&#3656;&#3651;&#3609;&#3609;&#3636;&#3588;&#3617;&#3629;&#3617;&#3605;&#3632;&#3609;&#3588;&#3619; &#3594;&#3621;&#3610;&#3640;&#3619;&#3637;<br />
<br />
&#3605;&#3657;&#3629;&#3591;&#3648;&#3588;&#3618;&#3648;&#3586;&#3637;&#3618;&#3609; Application &#3604;&#3657;&#3623;&#3618; VB.NET &#3649;&#3621;&#3632; ASP.NET<br />
&#3586;&#3629;&#3588;&#3609;&#3648;&#3586;&#3637;&#3618;&#3609;&#3650;&#3611;&#3619;&#3649;&#3585;&#3619;&#3617;&#3648;&#3585;&#3656;&#3591;&#3654; &#3629;&#3629;&#3585;&#3649;&#3610;&#3610;&#3649;&#3621;&#3632;&#3623;&#3636;&#3648;&#3588;&#3619;&#3634;&#3632;&#3627;&#3660;&#3619;&#3632;&#3610;&#3610;&#3652;&#3604;&#3657;&#3604;&#3657;&#3623;&#3618;&#3605;&#3633;&#3623;&#3648;&#3629;&#3591;<br />
&#3648;&#3591;&#3636;&#3609;&#3648;&#3604;&#3639;&#3629;&#3609;&#3651;&#3627;&#3657;&#3617;&#3634;&#3585;&#3585;&#3623;&#3656;&#3634;&#3607;&#3637;&#3656;&#3648;&#3604;&#3636;&#3617;&#3649;&#3609;&#3656;&#3609;&#3629;&#3609;<br />
<br />
&#3610;&#3619;&#3636;&#3625;&#3633;&#3607; &#3617;&#3637;&#3619;&#3606;&#3619;&#3633;&#3610;&#3626;&#3656;&#3591;&#3607;&#3633;&#3657;&#3591;&#3651;&#3609;&#3594;&#3621;&#3610;&#3640;&#3619;&#3637; &#3649;&#3621;&#3632;&#3626;&#3634;&#3618; &#3594;&#3621;&#3610;&#3640;&#3619;&#3637;-&#3610;&#3634;&#3591;&#3609;&#3634; &#3610;&#3634;&#3591;&#3614;&#3621;&#3637; &#3629;&#3656;&#3629;&#3609;&#3609;&#3640;&#3594; &#3614;&#3619;&#3632;&#3650;&#3586;&#3609;&#3591;<br />
<br />
&#3617;&#3637;&#3650;&#3629;&#3585;&#3634;&#3624;&#3652;&#3604;&#3657;&#3648;&#3619;&#3637;&#3618;&#3609;&#3619;&#3641;&#3657;&#3619;&#3632;&#3610;&#3610; SAP &#3649;&#3621;&#3632; Abap programming &#3649;&#3610;&#3610;&#3652;&#3617;&#3656;&#3617;&#3637;&#3586;&#3637;&#3604;&#3592;&#3635;&#3585;&#3633;&#3604;<br />
&#3626;&#3609;&#3651;&#3592;&#3626;&#3656;&#3591; resume &#3649;&#3621;&#3632;&#3612;&#3621;&#3591;&#3634;&#3609;&#3651;&#3609;&#3629;&#3604;&#3637;&#3605;&#3617;&#3634;&#3607;&#3637;&#3656; sermsiripoka@hotmail.com<br />
&#3627;&#3619;&#3639;&#3629;&#3650;&#3607;&#3619;&#3617;&#3634;&#3588;&#3640;&#3618;&#3619;&#3634;&#3618;&#3621;&#3632;&#3648;&#3629;&#3637;&#3618;&#3604;&#3586;&#3629;&#3591;&#3591;&#3634;&#3609;&#3585;&#3656;&#3629;&#3609;<br />
 &#3611;&#3619;&#3632;&#3626;&#3636;&#3607;&#3608;&#3636;&#3660; 086 6080635]]></description>
		<pubDate>Fri, 10 Feb 2012 13:27:08 +0000</pubDate>
		<guid>http://www.narisa.com/forums/index.php?showtopic=35301</guid>
	</item>
	<item>
		<title>PHP Warning:  strftime()  gettimeofday และ date()</title>
		<link>http://www.narisa.com/forums/index.php?showtopic=35471</link>
		<description><![CDATA[Server แจ้งมาว่า<br />
<p class='citation'>Quote</p><div class="blockquote"><div class='quote'>[Sat Feb 11 01:03:23 2012] [error] [client 10.10.3.111] PHP Warning:  strftime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Bangkok' for 'ICT/7.0/no DST' instead in /data/api/nusoap.php on line 863,</div></div><br />
<br />
ต้องแก้ยังไง ครับ]]></description>
		<pubDate>Fri, 10 Feb 2012 11:07:06 +0000</pubDate>
		<guid>http://www.narisa.com/forums/index.php?showtopic=35471</guid>
	</item>
	<item>
		<title>First Certified Scrum Master Course in Thailand</title>
		<link>http://www.narisa.com/forums/index.php?showtopic=34677</link>
		<description><![CDATA[หลายเดือนก่อน พอดีที่บริษัทมีงบ training เลยจะหา course ให้ project manager ในทีม แต่ว่าหายังไงก็ไม่โดน ไม่เข้าทาง Agile เลย ไปเจอบริษัทหนึ่งในสิงค์โปร์ชื่อแปลก(จริงๆ) ว่า Odd-E รับสอน Certified Scrum Master ในแถบนี้ แต่ไม่มีเมืองไทยเลย พอดีไปเห็นชื่อคนสอนเป็นคนแต่งหนังสือที่อ่านอยู่เล่มนี้ ก็เลยยิ่งสนใจ<br />
<br />
<img src='http://www.craiglarman.com/wiki/images/thumb/f/fa/Scaling_lean_and_agile_dev_-_cover.jpg/250px-Scaling_lean_and_agile_dev_-_cover.jpg' alt='Posted Image' class='bbc_img' /><br />
<br />
จริงๆเป็นคนที่ไม่ได้ชอบเรื่อง Certified โน่นนี่นั่นซักเท่าไหร่ และเคยได้ยินมาว่า Certified Scrum Master Course นั้นถ้าจะตั้งชื่อให้ถูกจริง ต้องเป็น Introduction to Scrum ซะมากกว่า เพราะสอน basic เลย จะได้มากน้อยขึ้นอยู่กับผู้สอนล้วนๆ ว่ามีประสพการณ์ขนาดไหน เดาว่าที่ Scrum Alliance จงใจใช้คำว่า Certified มาล่อให้คนมาสนใจ<br />
<br />
ประจวบเหมาะกับตอนนั้นพอดีไปฟัง pod cast เรือง<a href='http://www.se-radio.net/2011/01/episode-170-large-agile-software-development-with-bas-vodde/' class='bbc_url' title='' rel='nofollow'>Large Agile Software Development with Bas Vodde</a> ที่ Software Engineering Radio เข้าพอดีเลยยิ่งทำให้รู้สึกว่าคุณ Bas นี่น่าจะมีประสพการณ์อะไรดีๆ โดยเฉพาะการปลูก Agile ในองค์กรณ์ขนาดใหญ่ อ่านหนังสือแกแล้วก็เห็นด้วยหลายอย่าง ก็เลยเมล์ไปหา คุยกันไปคุยกันมา ก็ได้ความว่าเขาก็สนใจมาเปิด course ในเมืองไทยแล้วเหมือนกัน ตอนนี้ก็ได้ที่ได้ทางแล้ว วันก็กำหนดแล้วคือช่วงปลายเดือนตุลานี้เอง ถ้าไปดูใน <a href='http://www.scrumalliance.org/courses/map' class='bbc_url' title='' rel='nofollow'>http://www.scrumalliance.org/courses/map</a> จะเห็นว่าอันนี้เป็น course เดียวที่เปิดอยู่ในเมืองไทย<br />
<br />
ใครสนใจก็ไปดูข้อมูลเพิ่มที่ <a href='http://www.odd-e.com/ได้นะครับ' class='bbc_url' title='' rel='nofollow'>http://www.odd-e.com/ได้นะครับ</a><br />
<br />
คัดลอกมาจาก <a href='http://www.agile66.com/blogs/2011/08/09/ad-2-day-certified-scrum-master-course-by-bas-vodde-in-oct/' class='bbc_url' title='' rel='nofollow'>http://www.agile66.com/blogs/2011/08/09/ad-2-day-certified-scrum-master-course-by-bas-vodde-in-oct/</a>]]></description>
		<pubDate>Fri, 10 Feb 2012 09:20:37 +0000</pubDate>
		<guid>http://www.narisa.com/forums/index.php?showtopic=34677</guid>
	</item>
	<item>
		<title>GPS Tracking Server</title>
		<link>http://www.narisa.com/forums/index.php?showtopic=35469</link>
		<description><![CDATA[อยากลองทำ GPS Tracking Server <br />
เท่าที่หาข้อมูลดูแล้ว อุปกรณ์ที่ต้องมีทางฝั่ง รับสัญญาณ GPS คือ<br />
<br />
1. GPS Tracker   อันนี้ว่าจะใช้ TK-103<br />
2  GSM Sim  ใช้ ของ AIS<br />
<br />
ตัว GPS Tracker มี Module ในการส่งข้อมูล ผ่าน GPRS อยู่แล้ว<br />
<br />
 อุปกรณ์ฝั่ง Server จะต้องใช้อะไรบ้างครับ]]></description>
		<pubDate>Fri, 10 Feb 2012 08:17:50 +0000</pubDate>
		<guid>http://www.narisa.com/forums/index.php?showtopic=35469</guid>
	</item>
	<item>
		<title>แนะนำ app สำหรับผู้ใช้ agile ครับ</title>
		<link>http://www.narisa.com/forums/index.php?showtopic=35468</link>
		<description><![CDATA[<em class='bbc'>ก่อนอื่นต้องขอรบกวนฝาก app นี้ด้วยครับ<br />
หากผม post ผิดที่ต้องขอโทษด้วยครับ และจัดการย้ายได้ตามความเหมาะสมครับ</em><br />
<br />
<strong class='bbc'>แนะนำ app สำหรับผู้ใช้ agile ครับ</strong><br />
<br />
เป็น android app ชื่อ Kanban board. <a href='http://www.facebook.com/pages/Kanban-Board/250358365025459' class='bbc_url' title='' rel='nofollow'>Kanban Board</a><br />
version IPhone กำลังตามมาครับ<br />
<br />
เน้น simple, minimal<br />
คิดว่าน่าจะนำไปใช้ เป็น personal kanban ได้ดีทีเดียว<br />
<br />
ยินดีรับความคิดเห็นครับ<br />
แจ้งทั้งติทั้งชม และข้อผิดพลาดต่างๆมาได้ครับผม<br />
ขอบคุณมากครับ]]></description>
		<pubDate>Fri, 10 Feb 2012 05:09:34 +0000</pubDate>
		<guid>http://www.narisa.com/forums/index.php?showtopic=35468</guid>
	</item>
	<item>
		<title>Socket Server</title>
		<link>http://www.narisa.com/forums/index.php?showtopic=35466</link>
		<description>คือทำโปรเจคเกี่ยวกับการควบคุมรถโดยใช้ Android สั่งค่ะ แต่สงสัยว่าเป็นไปได้มั้ยที่จะเขียน Arduino + wifi + socketserver + Andriod</description>
		<pubDate>Fri, 10 Feb 2012 05:04:08 +0000</pubDate>
		<guid>http://www.narisa.com/forums/index.php?showtopic=35466</guid>
	</item>
	<item>
		<title>ActiveMQ สำหรับผู้เริ่มต้น</title>
		<link>http://www.narisa.com/forums/index.php?showtopic=35464</link>
		<description>ใครมีความรู้ช่วยเข้ามาแนะนำและอธิบายตั้งแต่เริ่มต้นเลยได้มั้ยค่ะ เอาแบบเบื้องต้นจริงๆค่ะ</description>
		<pubDate>Fri, 10 Feb 2012 04:26:10 +0000</pubDate>
		<guid>http://www.narisa.com/forums/index.php?showtopic=35464</guid>
	</item>
	<item>
		<title>encrypt bat file</title>
		<link>http://www.narisa.com/forums/index.php?showtopic=35467</link>
		<description>มีวิธีไหนบ้างครับที่จะ รหัส password ใน bat file</description>
		<pubDate>Fri, 10 Feb 2012 04:06:48 +0000</pubDate>
		<guid>http://www.narisa.com/forums/index.php?showtopic=35467</guid>
	</item>
	<item>
		<title>ท่านใดเคยใช้ Lib กล้องของ JMyron บ้างครับ</title>
		<link>http://www.narisa.com/forums/index.php?showtopic=35460</link>
		<description><![CDATA[&#3605;&#3629;&#3609;&#3609;&#3637;&#3657;&#3612;&#3617;&#3626;&#3634;&#3617;&#3634;&#3619;&#3606;&#3604;&#3638;&#3591;&#3585;&#3621;&#3657;&#3629;&#3591;&#3629;&#3629;&#3585;&#3617;&#3634;&#3652;&#3604;&#3657;&#3649;&#3621;&#3657;&#3623; &#3649;&#3605;&#3656;&#3623;&#3656;&#3634;&#3652;&#3617;&#3656;&#3619;&#3641;&#3657;&#3617;&#3633;&#3609;&#3651;&#3594;&#3657;&#3588;&#3635;&#3626;&#3633;&#3656;&#3591;&#3652;&#3627;&#3609;&#3651;&#3609;&#3585;&#3634;&#3619; Cap &#3616;&#3634;&#3614;&#3648;&#3585;&#3655;&#3610;&#3652;&#3623;&#3657;&#3651;&#3609; buffer &#3588;&#3619;&#3633;&#3610;<br />
<br />
&#3588;&#3639;&#3629;&#3592;&#3632;&#3648;&#3629;&#3634;&#3616;&#3634;&#3614;&#3626;&#3656;&#3591;&#3652;&#3611;&#3651;&#3627;&#3657; QR-Code &#3629;&#3637;&#3585;&#3607;&#3637;&#3588;&#3619;&#3633;&#3610; &#3605;&#3629;&#3609;&#3609;&#3637;&#3657; QR-Code &#3619;&#3629;&#3619;&#3633;&#3610;&#3616;&#3634;&#3614;&#3649;&#3621;&#3657;&#3623; &#3648;&#3627;&#3621;&#3639;&#3629;&#3649;&#3605;&#3656;&#3606;&#3656;&#3634;&#3618;&#3616;&#3634;&#3614;&#3649;&#3621;&#3657;&#3623;&#3626;&#3656;&#3591;&#3651;&#3627;&#3657;&#3648;&#3607;&#3656;&#3634;&#3609;&#3633;&#3657;&#3609;&#3586;&#3629;&#3588;&#3619;&#3633;&#3610; <br />
<br />
&#3607;&#3656;&#3634;&#3609;&#3651;&#3604;&#3648;&#3588;&#3618;&#3607;&#3635; &#3627;&#3619;&#3639;&#3629;&#3614;&#3629;&#3592;&#3632;&#3617;&#3637;&#3586;&#3657;&#3629;&#3617;&#3641;&#3621; &#3619;&#3610;&#3585;&#3623;&#3609;&#3627;&#3609;&#3656;&#3629;&#3618;&#3609;&#3632;&#3588;&#3619;&#3633;&#3610; &#3650;&#3611;&#3619;&#3648;&#3592;&#3588;&#3651;&#3585;&#3621;&#3657;&#3648;&#3626;&#3619;&#3655;&#3592;&#3621;&#3632; <br />
<br />
&#3606;&#3639;&#3629;&#3623;&#3656;&#3634;&#3648;&#3611;&#3655;&#3609;&#3623;&#3636;&#3607;&#3618;&#3634;&#3607;&#3634;&#3609;&#3649;&#3585;&#3656;&#3586;&#3657;&#3634;&#3609;&#3657;&#3629;&#3618;&#3604;&#3657;&#3623;&#3618;&#3648;&#3606;&#3636;&#3604; &#3627;&#3619;&#3639;&#3629;&#3607;&#3636;&#3657;&#3591;&#3648;&#3617;&#3621;&#3660;&#3627;&#3619;&#3639;&#3629;&#3648;&#3610;&#3629;&#3619;&#3660;&#3650;&#3607;&#3619;&#3652;&#3623;&#3657;&#3651;&#3627;&#3657;&#3627;&#3609;&#3656;&#3629;&#3618;&#3588;&#3619;&#3633;&#3610;<br />
<br />
&#3609;&#3637;&#3656;&#3650;&#3588;&#3657;&#3604;&#3607;&#3637;&#3656;&#3627;&#3634;&#3652;&#3604;&#3657; &#3651;&#3594;&#3657;&#3586;&#3629;&#3591; JMyron<br />
<pre class='prettyprint'>JMyron m;//a camera object
    int width = 320;
    int height = 240;
    int frameRate = 10; //fps
    boolean captureOn;
    BufferedImage captureImage;
    int&#91;&#93; imageIntArray;
    int cR = 255, cG = 255, cB = 255;
    
    public Cam() {
        initComponents();
        
    }
    private void configureMycron() {
        m = new JMyron();//make a new instance of the object
        m.start(width, height);//start a capture at 320x240        
        //m.findGlobs(0);//disable the intelligence to speed up frame rate
        m.findGlobs(1);
        //int r=Integer.parseInt(txtR.getText());
        //int g=Integer.parseInt(txtG.getText());
        //int b=Integer.parseInt(txtB.getText());
        //int tol=Integer.parseInt(txtTolarance.getText());
        //m.trackColor(r, g, b, tol);
        //set labels
        lblCameraView.setBounds(new Rectangle(width, height));

    }

    private void getCameraImage() {
        captureImage = new BufferedImage(width, height, BufferedImage.OPAQUE);
        m.update();//update the camera view
        imageIntArray = m.image(); //get the normal image of the camera
        captureImage.setRGB(0, 0, width, height, imageIntArray, 0, width);
        
    }

    
    
    private void startCapture() {
        configureMycron();
        captureOn = true;
        Runnable capture = new Runnable() {

            public void run() {
                while (captureOn) {
                    try {
                        getCameraImage();
                        lblCameraView.setIcon(new ImageIcon(captureImage));
                        
                        //lblStillImage.setIcon(new ImageIcon(bi));
                        //test();
                        Thread.sleep(frameRate);
                    } catch (InterruptedException ex) {
                        Logger.getLogger(Cam.class.getName()).log(Level.SEVERE, null, ex);
                    }
                }
            }
        };
        Thread t = new Thread(capture);
        t.start();
        btnStartCapture.setEnabled(false);
    }</pre><br />
<a href='http://pic.free.in.th/id/4b31737b9e5c9cde859014b9d5082ea3' class='bbc_url' title='' rel='nofollow'><img src='http://image.free.in.th/z/iq/ywpp1.jpg' alt='Posted Image' class='bbc_img' /></a><br />
<br />
&#3611;&#3640;&#3656;&#3617; Cap<br />
 <pre class='prettyprint'> captureOn = false;
     m.stop();</pre> <br />
&#3648;&#3623;&#3621;&#3634;&#3612;&#3617;&#3585;&#3604;&#3611;&#3640;&#3656;&#3617; cap(stop) &#3616;&#3634;&#3614;&#3617;&#3633;&#3609;&#3592;&#3632;&#3588;&#3657;&#3634;&#3591;&#3588;&#3619;&#3633;&#3610; &#3648;&#3627;&#3617;&#3639;&#3629;&#3609;&#3649;&#3588;&#3611;&#3619;&#3641;&#3611;&#3652;&#3623;&#3657;&#3648;&#3621;&#3618; &#3614;&#3629;&#3592;&#3632;&#3617;&#3637;&#3623;&#3636;&#3608;&#3637;&#3604;&#3638;&#3591;&#3616;&#3634;&#3614;&#3627;&#3621;&#3633;&#3591;&#3592;&#3634;&#3585;&#3585;&#3604;&#3611;&#3640;&#3656;&#3617; cap &#3652;&#3627;&#3617;&#3588;&#3619;&#3633;&#3610;]]></description>
		<pubDate>Fri, 10 Feb 2012 00:33:29 +0000</pubDate>
		<guid>http://www.narisa.com/forums/index.php?showtopic=35460</guid>
	</item>
	<item>
		<title>สอบถามเรื่อง การทำโปรแกรม เพื่อใช้หลายๆ เครื่องครับ</title>
		<link>http://www.narisa.com/forums/index.php?showtopic=35445</link>
		<description><![CDATA[คือ ผมจะทำโปรแกรมเป็น window application ครับ เขียนด้วย VB<br />
<br />
ลักษณะการทำงาน คือ เก็บข้อมูล และออกรายงาน และแบ่งระดับ user เป็นแต่ละแผนก<br />
<br />
<br />
คำถามคือ <br />
<br />
ต้องการใช้งานกันหลายเครื่อง ในวงแลนแตะละแผนก<br />
<br />
ลักษณะการเขียนโปรแกรมนั้น ต้องเขียนแบบไหนครับ เกี่ยวกับการแชร์หรือใช้หลายเครื่อง<br />
<br />
หรือเขียนแบบ ธรรมดา แล้วแชร์โปรแกรมจากเครื่องที่ลง เพื่อให้เครื่องอื่นใช้กัน<br />
<br />
ขอบคุณมากครับ]]></description>
		<pubDate>Thu, 09 Feb 2012 20:09:57 +0000</pubDate>
		<guid>http://www.narisa.com/forums/index.php?showtopic=35445</guid>
	</item>
</channel>
</rss>

