<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2458040899416546952</id><updated>2011-08-02T03:24:13.882+08:00</updated><category term='php com pdmworks solidworks pdm enterprise api'/><title type='text'>The Spot on the web</title><subtitle type='html'>&lt;a href="http://bluepointer.org/?bid=oremorspot"&gt;&lt;img src="http://bluepointer.org/images/20080601000040/bluepointer-im.png" border="0" width="80" height="15"&gt;&lt;/a&gt;</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://thespotontheweb.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2458040899416546952/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://thespotontheweb.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Spot</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>5</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2458040899416546952.post-7182122543653259870</id><published>2009-08-10T15:44:00.002+08:00</published><updated>2009-08-10T16:01:16.663+08:00</updated><title type='text'>Globe Tattoo &amp; DIY antenna</title><content type='html'>I'm looking for a way on how to improve the reception of my Globe Tattoo modem. And luckily I came across this simple, yet effective, solutions (&lt;span class="Apple-style-span"  style=" ;font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;a href="http://www.usbwifi.orconhosting.net.nz/"&gt;USB adaptors &amp;amp; DIY antenna = "Poor Man's WiFi" &lt;/a&gt;&lt;/span&gt;&lt;/span&gt;). &lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Actually I tried using an aluminum casserole cover and I saw that my modem gained from ~89db to ~72db. Which I think not bad for my testing purpose :)&lt;div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I'm planning to improve my antenna based on the samples and information on the website I mentioned above and I'll post an update as soon as possible.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Kudos to &lt;a href="http://www.usbwifi.orconhosting.net.nz/"&gt;http://www.usbwifi.orconhosting.net.nz/&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2458040899416546952-7182122543653259870?l=thespotontheweb.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thespotontheweb.blogspot.com/feeds/7182122543653259870/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2458040899416546952&amp;postID=7182122543653259870' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2458040899416546952/posts/default/7182122543653259870'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2458040899416546952/posts/default/7182122543653259870'/><link rel='alternate' type='text/html' href='http://thespotontheweb.blogspot.com/2009/08/globe-tattoo-diy-antenna.html' title='Globe Tattoo &amp; DIY antenna'/><author><name>Spot</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2458040899416546952.post-7282481989784879292</id><published>2009-06-30T14:29:00.003+08:00</published><updated>2009-06-30T15:38:49.581+08:00</updated><title type='text'>How to include SATURDAY in Excel NETWORKDAYS function</title><content type='html'>I've been using Excel NETWORKDAYS function to compute for the number of days between two dates. But this function excludes SATURDAY's and SUNDAY's. Since I wanted the SATURDAY's to be counted as well, I've came up with the following formula to do the job:&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;*Assuming you have the START DATE in cell "B4" and the END DATE in cell "C4".&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;=CEILING((C4-B4+1)-(((C4-B4+1)-NETWORKDAYS(B4,C4))/2),1)&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Try it and please do let me know how it served or helped you.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2458040899416546952-7282481989784879292?l=thespotontheweb.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thespotontheweb.blogspot.com/feeds/7282481989784879292/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2458040899416546952&amp;postID=7282481989784879292' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2458040899416546952/posts/default/7282481989784879292'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2458040899416546952/posts/default/7282481989784879292'/><link rel='alternate' type='text/html' href='http://thespotontheweb.blogspot.com/2009/06/how-to-include-saturday-in-excel.html' title='How to include SATURDAY in Excel NETWORKDAYS function'/><author><name>Spot</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2458040899416546952.post-8950636145121335052</id><published>2009-04-04T13:43:00.008+08:00</published><updated>2009-04-04T14:16:19.257+08:00</updated><title type='text'>Trouble using &lt;button&gt; element in IE (internet Explorer)</title><content type='html'>I've been having trouble using the &amp;lt;button&amp;gt; in IE7. The problem is IE always uses the "TEXT" between the &amp;lt;button name="action" value="thevalue" &amp;gt;TEXT&amp;lt;/button&amp;gt; as the return value from a form POST, instead of "thevalue".&lt;br /&gt;&lt;br /&gt;As I observed this only happens in IE6/7 but not on Firefox and Chrome. I've tried to Google for a work around but I usually get solutions using JavaScript... which I also prefer not to use.&lt;br /&gt;&lt;br /&gt;Instead, I used the following to get around the issue:&lt;br /&gt;&lt;br /&gt;&amp;lt;button name="action[thevalue]" &amp;gt;TEXT&amp;lt;/button&amp;gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;when submitted the result array will be like this:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Array ( [action] =&gt; Array ( [thevalue] =&gt; TEXT ))&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;having the array structure above, all I need to do is to get the "thevalue" key of the variable array "action". Here's how I did it in PHP:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;lt;?php&lt;/div&gt;&lt;div&gt;&lt;div&gt;$parameters = $_REQUEST;&lt;/div&gt;&lt;div&gt;$action = implode(array_keys($parameters['action']));&lt;/div&gt;&lt;div&gt;echo "Value of action: ".$action;&lt;/div&gt;&lt;div&gt;?&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;the result will be:&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;Value of action: thevalue&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;--&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;That's all to it... well I hope I have given you another option on how to go around the subject.&lt;/div&gt;&lt;div&gt;Feel free to use the code above, and if you find it useful, I would greatly appriace if you atleast provide a feedback via comment.&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2458040899416546952-8950636145121335052?l=thespotontheweb.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thespotontheweb.blogspot.com/feeds/8950636145121335052/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2458040899416546952&amp;postID=8950636145121335052' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2458040899416546952/posts/default/8950636145121335052'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2458040899416546952/posts/default/8950636145121335052'/><link rel='alternate' type='text/html' href='http://thespotontheweb.blogspot.com/2009/04/trouble-using-element-in-ie7.html' title='Trouble using &amp;lt;button&amp;gt; element in IE (internet Explorer)'/><author><name>Spot</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2458040899416546952.post-2171359825874275894</id><published>2009-03-16T08:49:00.004+08:00</published><updated>2009-03-16T13:27:59.711+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='php com pdmworks solidworks pdm enterprise api'/><title type='text'>Connect PHP to PDMWorks2008 via COM</title><content type='html'>I've been trying to search on how can I programmatically connect PHP via COM to PDMWorks. But it seems that there are not many resources available yet. Actually I only found one from (&lt;a href="http://blog.lphuberdeau.com/wordpress/2007/06/14/php-interoperability-pdm-works-enterprise/"&gt;http://blog.lphuberdeau.com&lt;/a&gt;) and this gave me hope to continue :)&lt;br /&gt;&lt;br /&gt;So I also decided to post my snippet today to also give hope to others that there is someone who is also trying to accomplish such task. If you have any constructive idea how to improve this code, well please kindly post it here.&lt;br /&gt;&lt;br /&gt;Code:&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;&lt;?php&lt;br /&gt;define('EdmVaultCLSID','{AE784C6C-0155-11D3-B24B-0000F879F93B}'); // CLSID of EdmVault in registry&lt;br /&gt;&lt;br /&gt;$major = 0;&lt;br /&gt;$minor = 0;&lt;br /&gt;$vusername = 'username';&lt;br /&gt;$vpassword = 'password';&lt;br /&gt;$vname = 'vaulname'; // i'm having trouble connecting to a vault with more than 8 character&lt;br /&gt;&lt;br /&gt;/*&lt;br /&gt;The following snippet log-in to vault, show some info, and get the list of folders in the root-folder&lt;br /&gt;*/&lt;br /&gt;try{&lt;br /&gt; // instantiate an object of EdmVault&lt;br /&gt; echo 'Instantiating COM object... &lt;br&gt;';&lt;br /&gt; $vobj = new COM(EdmVaultCLSID) or die("Can't instantiate COM object!"); // instantiate the object &lt;br /&gt;  echo 'COM object instantiated! &lt;br&gt;';&lt;br /&gt;  &lt;br /&gt;  // get and display some info&lt;br /&gt; $vobj-&gt;GetVersion($major, $minor);&lt;br /&gt; echo " Version $major.$minor &lt;br&gt;"; &lt;br /&gt;  echo " Language: ".$vobj-&gt;Language.'&lt;br&gt;';&lt;br /&gt; &lt;br /&gt;  // login to vault&lt;br /&gt;  echo 'Logging in to vault... &lt;br&gt;';&lt;br /&gt; $vobj-&gt;Login($vusername, $vpassword, $vname);&lt;br /&gt; echo "Logged in?".$vobj-&gt;IsLoggedIn.'&lt;br&gt;';&lt;br /&gt; &lt;br /&gt; // get name of root folder the list the subfolders in the root&lt;br /&gt; $vrootfolder = $vobj-&gt;RootFolderPath;&lt;br /&gt; echo "Root folder: $vrootfolder &lt;br&gt;";&lt;br /&gt;  echo "Sub folders:&lt;br&gt;";&lt;br /&gt;  $vfolder = $vobj-&gt;GetFolderFromPath($vrootfolder);&lt;br /&gt;  &lt;br /&gt;  if(!$vfolder){&lt;br /&gt;   echo "No folders found!";&lt;br /&gt;  }&lt;br /&gt;  &lt;br /&gt;  $vpos = $vfolder-&gt;GetFirstSubFolderPosition;&lt;br /&gt;  &lt;br /&gt;  while(!$vpos-&gt;isnull){ // loop until there are folders in the root&lt;br /&gt;    $vsubfolder = $vfolder-&gt;GetNextSubFolder($vpos);&lt;br /&gt;    echo '&gt;&gt;&gt;'.$vsubfolder-&gt;Name.'&lt;br&gt;';&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;}catch (Exception $e) {&lt;br /&gt;&lt;br /&gt;    echo 'Caught exception: ',  $e-&gt;getMessage(), "\n";&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2458040899416546952-2171359825874275894?l=thespotontheweb.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thespotontheweb.blogspot.com/feeds/2171359825874275894/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2458040899416546952&amp;postID=2171359825874275894' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2458040899416546952/posts/default/2171359825874275894'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2458040899416546952/posts/default/2171359825874275894'/><link rel='alternate' type='text/html' href='http://thespotontheweb.blogspot.com/2009/03/connect-php-to-pdmworks2008-via-com.html' title='Connect PHP to PDMWorks2008 via COM'/><author><name>Spot</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2458040899416546952.post-6131267777177301721</id><published>2008-10-17T09:05:00.000+08:00</published><updated>2008-10-17T09:44:09.166+08:00</updated><title type='text'>First spot</title><content type='html'>&lt;span style=";font-family:arial;font-size:130%;"  &gt;&lt;span style="color: rgb(255, 204, 51); font-weight: bold;"&gt;Mabuhay!&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;Hello, I'm Spot and this is my first blog. I hope that I can make this blog fun and interesting for my family and my friends.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2458040899416546952-6131267777177301721?l=thespotontheweb.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thespotontheweb.blogspot.com/feeds/6131267777177301721/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2458040899416546952&amp;postID=6131267777177301721' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2458040899416546952/posts/default/6131267777177301721'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2458040899416546952/posts/default/6131267777177301721'/><link rel='alternate' type='text/html' href='http://thespotontheweb.blogspot.com/2008/10/first-spot.html' title='First spot'/><author><name>Spot</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
