<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Camilo Lozano III</title>
	<atom:link href="http://camilord.kagayan.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://camilord.kagayan.com</link>
	<description>Linux for Servers, Macintosh for Graphics and Windows for Solitair...</description>
	<lastBuildDate>Wed, 03 Mar 2010 02:46:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Conspiracy Theory: Earthquake, Tidal Waves and other Natural Disaster</title>
		<link>http://camilord.kagayan.com/2010/03/03/conspiracy-theory-earthquake-tidal-waves-and-other-natural-disaster/</link>
		<comments>http://camilord.kagayan.com/2010/03/03/conspiracy-theory-earthquake-tidal-waves-and-other-natural-disaster/#comments</comments>
		<pubDate>Wed, 03 Mar 2010 02:44:26 +0000</pubDate>
		<dc:creator>Camilo III</dc:creator>
				<category><![CDATA[Madness]]></category>
		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://camilord.kagayan.com/?p=363</guid>
		<description><![CDATA[Do you really think Earthquake, Tidal Waves and other Natural Disaster are really natural event? Like Haite Earthquake, Phuket Thailand Tsunami and Chile Earthquake&#8230;
For my analysis, these are man made events. It&#8217;s a test causing Earthquake, Tidal Waves and other Natural Disaster. This is another mass destruction weapon of U.S. Government. It might be the [...]]]></description>
			<content:encoded><![CDATA[<p>Do you really think Earthquake, Tidal Waves and other Natural Disaster are really natural event? Like Haite Earthquake, Phuket Thailand Tsunami and Chile Earthquake&#8230;</p>
<p>For my analysis, these are man made events. It&#8217;s a test causing Earthquake, Tidal Waves and other Natural Disaster. This is another mass destruction weapon of U.S. Government. It might be the HARP project nor other Top Secret project.</p>
<p>Yet, I don&#8217;t know how to prove it cause I&#8217;m just a low life human being&#8230; <img src='http://camilord.kagayan.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://camilord.kagayan.com/2010/03/03/conspiracy-theory-earthquake-tidal-waves-and-other-natural-disaster/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Everyday Brown-out ordered by Politicians from Above</title>
		<link>http://camilord.kagayan.com/2010/03/03/everyday-brown-out-by-politicians-from-above/</link>
		<comments>http://camilord.kagayan.com/2010/03/03/everyday-brown-out-by-politicians-from-above/#comments</comments>
		<pubDate>Wed, 03 Mar 2010 02:22:00 +0000</pubDate>
		<dc:creator>Camilo III</dc:creator>
				<category><![CDATA[Madness]]></category>
		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://camilord.kagayan.com/?p=357</guid>
		<description><![CDATA[This scheduled brown-out in Iligan City and all over the Philippines, does really about El Niño? I don&#8217;t think so! Let me reveal the truth to you.
One of the employee from NAPOCOR I talked to and he said, &#8220;It is an order from above&#8230; It&#8217;s not El Niño. There are enough water to supply the [...]]]></description>
			<content:encoded><![CDATA[<p>This scheduled brown-out in Iligan City and all over the Philippines, does really about El Niño? I don&#8217;t think so! Let me reveal the truth to you.</p>
<p>One of the employee from NAPOCOR I talked to and he said, &#8220;It is an order from above&#8230; It&#8217;s not El Niño. There are enough water to supply the turbine of NAPOCOR. I think this is political strategy.&#8221;</p>
<p>See folks, do not believe in the TV news or newspaper saying that its about El Niño! Fuck them! For my analysis, this is just a strategy to take down the Election 2010. Or let&#8217;s just say someone really want to cheat or desperate to win for power and greed. Well, if GMA fuck up FPJ&#8230; Then she can do it again to let her presidential bet win.</p>
<p>I believe Philippines will just be a junkyard in the future. Just like Somalia nor Niger.<a href="http://camilord.kagayan.com/wp-content/uploads/2010/03/presidential_quotes.jpg"><img class="aligncenter size-full wp-image-358" title="presidential_quotes" src="http://camilord.kagayan.com/wp-content/uploads/2010/03/presidential_quotes.jpg" alt="" width="500" height="2003" /></a> There&#8217;s no hope for these people. Everybody is running for the money&#8230; For their glorified greed! *sigh!* God help us! Let the Philippine islands sink to the bottom of the sea, just like Atlantis!</p>
]]></content:encoded>
			<wfw:commentRss>http://camilord.kagayan.com/2010/03/03/everyday-brown-out-by-politicians-from-above/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DBP RORO Year 3: Team APO Reunion</title>
		<link>http://camilord.kagayan.com/2010/02/21/dbp-roro-year-3-team-apo-reunion/</link>
		<comments>http://camilord.kagayan.com/2010/02/21/dbp-roro-year-3-team-apo-reunion/#comments</comments>
		<pubDate>Sat, 20 Feb 2010 19:10:00 +0000</pubDate>
		<dc:creator>Camilo III</dc:creator>
				<category><![CDATA[Celebrities]]></category>
		<category><![CDATA[Friends]]></category>
		<category><![CDATA[People]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[Wooow!]]></category>
		<category><![CDATA[angela lyle sanson]]></category>
		<category><![CDATA[bea saw]]></category>
		<category><![CDATA[beatriz saw]]></category>
		<category><![CDATA[bukidnon]]></category>
		<category><![CDATA[cagayan de oro city]]></category>
		<category><![CDATA[dahilayan]]></category>
		<category><![CDATA[fiona lyn lluch]]></category>
		<category><![CDATA[iligan city]]></category>
		<category><![CDATA[kyna]]></category>
		<category><![CDATA[malaybalay]]></category>
		<category><![CDATA[pbb]]></category>
		<category><![CDATA[raffy jimenez]]></category>
		<category><![CDATA[zip zone]]></category>

		<guid isPermaLink="false">http://camilord.kagayan.com/?p=350</guid>
		<description><![CDATA[It&#8217;s been 1 year and 2 months that we haven&#8217;t meet again since December 2008 (DBP RORO Racers Year 3 Christmas Party). Maria Beatriz Saw visit Malaybalay Bukidnon with her Mom for project arrangements. Since its just 3 to 4.5 hours away, we plan to meet up and go for adventure once again at Zip [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been 1 year and 2 months that we haven&#8217;t meet again since December 2008 (DBP RORO Racers Year 3 Christmas Party). Maria Beatriz Saw visit Malaybalay Bukidnon with her Mom for project arrangements. Since its just 3 to 4.5 hours away, we plan to meet up and go for adventure once again at Zip Zone at Dahilayan, Camp Philips, Bukidnon (Longest Zipline in Asia).</p>
<p style="text-align: center;">[[Show as slideshow]]</p>
<p style="text-align: left;">*skriiiitttt!* (Since I&#8217;m so sleepy coz I arrived home around 2:30 AM&#8230; Shortcut!) At the end, it was a great day with my GF (Angela Lyle Sanson), friends (Raffy, Kyna and Fiona) and special guest (celebrity Maria Beatriz Saw)&#8230; Tiring but superb experience with Zip Zone and another memorable camaraderie with DBP RORO Racers Year 3 &#8211; Team APO.</p>
]]></content:encoded>
			<wfw:commentRss>http://camilord.kagayan.com/2010/02/21/dbp-roro-year-3-team-apo-reunion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>underNeaTH thE WavES&#8230;</title>
		<link>http://camilord.kagayan.com/2010/02/01/underneath-the-waves/</link>
		<comments>http://camilord.kagayan.com/2010/02/01/underneath-the-waves/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 09:48:18 +0000</pubDate>
		<dc:creator>Camilo III</dc:creator>
				<category><![CDATA[Gelyle's Poems]]></category>
		<category><![CDATA[angela]]></category>
		<category><![CDATA[gelyle]]></category>
		<category><![CDATA[thE]]></category>
		<category><![CDATA[underNeaTH]]></category>
		<category><![CDATA[WavES]]></category>

		<guid isPermaLink="false">http://camilord.kagayan.com/?p=347</guid>
		<description><![CDATA[doing things in a milder way,to have a proper and positive perspective with life.many questions drenching me.. when can i bid goodbye to these emotional fatigue, tagging themselves voluntarily with me?
Victor Hugo said that the greatest happiness of life is the conviction that we are loved &#8212; for ourselves, or rather in spite of ourselves..
Songs, [...]]]></description>
			<content:encoded><![CDATA[<p>doing things in a milder way,to have a proper and positive perspective with life.many questions drenching me.. when can i bid goodbye to these emotional fatigue, tagging themselves voluntarily with me?</p>
<p>Victor Hugo said that the greatest happiness of life is the conviction that we are loved &#8212; for ourselves, or rather in spite of ourselves..</p>
<p>Songs, quotes, advises are written so nicely and undeniably promising&#8230; is it as promising as these songs we hum? quotes we read and live by? advises we&#8217;ve listened and taken?</p>
<p>i used to define love as both my admission of strength and my admission of weakness.. lavishly spoken, unfamiliar with how it really is..</p>
<p>until you&#8230;</p>
<p>until you i found the phrase&#8217;s truest sense, the deeper meaning on how to be feeling it.. living it.. in its truest sense you are indeed my admission of strength and weakness&#8230;</p>
<p>&#8230;. knowing there could have more than this life with you could offer.<br />
&#8230;&#8230;. i may be better off all of these we are into, but either way it is going to be difficult to breathe&#8230;</p>
<p>despite all of these things, i would still chose to be with you..<br />
&#8230;&#8230;with the moments you made me extremely mad, you are also the very reason that made me extremely happy.</p>
<p>&#8230;. you are my definition of love in its truest sense, every step i took with you has its cause, and all these things we are doing just kept on making sense everyday,</p>
<p>and what we are to become is the answer to this difficult love..</p>
<p>at times when the admission of weakness calls, the fight to stand firm with admission of strength lingers..</p>
<p>&#8230;..there could be nothing right without you..</p>
<p>&#8230;&#8230;&#8230; it is not right if not you.. </p>
]]></content:encoded>
			<wfw:commentRss>http://camilord.kagayan.com/2010/02/01/underneath-the-waves/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>No hay palabra de honor</title>
		<link>http://camilord.kagayan.com/2010/01/23/should-not-be-voted-manny-villar/</link>
		<comments>http://camilord.kagayan.com/2010/01/23/should-not-be-voted-manny-villar/#comments</comments>
		<pubDate>Sat, 23 Jan 2010 01:05:04 +0000</pubDate>
		<dc:creator>Camilo III</dc:creator>
				<category><![CDATA[Madness]]></category>
		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://camilord.kagayan.com/?p=331</guid>
		<description><![CDATA[When I watched TV last December 2009 (which I watch TV rarely), I saw the advertisement of the promised politician, Manny Villar. (which also I got irritated with his ads) And I said, *puff!* He really got a guts running for President after his controversial C5. Not to mention what he promised to me and [...]]]></description>
			<content:encoded><![CDATA[<p>When I watched TV last December 2009 (which I watch TV rarely), I saw the advertisement of the promised politician, Manny Villar. (which also I got irritated with his ads) And I said, *puff!* He really got a guts running for President after his controversial C5. Not to mention what he promised to me and my colleagues way back year 2005, under Mindanao Business and Management Youth Congress program. (see picture below) And until now his ads still air on ABS-CBN. And thinking that every ads in ABS-CBN cost hundreds of thousands. Yet he can afford to air his ads. Then I realized the C5 controversial, and said to myself&#8230; Now I get it why he got enough funds for his campaign.</p>
<div id="attachment_337" class="wp-caption aligncenter" style="width: 550px"><a href="http://camilord.kagayan.com/wp-content/uploads/2010/01/9420_1233709115286_1005906816_30760927_4888761_n3.jpg"><img class="size-full wp-image-337 " title="Manny Villar with MBMYC Staff" src="http://camilord.kagayan.com/wp-content/uploads/2010/01/9420_1233709115286_1005906816_30760927_4888761_n3.jpg" alt="Manny Villar with MBMYC Staff" width="540" height="405" /></a><p class="wp-caption-text">Manny Villar with MBMYC Staff</p></div>
<p>The picture was a meeting with Manny Villar and the MBMYC Staff. Villar promised that he will finance a livelihood program and helping the poor in the remote areas in Cagayan de Oro City. He made a lot of promises that day. Yet he accomplished nothing. After the meeting, no funds has been sent to us.</p>
<p>After that, I concluded that this politicians will do nothing for our country!</p>
<p>Election 2010, I won&#8217;t vote any president! They are all the same! Dick, Binay, Noynoy and Villar&#8230; Same feathers! And they flock together!</p>
<p><strong>Filipinos will always be hopeless with these kind of people!</strong></p>
<p>In addition, I was tagged in the facebook and laugh hard about it&#8230; And I think its true! Bwuahahahaha!</p>
<p style="text-align: center;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/siLA2q1yMJI&amp;hl=en_US&amp;fs=1&amp;color1=0x006699&amp;color2=0x54abd6" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/siLA2q1yMJI&amp;hl=en_US&amp;fs=1&amp;color1=0x006699&amp;color2=0x54abd6" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p style="text-align: center;"> <img src='http://camilord.kagayan.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://camilord.kagayan.com/2010/01/23/should-not-be-voted-manny-villar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Visual C#: Detect Conflict Schedule</title>
		<link>http://camilord.kagayan.com/2010/01/18/visual-csharp-detect-conflict-schedule/</link>
		<comments>http://camilord.kagayan.com/2010/01/18/visual-csharp-detect-conflict-schedule/#comments</comments>
		<pubDate>Mon, 18 Jan 2010 08:55:53 +0000</pubDate>
		<dc:creator>Camilo III</dc:creator>
				<category><![CDATA[Info.Tech]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Visual C#]]></category>

		<guid isPermaLink="false">http://camilord.kagayan.com/?p=325</guid>
		<description><![CDATA[It seems a lot of people are searching about solving conflict schedule. So I decided to create a sample. Below is the core code of checking conflict schedule&#8230;
// sample conflict detection (defined) [start]
DateTime d = new DateTime(2010, 1, 13);
richTextBox1.Text = DateTime.Now.ToLongDateString() + &#8221; = &#8221; + d.ToLongDateString() + &#8220;\n&#8221;;
if (DateTime.Now.CompareTo(d) &#62; 0)
{
richTextBox1.Text += &#8220;true\n&#8221; + [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_329" class="wp-caption alignright" style="width: 281px"><img class="size-medium wp-image-329" title="det_conf_sched" src="http://camilord.kagayan.com/wp-content/uploads/2010/01/det_conf_sched-271x300.jpg" alt="Screenshot" width="271" height="300" /><p class="wp-caption-text">Screenshot</p></div>
<p>It seems a lot of people are searching about solving conflict schedule. So I decided to create a sample. Below is the core code of checking conflict schedule&#8230;</p>
<blockquote><p>// sample conflict detection (defined) [start]<br />
DateTime d = new DateTime(2010, 1, 13);<br />
richTextBox1.Text = DateTime.Now.ToLongDateString() + &#8221; = &#8221; + d.ToLongDateString() + &#8220;\n&#8221;;<br />
if (DateTime.Now.CompareTo(d) &gt; 0)<br />
{<br />
richTextBox1.Text += &#8220;true\n&#8221; + DateTime.Now.CompareTo(d).ToString();<br />
}<br />
else<br />
{<br />
richTextBox1.Text += &#8220;false\n&#8221; + DateTime.Now.CompareTo(d).ToString();<br />
}<br />
richTextBox1.Text += &#8220;\n\n&#8221;;<br />
DateTime dx = DateTime.Now;<br />
//MessageBox.Show(dx.Hour.ToString());<br />
DateTime[] dt = new DateTime[4];<br />
// enrolled schedule<br />
dt[0] = new DateTime(int.Parse(dx.Year.ToString()), int.Parse(dx.Month.ToString()), int.Parse(dx.Day.ToString()), 8, 0, 0);<br />
dt[1] = new DateTime(int.Parse(dx.Year.ToString()), int.Parse(dx.Month.ToString()), int.Parse(dx.Day.ToString()), 9, 0, 0);<br />
// adding new schedule<br />
dt[2] = new DateTime(int.Parse(dx.Year.ToString()), int.Parse(dx.Month.ToString()), int.Parse(dx.Day.ToString()), 9, 0, 0);<br />
dt[3] = new DateTime(int.Parse(dx.Year.ToString()), int.Parse(dx.Month.ToString()), int.Parse(dx.Day.ToString()), 10, 0, 0);<br />
// checking schedule conflict<br />
if (((dt[0].CompareTo(dt[2]) &lt; 0) &amp;&amp; (dt[1].CompareTo(dt[2]) &gt; 0)) || (dt[0].ToShortTimeString() == dt[2].ToShortTimeString()))<br />
{<br />
richTextBox1.Text += dt[0].ToShortTimeString() + &#8221; &#8211; &#8221; + dt[1].ToShortTimeString() + &#8221; against &#8221; + dt[2].ToShortTimeString() + &#8221; &#8211; &#8221; + dt[3].ToShortTimeString() + &#8220;\nResult: CONFLICT&#8221;;<br />
}<br />
else<br />
{<br />
richTextBox1.Text += dt[0].ToShortTimeString() + &#8221; &#8211; &#8221; + dt[1].ToShortTimeString() + &#8221; against &#8221; + dt[2].ToShortTimeString() + &#8221; &#8211; &#8221; + dt[3].ToShortTimeString() + &#8220;\nResult: NO CONFLICT&#8221;;<br />
}<br />
// sample conflict detection (defined) [end]</p></blockquote>
<p>If you want to download the whole code, link below and enjoy&#8230; Do not practice the copy and paste! <img src='http://camilord.kagayan.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Download: <a class="downloadlink" href="http://camilord.kagayan.com/download/detectScheduleConflict.zip" title="Versionv.0.1.0 downloaded 5 times" >Detect Conflict Schedule (5)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://camilord.kagayan.com/2010/01/18/visual-csharp-detect-conflict-schedule/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Ubuntu Professional Certification</title>
		<link>http://camilord.kagayan.com/2009/12/18/ubuntu-professional-certification/</link>
		<comments>http://camilord.kagayan.com/2009/12/18/ubuntu-professional-certification/#comments</comments>
		<pubDate>Fri, 18 Dec 2009 14:11:58 +0000</pubDate>
		<dc:creator>Camilo III</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Info.Tech]]></category>
		<category><![CDATA[Operating Systems]]></category>

		<guid isPermaLink="false">http://camilord.kagayan.com/?p=293</guid>
		<description><![CDATA[Today, I tried to answer the pre-test of UPC or the Ubuntu Professional Certification&#8230; and the result was&#8230;
Dear Camilo III,
Thank you very much for taking part in the pre-training assessment.
Your score is 9, which means that you are probably over-qualified for this course.
As a next step we suggest that you read through the Deploying Ubuntu [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_302" class="wp-caption alignright" style="width: 230px"><img class="size-medium wp-image-302" title="Ubuntu Girl" src="http://camilord.kagayan.com/wp-content/uploads/2009/12/1594658226_d32d14d87e-220x300.jpg" alt="Ubuntu Girl" width="220" height="300" /><p class="wp-caption-text">Ubuntu Girl</p></div>
<p>Today, I tried to answer the pre-test of UPC or the Ubuntu Professional Certification&#8230; and the result was&#8230;</p>
<blockquote><p>Dear Camilo III,</p>
<p>Thank you very much for taking part in the pre-training assessment.</p>
<p>Your score is 9, which means that you are probably over-qualified for this course.</p>
<p>As a next step we suggest that you read through the Deploying Ubuntu Server Edition course overview found here: <a style="color: #005488;" href="http://www.ubuntu.com/training/certificationcourses/server" target="_blank">http://www.ubuntu.com/training/certificationcourses/server</a> and then complete the corresponding online assessment.</p>
<p>Ubuntu Training courses are taught by Canonical-trained Ubuntu Certified Instructors. The Deploying Ubuntu Server Edition course is available through online training and classroom training, so you can can learn in the environment that suits you best.</p>
<p>Visit: <a style="color: #005488;" href="http://www.ubuntu.com/training" target="_blank">www.ubuntu.com/training</a> for more information.</p>
<p>Best regards and good luck<br />
The Ubuntu Training Team</p></blockquote>
<p>How flattering!! I admit it, I&#8217;m not that good&#8230; but anyway, the test is so easy.. hahahaha.. <img src='http://camilord.kagayan.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  And one thing, I don&#8217;t have a dollars to pay the $1,600 for the Deploying Ubuntu Server Edition Certification. Its like PhP 76,800.00 in my country, that is 9 months to save my whole salary. hahahaha.. Damn! I will starved to death if I will take the exam&#8230; <img src='http://camilord.kagayan.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://camilord.kagayan.com/2009/12/18/ubuntu-professional-certification/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Visual C#: Retrieving Image (BLOB) from MySQL database</title>
		<link>http://camilord.kagayan.com/2009/12/14/visual-c-retrieving-image-blob-from-mysql-database/</link>
		<comments>http://camilord.kagayan.com/2009/12/14/visual-c-retrieving-image-blob-from-mysql-database/#comments</comments>
		<pubDate>Mon, 14 Dec 2009 07:48:29 +0000</pubDate>
		<dc:creator>Camilo III</dc:creator>
				<category><![CDATA[Info.Tech]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Visual C#]]></category>

		<guid isPermaLink="false">http://camilord.kagayan.com/?p=286</guid>
		<description><![CDATA[I&#8217;ve been searching an article about storing and retrieving an image (BLOB data type) from MySQL database. Somehow, I only found the retrieving process but I created the storing process using PHP&#8230;  
You may download my works, link provided below&#8230;

idsystem_database.sql.zip &#8211; the dump file of MySQL database; import this SQL file before running the [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been searching an article about storing and retrieving an image (BLOB data type) from MySQL database. Somehow, I only found the retrieving process but I created the storing process using PHP&#8230; <img src='http://camilord.kagayan.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>You may download my works, link provided below&#8230;</p>
<ul>
<li>idsystem_database.sql.zip &#8211; the dump file of MySQL database; import this SQL file before running the project</li>
<li>the rest of the files are the project sample files</li>
</ul>
<p>-&gt; <a class="downloadlink" href="http://camilord.kagayan.com/download/retrieveImg_public.zip" title="Versionv.0.1.0 downloaded 13 times" >retrieveImg_public.zip (13)</a> or http://camilord.kagayan.com/my.files/retrieveImg_public.zip</p>
<p>For the credits, Thanks to Markusek Peter&#8230;</p>
<blockquote><p>MySqlConnection myConnection = new MySqlConnection(myConnString);</p>
<p>string testQuery = &#8220;SELECT sp.studePhoto, s.firstName, s.lastName</p>
<p>FROM students AS s, student_photos AS sp WHERE s.id = sp.studentID&#8221;;<br />
MySqlCommand myCommand = new MySqlCommand(testQuery, myConnection);</p>
<p>myConnection.Open();<br />
MySqlDataReader myReader = myCommand.ExecuteReader();</p>
<p>FileStream fs; // Writes the BLOB to a file (*.jpg).</p>
<p>BinaryWriter bw; // Streams the BLOB to the FileStream object.</p>
<p>int bufferSize = 100; // Size of the BLOB buffer.</p>
<p>// The BLOB byte[] buffer to be filled by GetBytes.</p>
<p>byte[] outbyte = new byte[bufferSize];<br />
long retval; // The bytes returned from GetBytes.<br />
long startIndex = 0; // The starting position in the BLOB output.</p>
<p>while (myReader.Read())<br />
{<br />
DateTime tmp = new DateTime();<br />
tmp = DateTime.Now;<br />
// Create a file to hold the output.<br />
string filename = camilordMD5(tmp.ToLongDateString().ToString() + tmp.ToLongTimeString().ToString()) + &#8220;.jpg&#8221;;</p>
<p>string dest = Directory.GetCurrentDirectory() + &#8220;/&#8221; + filename;<br />
fs = new FileStream(dest, FileMode.OpenOrCreate, FileAccess.Write);<br />
bw = new BinaryWriter(fs);</p>
<p>// Reset the starting byte for the new BLOB.<br />
startIndex = 0;<br />
// Read the bytes into outbyte[] and retain the number of bytes returned.</p>
<p>//myReader.GetBytes(0, startIndex, outbyte, 0, bufferSize);<br />
retval =(long) myReader.GetBytes(0, startIndex, outbyte, 0, bufferSize);<br />
lblName.Text = myReader.GetString(1) + &#8221; &#8221; + myReader.GetString(2);</p>
<p>// Continue reading and writing while there are bytes beyond the size of the buffer.<br />
while (retval == bufferSize)<br />
{<br />
bw.Write(outbyte);<br />
bw.Flush();</p>
<p>// Reposition the start index to the end of the last buffer and fill thebuffer.<br />
startIndex += bufferSize;<br />
retval = myReader.GetBytes(0, startIndex, outbyte, 0, bufferSize);</p>
<p>}</p>
<p>pictureBox1.ImageLocation = Directory.GetCurrentDirectory() + &#8220;/test.jpg&#8221;;<br />
//pictureBox1.Image = retval;</p>
<p>// Write the remaining buffer.</p>
<p>bw.Write(outbyte, 0, (int)retval &#8211; 1);<br />
bw.Flush();</p>
<p>// Close the output file.<br />
bw.Close();<br />
fs.Close();<br />
}</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://camilord.kagayan.com/2009/12/14/visual-c-retrieving-image-blob-from-mysql-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Visual C#: Handling X button (top-right)</title>
		<link>http://camilord.kagayan.com/2009/12/07/visual-c-handling-x-button-top-right/</link>
		<comments>http://camilord.kagayan.com/2009/12/07/visual-c-handling-x-button-top-right/#comments</comments>
		<pubDate>Mon, 07 Dec 2009 02:21:46 +0000</pubDate>
		<dc:creator>Camilo III</dc:creator>
				<category><![CDATA[Info.Tech]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Visual C#]]></category>

		<guid isPermaLink="false">http://camilord.kagayan.com/?p=281</guid>
		<description><![CDATA[Disabling the X button
private const int CP_NOCLOSE_BUTTON = 0x200;

protected override CreateParams CreateParams
{
     get
     {
        CreateParams myCp = base.CreateParams;
        myCp.ClassStyle = myCp.ClassStyle &#124; CP_NOCLOSE_BUTTON;
        return myCp;
  [...]]]></description>
			<content:encoded><![CDATA[<p><strong><img class="alignright size-full wp-image-306" title="xbutton" src="http://camilord.kagayan.com/wp-content/uploads/2009/12/xbutton.jpg" alt="xbutton" width="223" height="223" />Disabling the X button</strong></p>
<pre>private const int CP_NOCLOSE_BUTTON = 0x200;

protected override CreateParams CreateParams
{
     get
     {
        CreateParams myCp = base.CreateParams;
        myCp.ClassStyle = myCp.ClassStyle | CP_NOCLOSE_BUTTON;
        return myCp;
     }
}</pre>
<p><strong>Add confirmation if window closing or closed&#8230;</strong></p>
<p>Insert this code to Main form or the Form1.cs<strong>&#8230;</strong></p>
<p><strong><br />
</strong></p>
<pre>private void Form1_Closing(object sender,
                   System.ComponentModel.CancelEventArgs e)
{
     if (MessageBox.Show("Are you sure you want to exit?", "Confirm exit",
         MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.No)
     {
        e.Cancel = true;
     }
}</pre>
<p>Insert this to Form1.Designer.cs&#8230;</p>
<pre>this.Closing += new System.ComponentModel.CancelEventHandler(
                             this.frmCCS_Closing);</pre>
]]></content:encoded>
			<wfw:commentRss>http://camilord.kagayan.com/2009/12/07/visual-c-handling-x-button-top-right/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>[PHP] Converting a value to MAC address format</title>
		<link>http://camilord.kagayan.com/2009/10/20/php-converting-a-value-to-mac-address-format/</link>
		<comments>http://camilord.kagayan.com/2009/10/20/php-converting-a-value-to-mac-address-format/#comments</comments>
		<pubDate>Tue, 20 Oct 2009 15:37:24 +0000</pubDate>
		<dc:creator>Camilo III</dc:creator>
				<category><![CDATA[Info.Tech]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://camilord.kagayan.com/?p=277</guid>
		<description><![CDATA[I just want to post this since someone ask about it. It might help if someone in this world is searching for an answer with the same problem my friend does. This is about converting a value of 0014:f8c4:9e32 or 0014f8c49e32 to 00:14:f8:c4:9e:32&#8230;
Now here&#8217;s some answers for that&#8230;
function convertMACAddress($input)
{
    // clean up unwanted characters
    $input [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-medium wp-image-311" title="php_code" src="http://camilord.kagayan.com/wp-content/uploads/2009/10/php_code-300x193.jpg" alt="php_code" width="300" height="193" />I just want to post this since someone ask about it. It might help if someone in this world is searching for an answer with the same problem my friend does. This is about converting a value of <strong>0014:f8c4:9e32</strong> or <strong>0014f8c49e32</strong> to <strong>00:14:f8:c4:9e:32</strong>&#8230;</p>
<p>Now here&#8217;s some answers for that&#8230;</p>
<pre>function convertMACAddress($input)
{
    // clean up unwanted characters
    $input = preg_replace( '/[^a-zA-Z0-9]/', '', $input);

    // initiate character positioning
    $pos = 0;

    // declare output container
    $output = '';

     // if given MAC is invalid, terminate process and return an error
     if (strlen($input) &lt; 12)
     {
           return '[Unrecognized MAC address]';
     }

    // initiate convertion...
    for ($i = 0; $i &lt; 6; $i++)
    {
           if ($i == 0)
           {
                  $output .= substr($input, $pos, 2);
           }
           else
           {
                   $output .= ':'.substr($input, $pos, 2);
            }
            $pos += 2;
     }

      return $output;
}</pre>
<p>That&#8217;s it&#8230; Problem solved. <img src='http://camilord.kagayan.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  If need a sample code, please download the source -&gt; <a class="downloadlink" href="http://camilord.kagayan.com/download/mac.convert.zip" title="Version0.0.1 downloaded 8 times" >Mac Convert (8)</a> &#8212; Have fun coding..</p>
]]></content:encoded>
			<wfw:commentRss>http://camilord.kagayan.com/2009/10/20/php-converting-a-value-to-mac-address-format/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
