<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.foxite.com/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Erik Gomez</title><link>http://weblogs.foxite.com/erikgomez/default.aspx</link><description>Erik's blog</description><dc:language>en-US</dc:language><generator>CommunityServer 2.0 (Build: 60217.2664)</generator><item><title>Visual FoxPro 9 Report Preview Extended</title><link>http://weblogs.foxite.com/erikgomez/archive/2008/12/18/7453.aspx</link><pubDate>Thu, 18 Dec 2008 07:38:00 GMT</pubDate><guid isPermaLink="false">8827bd1c-7596-4a8f-b0de-f59ce9ede522:7453</guid><dc:creator>egomez</dc:creator><slash:comments>0</slash:comments><comments>http://weblogs.foxite.com/erikgomez/comments/7453.aspx</comments><wfw:commentRss>http://weblogs.foxite.com/erikgomez/commentrss.aspx?PostID=7453</wfw:commentRss><description>&lt;a href="http://msdn.microsoft.com/en-us/vfoxpro/default.aspx"&gt;Visual FoxPro 9’s (VFP9)&lt;/a&gt; report preview has gone a long way since it was first introduced. Now&lt;a href="http://msdn.microsoft.com/en-us/vfoxpro/default.aspx"&gt; VFP&lt;/a&gt; (starting with VFP8) has an object assisted report engine paving way to enhancements and providing greater control to report generation.
&lt;br&gt;&lt;br&gt;But what remained was the rather “outdated” albeit functional preview window toolbar and pop-up menu .Looking closely at the toolbar and pop-up menu one finds out that the icons are old (probably dating back to VFP3).&lt;br&gt;&lt;br&gt;
Anyway in attempt to upgrade the report preview looks (the default functionally of the preview window is enough for me, for the moment at least) so that it will blend well with my applications general look and feel, I took a look at the source code of the ReportPreview.app. My application utilizes the silk icons courtesy of &lt;a href="http://www.famfamfam.com"&gt;Mark James&lt;/a&gt; of &lt;a href="http://www.famfamfam.com"&gt;http://www.famfamfam.com&lt;/a&gt;, thus I wanted to use the same icons in the preview window toolbar and in pop-up menu. In order to achieve this I dove into the source code of the ReportPreview.app. I took out some parts that I did not need and added some of my own. Along the way I changed the icons so that the toolbar and pop-up menu will have a unified look with my application's standard toolbars and menus. In the toolbar, notably gone is the clunky combobox that controls the zoom. It has been replaced with the zoom in and zoom out buttons that is in sync with the pop-up menu.&lt;br&gt;&lt;br&gt;
&lt;a href="http://s151.photobucket.com/albums/s125/eaglegreek/?action=view&amp;amp;current=2008-12-18_161035.jpg" target="_blank"&gt;&lt;img src="http://i151.photobucket.com/albums/s125/eaglegreek/2008-12-18_161035.jpg" alt="Photobucket" border="0"&gt;&lt;/a&gt;
&lt;br&gt;&lt;br&gt;The icons originally came in &lt;a href="http://en.wikipedia.org/wiki/Portable_Network_Graphics"&gt;portable network graphics (PNG) format&lt;/a&gt;, but with the help of &lt;a href="/vfpimaging/archive/2007/11/14/5404.aspx?CommentPosted=true#commentmessage"&gt;Cesar Chalom's code&lt;/a&gt;, I was able to convert these to &lt;a href="http://en.wikipedia.org/wiki/BMP_file_format"&gt;BMP&lt;/a&gt; with pure white backgrounds suitable for VFP buttons and menus.&lt;br&gt;&lt;br&gt;
It does not take a lot of effort to understand the code for the ReportPreview.app. I can’t release my code as I am not sure if it’s allowed by VFP9’s EULA. Anyway, I was hoping that my little adventure will inspire some of you who feel the same way as I did regarding VFP9’s report preview window. I leave with some screenshots of my application featuring the extended ReportPreview.app.&lt;br&gt;&lt;br&gt;
&lt;a href="http://s151.photobucket.com/albums/s125/eaglegreek/?action=view&amp;amp;current=2008-12-18_161421.jpg" target="_blank"&gt;&lt;img src="http://i151.photobucket.com/albums/s125/eaglegreek/2008-12-18_161421.jpg" alt="Photobucket" border="0"&gt;&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;a href="http://s151.photobucket.com/albums/s125/eaglegreek/?action=view&amp;amp;current=2008-12-18_161232.jpg" target="_blank"&gt;&lt;img src="http://i151.photobucket.com/albums/s125/eaglegreek/2008-12-18_161232.jpg" alt="Photobucket" border="0"&gt;&lt;/a&gt;&lt;br&gt;&lt;br&gt;
By the way, my application utilizes Dale Dedoroy's updated &lt;a href="http://www.foxite.com/downloads/default.aspx?id=39&amp;amp;keyword=sizer&amp;amp;category="&gt;Sizer2&lt;/a&gt; resizer class.

&lt;img src="http://weblogs.foxite.com/aggbug.aspx?PostID=7453" width="1" height="1"&gt;</description></item><item><title>Form to XML to Form</title><link>http://weblogs.foxite.com/erikgomez/archive/2008/12/10/7420.aspx</link><pubDate>Wed, 10 Dec 2008 08:03:00 GMT</pubDate><guid isPermaLink="false">8827bd1c-7596-4a8f-b0de-f59ce9ede522:7420</guid><dc:creator>egomez</dc:creator><slash:comments>0</slash:comments><comments>http://weblogs.foxite.com/erikgomez/comments/7420.aspx</comments><wfw:commentRss>http://weblogs.foxite.com/erikgomez/commentrss.aspx?PostID=7420</wfw:commentRss><description>Recently an ex-colleague of mine wanted to send a VFP9 form over the internet through web. His initial method was to compress (zip) the VFP9 form files (SCX and SCT) the then launch a download process on the client side to download the zip file. But he thought why go through all the “trouble” of zipping and downloading when it would be "cooler" to send the VFP9 form files via XML. By converting the files (SCX and SCT) to strings and storing these in memo fields of a cursor and in turn convert the cursor to XML he then can send the files through the internet without zipping these first but he ran into a stumbling block. The form he wanted to send contained several ActiveX controls and using the FileToStr() function posed a problem. 

The form files could not be re-converted back to their original states once these have been embedded into memo fields and converted to XML using the powerful CursorToXML() and XMLToCursor() functions. His flat-mate who is incidentally my colleague mentioned to me his predicament. Since I had some slack time, I set out to try to help him. I remembered during my development of an email application I did several years ago, that email attachments are encoded/decoded to/from Base64 and then attached. So I used the same technique. I used StrToFile() to convert the files to strings and then encode these strings to Base64 using Strconv() and then the embed resulting strings to memo fields. After that convert the cursor to XML and back to cursor and to form files again and guess what it worked like a charm. Below is the code I used to achieve this.

&lt;div&gt;&lt;pre&gt;&lt;font color="blue"&gt;Set&lt;/font&gt; &lt;font color="blue"&gt;Safety&lt;/font&gt; &lt;font color="blue"&gt;Off&lt;/font&gt;

&lt;font color="blue"&gt;Use&lt;/font&gt; &lt;font color="blue"&gt;In&lt;/font&gt; &lt;font color="blue"&gt;Select&lt;/font&gt;(&lt;font color="red"&gt;"cursMyForm"&lt;/font&gt;)

&lt;font color="blue"&gt;Create&lt;/font&gt; &lt;font color="blue"&gt;Cursor&lt;/font&gt; cursMyForm (cfilename c(&lt;font color="red"&gt;25&lt;/font&gt;),mfile m)

lcFormName = &lt;font color="red"&gt;"frmMyForm"&lt;/font&gt;

m.cfilename = &lt;font color="blue"&gt;Forceext&lt;/font&gt;(lcFormName,&lt;font color="red"&gt;"scx"&lt;/font&gt;)
m.mfile = &lt;font color="blue"&gt;Strconv&lt;/font&gt;(&lt;font color="blue"&gt;Filetostr&lt;/font&gt;(m.cfilename),&lt;font color="red"&gt;13&lt;/font&gt;) &lt;font color="green"&gt;&amp;amp;&amp;amp; encode to base64&lt;/font&gt;
&lt;font color="blue"&gt;Insert&lt;/font&gt; &lt;font color="blue"&gt;Into&lt;/font&gt; cursMyForm &lt;font color="blue"&gt;From&lt;/font&gt; &lt;font color="blue"&gt;Memvar&lt;/font&gt;
m.cfilename = &lt;font color="blue"&gt;Forceext&lt;/font&gt;(lcFormName,&lt;font color="red"&gt;"sct"&lt;/font&gt;)
m.mfile = &lt;font color="blue"&gt;Strconv&lt;/font&gt;(&lt;font color="blue"&gt;Filetostr&lt;/font&gt;(m.cfilename),&lt;font color="red"&gt;13&lt;/font&gt;) &lt;font color="green"&gt;&amp;amp;&amp;amp; encode to base64&lt;/font&gt;
&lt;font color="blue"&gt;Insert&lt;/font&gt; &lt;font color="blue"&gt;Into&lt;/font&gt; cursMyForm &lt;font color="blue"&gt;From&lt;/font&gt; &lt;font color="blue"&gt;Memvar&lt;/font&gt;

Cursortoxml(&lt;font color="red"&gt;"cursMyForm"&lt;/font&gt;,&lt;font color="red"&gt;"MyForm.xml"&lt;/font&gt;,&lt;font color="red"&gt;3&lt;/font&gt;,&lt;font color="red"&gt;512&lt;/font&gt;)
Xmltocursor(&lt;font color="red"&gt;"MyForm.xml"&lt;/font&gt;,&lt;font color="red"&gt;"cursTemp"&lt;/font&gt;,&lt;font color="red"&gt;512&lt;/font&gt;)

&lt;font color="blue"&gt;Select&lt;/font&gt; cursTemp
&lt;font color="blue"&gt;Scan&lt;/font&gt;
	lcNewFileName = &lt;font color="blue"&gt;Forceext&lt;/font&gt;(&lt;font color="blue"&gt;Juststem&lt;/font&gt;(&lt;font color="blue"&gt;Alltrim&lt;/font&gt;(cfilename)) + &lt;font color="red"&gt;"_new"&lt;/font&gt;,&lt;font color="blue"&gt;Justext&lt;/font&gt;(&lt;font color="blue"&gt;Alltrim&lt;/font&gt;(cfilename)))
	lcNewFile = &lt;font color="blue"&gt;Strtofile&lt;/font&gt;(&lt;font color="blue"&gt;Strconv&lt;/font&gt;(mfile,&lt;font color="red"&gt;14&lt;/font&gt;),lcNewFileName) &lt;font color="green"&gt;&amp;amp;&amp;amp; decode memo then convert to file&lt;/font&gt;
&lt;font color="blue"&gt;Endscan&lt;/font&gt;&lt;/pre&gt;&lt;/div&gt;&lt;img src="http://weblogs.foxite.com/aggbug.aspx?PostID=7420" width="1" height="1"&gt;</description></item><item><title>Visual FoxPro and MS Outlook Automation to the Rescue</title><link>http://weblogs.foxite.com/erikgomez/archive/2008/11/28/7391.aspx</link><pubDate>Fri, 28 Nov 2008 12:43:00 GMT</pubDate><guid isPermaLink="false">8827bd1c-7596-4a8f-b0de-f59ce9ede522:7391</guid><dc:creator>egomez</dc:creator><slash:comments>0</slash:comments><comments>http://weblogs.foxite.com/erikgomez/comments/7391.aspx</comments><wfw:commentRss>http://weblogs.foxite.com/erikgomez/commentrss.aspx?PostID=7391</wfw:commentRss><description>After I first heard about &lt;a href="http://www.myxda.com/support.aspx"&gt;O2 Atom Life&lt;/a&gt; supporting &lt;a href="http://www.microsoft.com/windowsmobile/6-1/default.mspx"&gt;Windows Mobile 6.0&lt;/a&gt;, I really wanted to upgrade my &lt;a href="http://www.myxda.com/xda-atom-life_wm6_download.aspx"&gt;O2 Atom Life’s operating system&lt;/a&gt; to Windows Mobile 6.0 but never found the time. To cut to the chase, I did have some slack time last Wednesday and proceeded with upgrade process. 

In order to back-up the contacts on my &lt;a href="http://www.myxda.com/support.aspx"&gt;O2 Atom Life&lt;/a&gt;, I used ActiveSync 4.5 to sync my contacts to a new and empty &lt;a href="http://office.microsoft.com/en-us/outlook/default.aspx"&gt;MS Outlook 2003&lt;/a&gt; profile. Before all of you raised your collective eyebrows on my move, let me say the following: I don’t sync the contacts in my O2 Atom Life and my &lt;a href="http://office.microsoft.com/en-us/outlook/default.aspx"&gt;MS Outlook 2003&lt;/a&gt; profile. I only sync the calendar and tasks. After successfully pairing my O2 with the new and empty &lt;a href="http://office.microsoft.com/en-us/outlook/default.aspx"&gt;MS Outlook 2003&lt;/a&gt; profile I proceeded to sync the contacts only. So with all the contacts from my O2 safely transferred to the MS Outlook, I followed the steps in O2’s website in upgrading my operating system to Windows Mobile 6.0. The upgrade process went without a hitch. So now after doing the usual settings on my O2 after the upgrade, I sync’d it with MS Outlook profile which contained my contacts. Again like a charm my contacts are now in my O2 sporting the &lt;a href="http://www.microsoft.com/windowsmobile/6-1/default.mspx"&gt;Windows Mobile 6.0&lt;/a&gt; operating system. Now I wanted to sync my calendar, so I close MS Outlook and opened it again this time using my usual profile and bam it hit me, I need to un-pair my O2 with the new profile and then pair it with the my usual profile. No big deal right, but since I don’t sync my contacts (with my usual profile and O2) only the calendar and tasks, I need to remove the check mark on the sync options for the contacts but by so doing effectively deleting all the contacts in my O2. So now I was in a dilemma. What should one do in such a predicament? Well, when things can’t be done using the software itself, I turn to my expertise in&lt;a href="http://msdn.microsoft.com/en-us/vfoxpro/default.aspx"&gt; Visual FoxPro (VFP)&lt;/a&gt; and automation of MS Outlook. So here are the steps I took:
&lt;ol&gt;
&lt;li&gt;I opened MS Outlook with the new profile containing the contacts from my O2 Atom Life.&lt;/li&gt;
&lt;li&gt;I ran a snippet of VFP code to extract all the contacts and save these as individual VCard files (extension .vcf).&lt;/li&gt;
&lt;li&gt;Send the VCard’s from my laptop to my O2 Atom Life via Bluetooth and viola all my contacts were transferred to my O2 Atom Life.&lt;/li&gt;
&lt;/ol&gt;
The &lt;a href="http://msdn.microsoft.com/en-us/vfoxpro/default.aspx"&gt;Visual FoxPro&lt;/a&gt; code snippet I used is found below:
&lt;div&gt;&lt;pre&gt; &lt;font color="black"&gt;lnContactsFolder = &lt;/font&gt;&lt;font color="red"&gt;10&lt;/font&gt;&lt;br&gt; &lt;font color="black"&gt;lnVCardType = &lt;/font&gt;&lt;font color="red"&gt;6&lt;/font&gt;&lt;br&gt;&lt;br&gt; &lt;font color="black"&gt;loOutlook = &lt;/font&gt;&lt;font color="blue"&gt;Createobject&lt;/font&gt;(&lt;font color="green"&gt;"Outlook.Applicatio&lt;/font&gt;n")&lt;br&gt; &lt;font color="black"&gt;loNamespace = loOutlook.GetNamespace(&lt;/font&gt;&lt;font color="green"&gt;"MAPI"&lt;/font&gt;)&lt;br&gt; &lt;font color="black"&gt;loContacts = loNamespace.GetDefaultFolder(lnContactsFolder).Items&lt;/font&gt;&lt;br&gt;&lt;br&gt;&lt;font color="blue"&gt;For&lt;/font&gt; &lt;font color="blue"&gt;Each&lt;/font&gt;&lt;font color="black"&gt; loContact &lt;/font&gt;&lt;font color="blue"&gt;In&lt;/font&gt;&lt;font color="black"&gt; loContacts&lt;/font&gt;&lt;br&gt;  &lt;font color="black"&gt;lcName = loContact.FirstName + loContact.LastName&lt;/font&gt;&lt;br&gt;  &lt;font color="blue"&gt;Wait&lt;/font&gt; &lt;font color="blue"&gt;Window&lt;/font&gt; &lt;font color="green"&gt;"Saving: "&lt;/font&gt;&lt;font color="black"&gt; + lcName &lt;/font&gt;&lt;font color="blue"&gt;Nowait&lt;/font&gt;&lt;br&gt;  &lt;font color="black"&gt;lcPath = &lt;/font&gt;&lt;font color="blue"&gt;Forceext&lt;/font&gt;(&lt;font color="green"&gt;"C:\temp\"&lt;/font&gt;&lt;font color="black"&gt; + lcName,&lt;/font&gt;&lt;font color="green"&gt;"vcf"&lt;/font&gt;)&lt;br&gt;  &lt;font color="black"&gt;loContact.&lt;/font&gt;&lt;font color="blue"&gt;SaveAs&lt;/font&gt;&lt;font color="black"&gt;(lcPath,lnVCardType)&lt;/font&gt;&lt;br&gt;&lt;font color="blue"&gt;Next&lt;/font&gt;&lt;br&gt;&lt;/pre&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;a href="http://s151.photobucket.com/albums/s125/eaglegreek/?action=view&amp;current=MyO2AtomLifewithWindowsMobile6.jpg" target="_blank"&gt;&lt;img src="http://i151.photobucket.com/albums/s125/eaglegreek/MyO2AtomLifewithWindowsMobile6.jpg" border="0" alt="Photobucket"&gt;&lt;/a&gt;&lt;img src="http://weblogs.foxite.com/aggbug.aspx?PostID=7391" width="1" height="1"&gt;</description><category domain="http://weblogs.foxite.com/erikgomez/archive/category/28.aspx">Visual FoxPro</category></item><item><title>MS Outlook To, Cc and Bcc Entry Fields when composing emails</title><link>http://weblogs.foxite.com/erikgomez/archive/2008/06/06/6226.aspx</link><pubDate>Fri, 06 Jun 2008 01:16:00 GMT</pubDate><guid isPermaLink="false">8827bd1c-7596-4a8f-b0de-f59ce9ede522:6226</guid><dc:creator>egomez</dc:creator><slash:comments>0</slash:comments><comments>http://weblogs.foxite.com/erikgomez/comments/6226.aspx</comments><wfw:commentRss>http://weblogs.foxite.com/erikgomez/commentrss.aspx?PostID=6226</wfw:commentRss><description>&lt;FONT face=Verdana size=2&gt;I have been toying with the idea of mimicking MS Outlook's way of handling email addresses being keyed-in in the To, Cc and Bcc entry fields. Here is my take on that:&lt;/FONT&gt; &lt;PRE&gt;&lt;FONT color=blue&gt;Public&lt;/FONT&gt; oform1&lt;BR&gt;&lt;BR&gt;oform1=&lt;FONT color=blue&gt;Newobject&lt;/FONT&gt;(&lt;FONT color=red&gt;"form1"&lt;/FONT&gt;)&lt;BR&gt;oform1.&lt;FONT color=blue&gt;Show&lt;/FONT&gt;
&lt;FONT color=blue&gt;Return&lt;/FONT&gt;


&lt;FONT color=green&gt;**************************************************&lt;/FONT&gt;
&lt;FONT color=green&gt;*-- Form:         form1 (c:\temp\form1.scx)&lt;/FONT&gt;
&lt;FONT color=green&gt;*-- ParentClass:  form&lt;/FONT&gt;
&lt;FONT color=green&gt;*-- BaseClass:    form&lt;/FONT&gt;
&lt;FONT color=green&gt;*-- Time Stamp:   06/06/08 09:55:13 AM&lt;/FONT&gt;
&lt;FONT color=green&gt;*&lt;/FONT&gt;
&lt;FONT color=blue&gt;Define&lt;/FONT&gt; &lt;FONT color=blue&gt;Class&lt;/FONT&gt; form1 &lt;FONT color=blue&gt;As&lt;/FONT&gt; &lt;FONT color=blue&gt;Form&lt;/FONT&gt;


	&lt;FONT color=blue&gt;Top&lt;/FONT&gt; = &lt;FONT color=red&gt;0&lt;/FONT&gt;
	&lt;FONT color=blue&gt;Left&lt;/FONT&gt; = &lt;FONT color=red&gt;0&lt;/FONT&gt;
	&lt;FONT color=blue&gt;Height&lt;/FONT&gt; = &lt;FONT color=red&gt;128&lt;/FONT&gt;
	&lt;FONT color=blue&gt;Width&lt;/FONT&gt; = &lt;FONT color=red&gt;482&lt;/FONT&gt;
	&lt;FONT color=blue&gt;DoCreate&lt;/FONT&gt; = .T.&lt;BR&gt;	&lt;FONT color=blue&gt;Caption&lt;/FONT&gt; = &lt;FONT color=red&gt;"Form1"&lt;/FONT&gt;
	&lt;FONT color=blue&gt;Name&lt;/FONT&gt; = &lt;FONT color=red&gt;"FORM1"&lt;/FONT&gt;


	&lt;FONT color=blue&gt;Add&lt;/FONT&gt; &lt;FONT color=blue&gt;Object&lt;/FONT&gt; text1 &lt;FONT color=blue&gt;As&lt;/FONT&gt; &lt;FONT color=blue&gt;TextBox&lt;/FONT&gt; &lt;FONT color=blue&gt;With&lt;/FONT&gt; ;&lt;BR&gt;		&lt;FONT color=blue&gt;FontName&lt;/FONT&gt; = &lt;FONT color=red&gt;"Verdana"&lt;/FONT&gt;, ;&lt;BR&gt;		&lt;FONT color=blue&gt;FontSize&lt;/FONT&gt; = &lt;FONT color=red&gt;8&lt;/FONT&gt;, ;&lt;BR&gt;		&lt;FONT color=blue&gt;Height&lt;/FONT&gt; = &lt;FONT color=red&gt;21&lt;/FONT&gt;, ;&lt;BR&gt;		&lt;FONT color=blue&gt;Left&lt;/FONT&gt; = &lt;FONT color=red&gt;12&lt;/FONT&gt;, ;&lt;BR&gt;		&lt;FONT color=blue&gt;Top&lt;/FONT&gt; = &lt;FONT color=red&gt;24&lt;/FONT&gt;, ;&lt;BR&gt;		&lt;FONT color=blue&gt;Width&lt;/FONT&gt; = &lt;FONT color=red&gt;458&lt;/FONT&gt;, ;&lt;BR&gt;		&lt;FONT color=blue&gt;Name&lt;/FONT&gt; = &lt;FONT color=red&gt;"Text1"&lt;/FONT&gt;


	&lt;FONT color=blue&gt;Add&lt;/FONT&gt; &lt;FONT color=blue&gt;Object&lt;/FONT&gt; edit1 &lt;FONT color=blue&gt;As&lt;/FONT&gt; &lt;FONT color=blue&gt;EditBox&lt;/FONT&gt; &lt;FONT color=blue&gt;With&lt;/FONT&gt; ;&lt;BR&gt;		&lt;FONT color=blue&gt;FontName&lt;/FONT&gt; = &lt;FONT color=red&gt;"Verdana"&lt;/FONT&gt;, ;&lt;BR&gt;		&lt;FONT color=blue&gt;FontSize&lt;/FONT&gt; = &lt;FONT color=red&gt;8&lt;/FONT&gt;, ;&lt;BR&gt;		&lt;FONT color=blue&gt;Height&lt;/FONT&gt; = &lt;FONT color=red&gt;49&lt;/FONT&gt;, ;&lt;BR&gt;		&lt;FONT color=blue&gt;Left&lt;/FONT&gt; = &lt;FONT color=red&gt;12&lt;/FONT&gt;, ;&lt;BR&gt;		&lt;FONT color=blue&gt;Top&lt;/FONT&gt; = &lt;FONT color=red&gt;60&lt;/FONT&gt;, ;&lt;BR&gt;		&lt;FONT color=blue&gt;Width&lt;/FONT&gt; = &lt;FONT color=red&gt;459&lt;/FONT&gt;, ;&lt;BR&gt;		&lt;FONT color=blue&gt;Name&lt;/FONT&gt; = &lt;FONT color=red&gt;"Edit1"&lt;/FONT&gt;


	&lt;FONT color=blue&gt;Procedure&lt;/FONT&gt; _selectaddr&lt;BR&gt;	&lt;FONT color=blue&gt;Lparameters&lt;/FONT&gt; oControl&lt;BR&gt;&lt;BR&gt;	&lt;FONT color=blue&gt;Local&lt;/FONT&gt; cSep,cText,nCntSep,nSelFr,;&lt;BR&gt;		lnX,lnY,nFr,nTo,nSelLen,nAdd&lt;BR&gt;	&lt;FONT color=blue&gt;Local&lt;/FONT&gt; &lt;FONT color=blue&gt;Array&lt;/FONT&gt; aPos(&lt;FONT color=red&gt;1&lt;/FONT&gt;)&lt;BR&gt;&lt;BR&gt;	cSep = &lt;FONT color=red&gt;";"&lt;/FONT&gt;
	cText = &lt;FONT color=blue&gt;Alltrim&lt;/FONT&gt;(oControl.&lt;FONT color=blue&gt;Value&lt;/FONT&gt;)&lt;BR&gt;	nCntSep = &lt;FONT color=blue&gt;Occurs&lt;/FONT&gt;(cSep,cText)&lt;BR&gt;	nSelFr = oControl.&lt;FONT color=blue&gt;SelStart&lt;/FONT&gt;
	&lt;FONT color=blue&gt;Dimension&lt;/FONT&gt; aPos(nCntSep+&lt;FONT color=red&gt;1&lt;/FONT&gt;)&lt;BR&gt;	aPos(&lt;FONT color=red&gt;1&lt;/FONT&gt;) = &lt;FONT color=red&gt;0&lt;/FONT&gt;
	&lt;FONT color=blue&gt;For&lt;/FONT&gt; lnX = &lt;FONT color=red&gt;2&lt;/FONT&gt; &lt;FONT color=blue&gt;To&lt;/FONT&gt; nCntSep+&lt;FONT color=red&gt;1&lt;/FONT&gt;)&lt;BR&gt;		aPos(lnX) = &lt;FONT color=blue&gt;At&lt;/FONT&gt;(cSep,oControl.&lt;FONT color=blue&gt;Value&lt;/FONT&gt;,lnX-&lt;FONT color=red&gt;1&lt;/FONT&gt;)&lt;BR&gt;	&lt;FONT color=blue&gt;Next&lt;/FONT&gt;

	&lt;FONT color=blue&gt;If&lt;/FONT&gt; &lt;FONT color=blue&gt;Right&lt;/FONT&gt;(cText,&lt;FONT color=red&gt;1&lt;/FONT&gt;) &amp;lt;&amp;gt; cSep&lt;BR&gt;		nAdd = &lt;FONT color=blue&gt;Alen&lt;/FONT&gt;(aPos,&lt;FONT color=red&gt;1&lt;/FONT&gt;)+&lt;FONT color=red&gt;1&lt;/FONT&gt;
		&lt;FONT color=blue&gt;Dimension&lt;/FONT&gt; aPos(nAdd)&lt;BR&gt;		aPos(nAdd) = &lt;FONT color=blue&gt;Len&lt;/FONT&gt;(cText)&lt;BR&gt;	&lt;FONT color=blue&gt;Endif&lt;/FONT&gt;

	nFr = &lt;FONT color=red&gt;0&lt;/FONT&gt;
	nTo = &lt;FONT color=red&gt;0&lt;/FONT&gt;
	&lt;FONT color=blue&gt;For&lt;/FONT&gt; lnY = &lt;FONT color=red&gt;1&lt;/FONT&gt; &lt;FONT color=blue&gt;To&lt;/FONT&gt; &lt;FONT color=blue&gt;Alen&lt;/FONT&gt;(aPos,&lt;FONT color=red&gt;1&lt;/FONT&gt;)&lt;BR&gt;		&lt;FONT color=blue&gt;If&lt;/FONT&gt; aPos(lnY) &amp;lt;= nSelFr&lt;BR&gt;			nFr = aPos(lnY)&lt;BR&gt;		&lt;FONT color=blue&gt;Endif&lt;/FONT&gt;

		&lt;FONT color=blue&gt;If&lt;/FONT&gt; aPos(lnY) &amp;gt;= nSelFr And nTo = &lt;FONT color=red&gt;0&lt;/FONT&gt;
			nTo = aPos(lnY)
		&lt;FONT color=blue&gt;Endif&lt;/FONT&gt;
	&lt;FONT color=blue&gt;Next&lt;/FONT&gt;

	nSelLen = nTo - nFr

	&lt;FONT color=blue&gt;With&lt;/FONT&gt; oControl&lt;BR&gt;		.&lt;FONT color=blue&gt;SelStart&lt;/FONT&gt; = nFr&lt;BR&gt;		.&lt;FONT color=blue&gt;SelLength&lt;/FONT&gt; = &lt;FONT color=blue&gt;Iif&lt;/FONT&gt;(nSelLen&amp;lt;=&lt;FONT color=red&gt;0&lt;/FONT&gt;,&lt;FONT color=red&gt;1&lt;/FONT&gt;,nSelLen)&lt;BR&gt;	&lt;FONT color=blue&gt;Endwith&lt;/FONT&gt;
	&lt;FONT color=blue&gt;Endproc&lt;/FONT&gt;


	&lt;FONT color=blue&gt;Procedure&lt;/FONT&gt; &lt;FONT color=blue&gt;Init&lt;/FONT&gt;
&lt;FONT color=green&gt;	* sample email addresses in textbox and editbox&lt;/FONT&gt;
	&lt;FONT color=blue&gt;With&lt;/FONT&gt; &lt;FONT color=blue&gt;This&lt;/FONT&gt;
		.text1.&lt;FONT color=blue&gt;Value&lt;/FONT&gt; = &lt;FONT color=red&gt;"myemail@company.com.sg;customer@sales.com;erik@gomex.com"&lt;/FONT&gt;
		.edit1.&lt;FONT color=blue&gt;Value&lt;/FONT&gt; = &lt;FONT color=red&gt;"myemail@company.com.sg;customer@sales.com;erik@gomex.com"&lt;/FONT&gt;
	&lt;FONT color=blue&gt;Endwith&lt;/FONT&gt;
	&lt;FONT color=blue&gt;Endproc&lt;/FONT&gt;


	&lt;FONT color=blue&gt;Procedure&lt;/FONT&gt; text1.&lt;FONT color=blue&gt;Click&lt;/FONT&gt;
	&lt;FONT color=blue&gt;This&lt;/FONT&gt;.&lt;FONT color=blue&gt;Parent&lt;/FONT&gt;._SelectAddr(&lt;FONT color=blue&gt;This&lt;/FONT&gt;)&lt;BR&gt;	&lt;FONT color=blue&gt;Endproc&lt;/FONT&gt;


	&lt;FONT color=blue&gt;Procedure&lt;/FONT&gt; edit1.&lt;FONT color=blue&gt;Click&lt;/FONT&gt;
	&lt;FONT color=blue&gt;This&lt;/FONT&gt;.&lt;FONT color=blue&gt;Parent&lt;/FONT&gt;._SelectAddr(&lt;FONT color=blue&gt;This&lt;/FONT&gt;)&lt;BR&gt;	&lt;FONT color=blue&gt;Endproc&lt;/FONT&gt;


&lt;FONT color=blue&gt;Enddefine&lt;/FONT&gt;
&lt;FONT color=green&gt;*&lt;/FONT&gt;
&lt;FONT color=green&gt;*-- EndDefine: form1&lt;/FONT&gt;
&lt;FONT color=green&gt;**************************************************&lt;BR&gt;&lt;/FONT&gt;&lt;/PRE&gt;&lt;FONT face=Verdana size=2&gt;Feedbacks are always welcome. Please feel free to use and improve the above code.&lt;/FONT&gt;&lt;img src="http://weblogs.foxite.com/aggbug.aspx?PostID=6226" width="1" height="1"&gt;</description><category domain="http://weblogs.foxite.com/erikgomez/archive/category/28.aspx">Visual FoxPro</category></item><item><title>Map Network Drive</title><link>http://weblogs.foxite.com/erikgomez/archive/2006/11/20/2876.aspx</link><pubDate>Mon, 20 Nov 2006 02:52:00 GMT</pubDate><guid isPermaLink="false">8827bd1c-7596-4a8f-b0de-f59ce9ede522:2876</guid><dc:creator>egomez</dc:creator><slash:comments>0</slash:comments><comments>http://weblogs.foxite.com/erikgomez/comments/2876.aspx</comments><wfw:commentRss>http://weblogs.foxite.com/erikgomez/commentrss.aspx?PostID=2876</wfw:commentRss><description>&lt;font face="Verdana"&gt;Just want to share this. This has been with me for some time now and have used this in several applications in the past. Hope that someone will find this useful.&lt;br&gt;&lt;br&gt;&lt;/font&gt;

&lt;pre&gt;&lt;font color="green"&gt;**************************************************&lt;/font&gt;
&lt;font color="green"&gt;*-- Form:         mapnet (d:\vfp_projects\mapnet.scx)&lt;/font&gt;
&lt;font color="green"&gt;*-- ParentClass:  form&lt;/font&gt;
&lt;font color="green"&gt;*-- BaseClass:    form&lt;/font&gt;
&lt;font color="green"&gt;*-- Time Stamp:   11/20/06 11:28:12 AM&lt;/font&gt;
&lt;font color="green"&gt;*&lt;/font&gt;
&lt;font color="blue"&gt;Define&lt;/font&gt; &lt;font color="blue"&gt;Class&lt;/font&gt; mapnet &lt;font color="blue"&gt;As&lt;/font&gt; &lt;font color="blue"&gt;Form&lt;/font&gt;


	&lt;font color="blue"&gt;Height&lt;/font&gt; = &lt;font color="red"&gt;108&lt;/font&gt;
	&lt;font color="blue"&gt;Width&lt;/font&gt; = &lt;font color="red"&gt;469&lt;/font&gt;
	&lt;font color="blue"&gt;DoCreate&lt;/font&gt; = .T.&lt;br&gt;	&lt;font color="blue"&gt;AutoCenter&lt;/font&gt; = .T.&lt;br&gt;	&lt;font color="blue"&gt;Caption&lt;/font&gt; = &lt;font color="red"&gt;"Map Network Drive"&lt;/font&gt;
	&lt;font color="blue"&gt;ControlBox&lt;/font&gt; = .F.&lt;br&gt;	&lt;font color="blue"&gt;Closable&lt;/font&gt; = .F.&lt;br&gt;	&lt;font color="blue"&gt;Name&lt;/font&gt; = &lt;font color="red"&gt;"MapNet"&lt;/font&gt;


	&lt;font color="blue"&gt;Add&lt;/font&gt; &lt;font color="blue"&gt;Object&lt;/font&gt; command2 &lt;font color="blue"&gt;As&lt;/font&gt; &lt;font color="blue"&gt;CommandButton&lt;/font&gt; &lt;font color="blue"&gt;With&lt;/font&gt; ;&lt;br&gt;		&lt;font color="blue"&gt;Top&lt;/font&gt; = &lt;font color="red"&gt;48&lt;/font&gt;, ;&lt;br&gt;		&lt;font color="blue"&gt;Left&lt;/font&gt; = &lt;font color="red"&gt;324&lt;/font&gt;, ;&lt;br&gt;		&lt;font color="blue"&gt;Height&lt;/font&gt; = &lt;font color="red"&gt;23&lt;/font&gt;, ;&lt;br&gt;		&lt;font color="blue"&gt;Width&lt;/font&gt; = &lt;font color="red"&gt;24&lt;/font&gt;, ;&lt;br&gt;		&lt;font color="blue"&gt;FontBold&lt;/font&gt; = .T., ;&lt;br&gt;		&lt;font color="blue"&gt;Caption&lt;/font&gt; = &lt;font color="red"&gt;"..."&lt;/font&gt;, ;&lt;br&gt;		&lt;font color="blue"&gt;TabIndex&lt;/font&gt; = &lt;font color="red"&gt;5&lt;/font&gt;, ;&lt;br&gt;		&lt;font color="blue"&gt;Name&lt;/font&gt; = &lt;font color="red"&gt;"Command2"&lt;/font&gt;


	&lt;font color="blue"&gt;Add&lt;/font&gt; &lt;font color="blue"&gt;Object&lt;/font&gt; combo1 &lt;font color="blue"&gt;As&lt;/font&gt; &lt;font color="blue"&gt;ComboBox&lt;/font&gt; &lt;font color="blue"&gt;With&lt;/font&gt; ;&lt;br&gt;		&lt;font color="blue"&gt;Height&lt;/font&gt; = &lt;font color="red"&gt;24&lt;/font&gt;, ;&lt;br&gt;		&lt;font color="blue"&gt;Left&lt;/font&gt; = &lt;font color="red"&gt;48&lt;/font&gt;, ;&lt;br&gt;		&lt;font color="blue"&gt;Sorted&lt;/font&gt; = .T., ;&lt;br&gt;		&lt;font color="blue"&gt;Style&lt;/font&gt; = &lt;font color="red"&gt;2&lt;/font&gt;, ;&lt;br&gt;		&lt;font color="blue"&gt;TabIndex&lt;/font&gt; = &lt;font color="red"&gt;2&lt;/font&gt;, ;&lt;br&gt;		&lt;font color="blue"&gt;Top&lt;/font&gt; = &lt;font color="red"&gt;12&lt;/font&gt;, ;&lt;br&gt;		&lt;font color="blue"&gt;Width&lt;/font&gt; = &lt;font color="red"&gt;300&lt;/font&gt;, ;&lt;br&gt;		&lt;font color="blue"&gt;Name&lt;/font&gt; = &lt;font color="red"&gt;"Combo1"&lt;/font&gt;


	&lt;font color="blue"&gt;Add&lt;/font&gt; &lt;font color="blue"&gt;Object&lt;/font&gt; label1 &lt;font color="blue"&gt;As&lt;/font&gt; &lt;font color="blue"&gt;Label&lt;/font&gt; &lt;font color="blue"&gt;With&lt;/font&gt; ;&lt;br&gt;		&lt;font color="blue"&gt;AutoSize&lt;/font&gt; = .T., ;&lt;br&gt;		&lt;font color="blue"&gt;Caption&lt;/font&gt; = &lt;font color="red"&gt;"\&amp;lt;Drive"&lt;/font&gt;, ;&lt;br&gt;		&lt;font color="blue"&gt;Height&lt;/font&gt; = &lt;font color="red"&gt;17&lt;/font&gt;, ;&lt;br&gt;		&lt;font color="blue"&gt;Left&lt;/font&gt; = &lt;font color="red"&gt;12&lt;/font&gt;, ;&lt;br&gt;		&lt;font color="blue"&gt;Top&lt;/font&gt; = &lt;font color="red"&gt;17&lt;/font&gt;, ;&lt;br&gt;		&lt;font color="blue"&gt;Width&lt;/font&gt; = &lt;font color="red"&gt;30&lt;/font&gt;, ;&lt;br&gt;		&lt;font color="blue"&gt;TabIndex&lt;/font&gt; = &lt;font color="red"&gt;1&lt;/font&gt;, ;&lt;br&gt;		&lt;font color="blue"&gt;Name&lt;/font&gt; = &lt;font color="red"&gt;"Label1"&lt;/font&gt;


	&lt;font color="blue"&gt;Add&lt;/font&gt; &lt;font color="blue"&gt;Object&lt;/font&gt; label2 &lt;font color="blue"&gt;As&lt;/font&gt; &lt;font color="blue"&gt;Label&lt;/font&gt; &lt;font color="blue"&gt;With&lt;/font&gt; ;&lt;br&gt;		&lt;font color="blue"&gt;AutoSize&lt;/font&gt; = .T., ;&lt;br&gt;		&lt;font color="blue"&gt;Caption&lt;/font&gt; = &lt;font color="red"&gt;"\&amp;lt;Path"&lt;/font&gt;, ;&lt;br&gt;		&lt;font color="blue"&gt;Height&lt;/font&gt; = &lt;font color="red"&gt;17&lt;/font&gt;, ;&lt;br&gt;		&lt;font color="blue"&gt;Left&lt;/font&gt; = &lt;font color="red"&gt;12&lt;/font&gt;, ;&lt;br&gt;		&lt;font color="blue"&gt;Top&lt;/font&gt; = &lt;font color="red"&gt;48&lt;/font&gt;, ;&lt;br&gt;		&lt;font color="blue"&gt;Width&lt;/font&gt; = &lt;font color="red"&gt;27&lt;/font&gt;, ;&lt;br&gt;		&lt;font color="blue"&gt;TabIndex&lt;/font&gt; = &lt;font color="red"&gt;3&lt;/font&gt;, ;&lt;br&gt;		&lt;font color="blue"&gt;Name&lt;/font&gt; = &lt;font color="red"&gt;"Label2"&lt;/font&gt;


	&lt;font color="blue"&gt;Add&lt;/font&gt; &lt;font color="blue"&gt;Object&lt;/font&gt; text1 &lt;font color="blue"&gt;As&lt;/font&gt; &lt;font color="blue"&gt;TextBox&lt;/font&gt; &lt;font color="blue"&gt;With&lt;/font&gt; ;&lt;br&gt;		&lt;font color="blue"&gt;Height&lt;/font&gt; = &lt;font color="red"&gt;23&lt;/font&gt;, ;&lt;br&gt;		&lt;font color="blue"&gt;Left&lt;/font&gt; = &lt;font color="red"&gt;48&lt;/font&gt;, ;&lt;br&gt;		&lt;font color="blue"&gt;TabIndex&lt;/font&gt; = &lt;font color="red"&gt;4&lt;/font&gt;, ;&lt;br&gt;		&lt;font color="blue"&gt;Top&lt;/font&gt; = &lt;font color="red"&gt;48&lt;/font&gt;, ;&lt;br&gt;		&lt;font color="blue"&gt;Width&lt;/font&gt; = &lt;font color="red"&gt;276&lt;/font&gt;, ;&lt;br&gt;		&lt;font color="blue"&gt;Name&lt;/font&gt; = &lt;font color="red"&gt;"Text1"&lt;/font&gt;


	&lt;font color="blue"&gt;Add&lt;/font&gt; &lt;font color="blue"&gt;Object&lt;/font&gt; cmdmap &lt;font color="blue"&gt;As&lt;/font&gt; &lt;font color="blue"&gt;CommandButton&lt;/font&gt; &lt;font color="blue"&gt;With&lt;/font&gt; ;&lt;br&gt;		&lt;font color="blue"&gt;Top&lt;/font&gt; = &lt;font color="red"&gt;12&lt;/font&gt;, ;&lt;br&gt;		&lt;font color="blue"&gt;Left&lt;/font&gt; = &lt;font color="red"&gt;372&lt;/font&gt;, ;&lt;br&gt;		&lt;font color="blue"&gt;Height&lt;/font&gt; = &lt;font color="red"&gt;27&lt;/font&gt;, ;&lt;br&gt;		&lt;font color="blue"&gt;Width&lt;/font&gt; = &lt;font color="red"&gt;84&lt;/font&gt;, ;&lt;br&gt;		&lt;font color="blue"&gt;Caption&lt;/font&gt; = &lt;font color="red"&gt;"\&amp;lt;OK"&lt;/font&gt;, ;&lt;br&gt;		&lt;font color="blue"&gt;TabIndex&lt;/font&gt; = &lt;font color="red"&gt;6&lt;/font&gt;, ;&lt;br&gt;		&lt;font color="blue"&gt;Name&lt;/font&gt; = &lt;font color="red"&gt;"cmdMap"&lt;/font&gt;


	&lt;font color="blue"&gt;Add&lt;/font&gt; &lt;font color="blue"&gt;Object&lt;/font&gt; cmdcancel &lt;font color="blue"&gt;As&lt;/font&gt; &lt;font color="blue"&gt;CommandButton&lt;/font&gt; &lt;font color="blue"&gt;With&lt;/font&gt; ;&lt;br&gt;		&lt;font color="blue"&gt;Top&lt;/font&gt; = &lt;font color="red"&gt;48&lt;/font&gt;, ;&lt;br&gt;		&lt;font color="blue"&gt;Left&lt;/font&gt; = &lt;font color="red"&gt;372&lt;/font&gt;, ;&lt;br&gt;		&lt;font color="blue"&gt;Height&lt;/font&gt; = &lt;font color="red"&gt;27&lt;/font&gt;, ;&lt;br&gt;		&lt;font color="blue"&gt;Width&lt;/font&gt; = &lt;font color="red"&gt;84&lt;/font&gt;, ;&lt;br&gt;		&lt;font color="blue"&gt;Caption&lt;/font&gt; = &lt;font color="red"&gt;"\&amp;lt;Cancel"&lt;/font&gt;, ;&lt;br&gt;		&lt;font color="blue"&gt;TabIndex&lt;/font&gt; = &lt;font color="red"&gt;7&lt;/font&gt;, ;&lt;br&gt;		&lt;font color="blue"&gt;Name&lt;/font&gt; = &lt;font color="red"&gt;"cmdCancel"&lt;/font&gt;


	&lt;font color="blue"&gt;Add&lt;/font&gt; &lt;font color="blue"&gt;Object&lt;/font&gt; check1 &lt;font color="blue"&gt;As&lt;/font&gt; &lt;font color="blue"&gt;Checkbox&lt;/font&gt; &lt;font color="blue"&gt;With&lt;/font&gt; ;&lt;br&gt;		&lt;font color="blue"&gt;Top&lt;/font&gt; = &lt;font color="red"&gt;84&lt;/font&gt;, ;&lt;br&gt;		&lt;font color="blue"&gt;Left&lt;/font&gt; = &lt;font color="red"&gt;48&lt;/font&gt;, ;&lt;br&gt;		&lt;font color="blue"&gt;Height&lt;/font&gt; = &lt;font color="red"&gt;17&lt;/font&gt;, ;&lt;br&gt;		&lt;font color="blue"&gt;Width&lt;/font&gt; = &lt;font color="red"&gt;128&lt;/font&gt;, ;&lt;br&gt;		&lt;font color="blue"&gt;AutoSize&lt;/font&gt; = .T., ;&lt;br&gt;		&lt;font color="blue"&gt;Alignment&lt;/font&gt; = &lt;font color="red"&gt;0&lt;/font&gt;, ;&lt;br&gt;		&lt;font color="blue"&gt;Caption&lt;/font&gt; = &lt;font color="red"&gt;"\&amp;lt;Reconnect at Logon"&lt;/font&gt;, ;&lt;br&gt;		&lt;font color="blue"&gt;Value&lt;/font&gt; = .T., ;&lt;br&gt;		&lt;font color="blue"&gt;Name&lt;/font&gt; = &lt;font color="red"&gt;"Check1"&lt;/font&gt;


	&lt;font color="blue"&gt;Procedure&lt;/font&gt; getunc&lt;br&gt;&lt;font color="green"&gt;	* Program....: GetUNCPath.prg&lt;/font&gt;
&lt;font color="green"&gt;	* Version....: 1.0&lt;/font&gt;
&lt;font color="green"&gt;	* Author.....: Andrew Coates&lt;/font&gt;
&lt;font color="green"&gt;	* Date.......: September 28, 1998&lt;/font&gt;
&lt;font color="green"&gt;	* Notice.....: Copyright © 1998 Civil Solutions, All&lt;/font&gt;
&lt;font color="green"&gt;	* Rights Reserved.&lt;/font&gt;
&lt;font color="green"&gt;	* Compiler...: Visual FoxPro 05.00.00.0415 for Windows&lt;/font&gt;
&lt;font color="green"&gt;	* Abstract...: Wrapper to the API call that converts a&lt;/font&gt;
&lt;font color="green"&gt;	* mapped drive path to the UNC path&lt;/font&gt;
&lt;font color="green"&gt;	* Changes....:&lt;/font&gt;
&lt;font color="green"&gt;	* Originally used WNetGetUniversalName, but that&lt;/font&gt;
&lt;font color="green"&gt;	* doesn't work under Win95 (see KB Q131416). Now uses&lt;/font&gt;
&lt;font color="green"&gt;	* WNetGetConnection which uses a string rather than a&lt;/font&gt;
&lt;font color="green"&gt;	* structure so STRUCTURE_HEADER is now 0&lt;/font&gt;

	&lt;font color="blue"&gt;Lparameters&lt;/font&gt; tcMappedPath, tnBufferSize&lt;br&gt;&lt;br&gt;&lt;font color="green"&gt;	* from winnetwk.h&lt;/font&gt;
	#&lt;font color="blue"&gt;Define&lt;/font&gt; UNIVERSAL_NAME_INFO_LEVEL &lt;font color="red"&gt;0x00000001&lt;/font&gt;
	#&lt;font color="blue"&gt;Define&lt;/font&gt; REMOTE_NAME_INFO_LEVEL &lt;font color="red"&gt;0x00000002&lt;/font&gt;

&lt;font color="green"&gt;	* from winerror.h&lt;/font&gt;
	#&lt;font color="blue"&gt;Define&lt;/font&gt; NO_ERROR &lt;font color="red"&gt;0&lt;/font&gt;
	#&lt;font color="blue"&gt;Define&lt;/font&gt; ERROR_BAD_DEVICE &lt;font color="red"&gt;1200&lt;/font&gt;
	#&lt;font color="blue"&gt;Define&lt;/font&gt; ERROR_CONNECTION_UNAVAIL &lt;font color="red"&gt;1201&lt;/font&gt;
	#&lt;font color="blue"&gt;Define&lt;/font&gt; ERROR_EXTENDED_ERROR &lt;font color="red"&gt;1208&lt;/font&gt;
	#&lt;font color="blue"&gt;Define&lt;/font&gt; ERROR_MORE_DATA &lt;font color="red"&gt;234&lt;/font&gt;
	#&lt;font color="blue"&gt;Define&lt;/font&gt; ERROR_NOT_SUPPORTED &lt;font color="red"&gt;50&lt;/font&gt;
	#&lt;font color="blue"&gt;Define&lt;/font&gt; ERROR_NO_NET_OR_BAD_PATH &lt;font color="red"&gt;1203&lt;/font&gt;
	#&lt;font color="blue"&gt;Define&lt;/font&gt; ERROR_NO_NETWORK &lt;font color="red"&gt;1222&lt;/font&gt;
	#&lt;font color="blue"&gt;Define&lt;/font&gt; ERROR_NOT_CONNECTED &lt;font color="red"&gt;2250&lt;/font&gt;

&lt;font color="green"&gt;	* local decision - paths are not likely to be longer&lt;/font&gt;
&lt;font color="green"&gt;	* than this - if they are, this function calls itself&lt;/font&gt;
&lt;font color="green"&gt;	* recursively with the appropriate buffer size as the&lt;/font&gt;
&lt;font color="green"&gt;	* second parameter&lt;/font&gt;
	#&lt;font color="blue"&gt;Define&lt;/font&gt; MAX_BUFFER_SIZE &lt;font color="red"&gt;500&lt;/font&gt;

&lt;font color="green"&gt;	* string length at the beginning of the structure&lt;/font&gt;
&lt;font color="green"&gt;	* returned before the UNC path&lt;/font&gt;
&lt;font color="green"&gt;	* ACC changed to 0 on 9/10/98 - Now using&lt;/font&gt;
&lt;font color="green"&gt;	* WnetGetConnection which uses a string rather than a&lt;/font&gt;
&lt;font color="green"&gt;	* struct&lt;/font&gt;
	#&lt;font color="blue"&gt;Define&lt;/font&gt; STRUCTURE_HEADER &lt;font color="red"&gt;0&lt;/font&gt;

	&lt;font color="blue"&gt;Local&lt;/font&gt; lcReturnValue&lt;br&gt;&lt;br&gt;	&lt;font color="blue"&gt;If&lt;/font&gt; &lt;font color="blue"&gt;Type&lt;/font&gt;(&lt;font color="red"&gt;'tcMappedPath'&lt;/font&gt;) = &lt;font color="red"&gt;"C"&lt;/font&gt; And ! &lt;font color="blue"&gt;Isnull&lt;/font&gt;(tcMappedPath)&lt;br&gt;&lt;font color="green"&gt;		* split up the passed path to get just the drive&lt;/font&gt;
		&lt;font color="blue"&gt;Local&lt;/font&gt; lcDrive, lcPath&lt;br&gt;&lt;font color="green"&gt;		* just take the first two characters - we'll put it&lt;/font&gt;
&lt;font color="green"&gt;		* all back together later. If the first two&lt;/font&gt;
&lt;font color="green"&gt;		* characters are not a valid drive, that's OK. The&lt;/font&gt;
&lt;font color="green"&gt;		* error value returned from the function call will&lt;/font&gt;
&lt;font color="green"&gt;		* handle it.&lt;/font&gt;

&lt;font color="green"&gt;		* case statement ensures we don't get the "cannot&lt;/font&gt;
&lt;font color="green"&gt;		* access beyond end of string" error&lt;/font&gt;
		&lt;font color="blue"&gt;Do&lt;/font&gt; &lt;font color="blue"&gt;Case&lt;/font&gt;
			&lt;font color="blue"&gt;Case&lt;/font&gt; &lt;font color="blue"&gt;Len&lt;/font&gt;(tcMappedPath) &amp;gt; &lt;font color="red"&gt;2&lt;/font&gt;
				lcDrive = &lt;font color="blue"&gt;Left&lt;/font&gt;(tcMappedPath, &lt;font color="red"&gt;2&lt;/font&gt;)&lt;br&gt;				lcPath = &lt;font color="blue"&gt;Substr&lt;/font&gt;(tcMappedPath, &lt;font color="red"&gt;3&lt;/font&gt;)&lt;br&gt;			&lt;font color="blue"&gt;Case&lt;/font&gt; &lt;font color="blue"&gt;Len&lt;/font&gt;(tcMappedPath) &amp;lt;= &lt;font color="red"&gt;2&lt;/font&gt;
				lcDrive = tcMappedPath
				lcPath = &lt;font color="red"&gt;""&lt;/font&gt;
		&lt;font color="blue"&gt;Endcase&lt;/font&gt;

		&lt;font color="blue"&gt;Declare&lt;/font&gt; &lt;font color="blue"&gt;Integer&lt;/font&gt; WNetGetConnection &lt;font color="blue"&gt;In&lt;/font&gt; WIN32API ;&lt;br&gt;			&lt;font color="blue"&gt;STRING&lt;/font&gt; @lpLocalPath, ;&lt;br&gt;			&lt;font color="blue"&gt;STRING&lt;/font&gt; @lpBuffer, ;&lt;br&gt;			&lt;font color="blue"&gt;INTEGER&lt;/font&gt; @lpBufferSize&lt;br&gt;&lt;br&gt;&lt;font color="green"&gt;		* set up some variables so the appropriate call can&lt;/font&gt;
&lt;font color="green"&gt;		* be made&lt;/font&gt;
		&lt;font color="blue"&gt;Local&lt;/font&gt; lcLocalPath, lcBuffer, lnBufferSize, ;&lt;br&gt;			lnResult, lcStructureString&lt;br&gt;&lt;br&gt;&lt;font color="green"&gt;		* set to +1 to allow for the null terminator&lt;/font&gt;
		lnBufferSize = &lt;font color="blue"&gt;Iif&lt;/font&gt;(Pcount() = &lt;font color="red"&gt;1&lt;/font&gt; Or &lt;font color="blue"&gt;Type&lt;/font&gt;(&lt;font color="red"&gt;'tnBufferSize'&lt;/font&gt;) # &lt;font color="red"&gt;"N"&lt;/font&gt; Or &lt;font color="blue"&gt;Isnull&lt;/font&gt;(tnBufferSize), ;&lt;br&gt;			MAX_BUFFER_SIZE, ;&lt;br&gt;			tnBufferSize) + &lt;font color="red"&gt;1&lt;/font&gt;

		lcLocalPath = lcDrive
		lcBuffer = &lt;font color="blue"&gt;Space&lt;/font&gt;(lnBufferSize)&lt;br&gt;&lt;br&gt;&lt;font color="green"&gt;		* now call the dll function&lt;/font&gt;
		lnResult = WNetGetConnection(@lcLocalPath, @lcBuffer, @lnBufferSize)

		&lt;font color="blue"&gt;Do&lt;/font&gt; &lt;font color="blue"&gt;Case&lt;/font&gt;
&lt;font color="green"&gt;				* string translated sucessfully&lt;/font&gt;
			&lt;font color="blue"&gt;Case&lt;/font&gt; lnResult = NO_ERROR&lt;br&gt;&lt;font color="green"&gt;				* Actually, this structure-stripping is no longer&lt;/font&gt;
&lt;font color="green"&gt;				* required because WnetGetConnection() returns a&lt;/font&gt;
&lt;font color="green"&gt;				* string rather than a struct&lt;/font&gt;
				lcStructureString = &lt;font color="blue"&gt;Alltrim&lt;/font&gt;(&lt;font color="blue"&gt;Substr&lt;/font&gt;(lcBuffer, STRUCTURE_HEADER + &lt;font color="red"&gt;1&lt;/font&gt;))&lt;br&gt;				lcReturnValue = &lt;font color="blue"&gt;Left&lt;/font&gt;(lcStructureString, ;&lt;br&gt;					&lt;font color="blue"&gt;at&lt;/font&gt;(&lt;font color="blue"&gt;Chr&lt;/font&gt;(&lt;font color="red"&gt;0&lt;/font&gt;), lcStructureString) - &lt;font color="red"&gt;1&lt;/font&gt;) + lcPath&lt;br&gt;&lt;br&gt;&lt;font color="green"&gt;				* The string pointed to by lpLocalPath is invalid.&lt;/font&gt;
			&lt;font color="blue"&gt;Case&lt;/font&gt; lnResult = ERROR_BAD_DEVICE&lt;br&gt;				lcReturnValue = tcMappedPath&lt;br&gt;&lt;br&gt;&lt;font color="green"&gt;				* There is no current connection to the remote&lt;/font&gt;
&lt;font color="green"&gt;				* device, but there is a remembered (persistent)&lt;/font&gt;
&lt;font color="green"&gt;				* connection to it.&lt;/font&gt;
			&lt;font color="blue"&gt;Case&lt;/font&gt; lnResult = ERROR_CONNECTION_UNAVAIL&lt;br&gt;				lcReturnValue = tcMappedPath&lt;br&gt;&lt;br&gt;&lt;font color="green"&gt;				* A network-specific error occurred. Use the&lt;/font&gt;
&lt;font color="green"&gt;				* WNetGetLastError function to obtain a description&lt;/font&gt;
&lt;font color="green"&gt;				* of the error.&lt;/font&gt;
			&lt;font color="blue"&gt;Case&lt;/font&gt; lnResult = ERROR_EXTENDED_ERROR&lt;br&gt;				lcReturnValue = tcMappedPath&lt;br&gt;&lt;br&gt;&lt;font color="green"&gt;				* The buffer pointed to by lpBuffer is too small.&lt;/font&gt;
&lt;font color="green"&gt;				* The function sets the variable pointed to by&lt;/font&gt;
&lt;font color="green"&gt;				* lpBufferSize to the required buffer size.&lt;/font&gt;
			&lt;font color="blue"&gt;Case&lt;/font&gt; lnResult = ERROR_MORE_DATA&lt;br&gt;				lcReturnValue = getuncpath(tcMappedPath, lnBufferSize)&lt;br&gt;&lt;br&gt;&lt;font color="green"&gt;				* None of the providers recognized this local name&lt;/font&gt;
&lt;font color="green"&gt;				* as having a connection. However, the network is&lt;/font&gt;
&lt;font color="green"&gt;				* not available for at least one provider to whom&lt;/font&gt;
&lt;font color="green"&gt;				* the connection may belong.&lt;/font&gt;
			&lt;font color="blue"&gt;Case&lt;/font&gt; lnResult = ERROR_NO_NET_OR_BAD_PATH&lt;br&gt;				lcReturnValue = tcMappedPath&lt;br&gt;&lt;br&gt;&lt;font color="green"&gt;				* There is no network present.&lt;/font&gt;
			&lt;font color="blue"&gt;Case&lt;/font&gt; lnResult = ERROR_NO_NETWORK&lt;br&gt;				lcReturnValue = tcMappedPath&lt;br&gt;&lt;br&gt;&lt;font color="green"&gt;				* The device specified by lpLocalPath is not&lt;/font&gt;
&lt;font color="green"&gt;				* redirected.&lt;/font&gt;
			&lt;font color="blue"&gt;Case&lt;/font&gt; lnResult = ERROR_NOT_CONNECTED&lt;br&gt;				lcReturnValue = tcMappedPath&lt;br&gt;&lt;br&gt;			&lt;font color="blue"&gt;Otherwise&lt;/font&gt;
				lcReturnValue = tcMappedPath

		&lt;font color="blue"&gt;Endcase&lt;/font&gt;

	&lt;font color="blue"&gt;Else&lt;/font&gt;

		lcReturnValue = tcMappedPath

	&lt;font color="blue"&gt;Endif&lt;/font&gt;

	&lt;font color="blue"&gt;Return&lt;/font&gt; lcReturnValue&lt;br&gt;	&lt;font color="blue"&gt;Endproc&lt;/font&gt;


	&lt;font color="blue"&gt;Procedure&lt;/font&gt; &lt;font color="blue"&gt;Error&lt;/font&gt;
	&lt;font color="blue"&gt;Lparameters&lt;/font&gt; nError, cMethod, nLine&lt;br&gt;&lt;br&gt;	&lt;font color="blue"&gt;Messagebox&lt;/font&gt;(&lt;font color="blue"&gt;Str&lt;/font&gt;(nError) + &lt;font color="red"&gt;'Please chose a valid network resource to map.'&lt;/font&gt;,;&lt;br&gt;		&lt;font color="red"&gt;64&lt;/font&gt;,&lt;font color="blue"&gt;This&lt;/font&gt;.&lt;font color="blue"&gt;Caption&lt;/font&gt;)&lt;br&gt;	&lt;font color="blue"&gt;Endproc&lt;/font&gt;


	&lt;font color="blue"&gt;Procedure&lt;/font&gt; &lt;font color="blue"&gt;Init&lt;/font&gt;
	&lt;font color="blue"&gt;Declare&lt;/font&gt; &lt;font color="blue"&gt;Integer&lt;/font&gt; WNetAddConnection &lt;font color="blue"&gt;In&lt;/font&gt; MPR.&lt;font color="blue"&gt;Dll&lt;/font&gt; &lt;font color="blue"&gt;String&lt;/font&gt; cNetPath, &lt;font color="blue"&gt;String&lt;/font&gt;;&lt;br&gt;		cPassword, &lt;font color="blue"&gt;String&lt;/font&gt; cLocalName&lt;br&gt;&lt;br&gt;	&lt;font color="blue"&gt;Declare&lt;/font&gt; &lt;font color="blue"&gt;Integer&lt;/font&gt; WNetCancelConnection &lt;font color="blue"&gt;In&lt;/font&gt; MPR.&lt;font color="blue"&gt;Dll&lt;/font&gt; &lt;font color="blue"&gt;String&lt;/font&gt; cName, &lt;font color="blue"&gt;Long&lt;/font&gt; nForce&lt;br&gt;&lt;br&gt;	&lt;font color="blue"&gt;Declare&lt;/font&gt; &lt;font color="blue"&gt;Integer&lt;/font&gt; WNetGetConnection &lt;font color="blue"&gt;In&lt;/font&gt; WIN32API &lt;font color="blue"&gt;String&lt;/font&gt; cLocalName, &lt;font color="blue"&gt;String&lt;/font&gt;;&lt;br&gt;		@cNetPath, &lt;font color="blue"&gt;Integer&lt;/font&gt; @nLen&lt;br&gt;	&lt;font color="blue"&gt;Endproc&lt;/font&gt;


	&lt;font color="blue"&gt;Procedure&lt;/font&gt; command2.&lt;font color="blue"&gt;Click&lt;/font&gt;
	&lt;font color="blue"&gt;Local&lt;/font&gt; lcNetDrive&lt;br&gt;&lt;br&gt;	lcNetDrive = &lt;font color="blue"&gt;Getdir&lt;/font&gt;(&lt;font color="red"&gt;''&lt;/font&gt;,&lt;font color="red"&gt;'Select Network Resource'&lt;/font&gt;,;&lt;br&gt;		&lt;font color="red"&gt;'Browse for Network Drive'&lt;/font&gt;)&lt;br&gt;&lt;br&gt;	&lt;font color="blue"&gt;With&lt;/font&gt; &lt;font color="blue"&gt;This&lt;/font&gt;.&lt;font color="blue"&gt;Parent&lt;/font&gt;
		lcNetDrive = .getunc(lcNetDrive)
		.text1.&lt;font color="blue"&gt;Value&lt;/font&gt; = lcNetDrive&lt;br&gt;		.text1.&lt;font color="blue"&gt;Refresh&lt;/font&gt;
	&lt;font color="blue"&gt;Endwith&lt;/font&gt;
	&lt;font color="blue"&gt;Endproc&lt;/font&gt;


	&lt;font color="blue"&gt;Procedure&lt;/font&gt; combo1.&lt;font color="blue"&gt;Init&lt;/font&gt;
	&lt;font color="blue"&gt;Local&lt;/font&gt; lnFirstDrv,lnLastDrv,lcDrive,lnCnt,lnDrvType&lt;br&gt;&lt;br&gt;	lnFirstDrv = &lt;font color="blue"&gt;Asc&lt;/font&gt;(&lt;font color="red"&gt;'A'&lt;/font&gt;)&lt;br&gt;	lnLastDrv = &lt;font color="blue"&gt;Asc&lt;/font&gt;(&lt;font color="red"&gt;'Z'&lt;/font&gt;)&lt;br&gt;&lt;br&gt;	&lt;font color="blue"&gt;For&lt;/font&gt; lnCnt = lnFirstDrv &lt;font color="blue"&gt;To&lt;/font&gt; lnLastDrv&lt;br&gt;		lcDrive = &lt;font color="blue"&gt;Chr&lt;/font&gt;(lnCnt) + &lt;font color="red"&gt;':'&lt;/font&gt;
		lnDrvType = &lt;font color="blue"&gt;Drivetype&lt;/font&gt;(lcDrive)&lt;br&gt;		&lt;font color="blue"&gt;Do&lt;/font&gt; &lt;font color="blue"&gt;Case&lt;/font&gt;
			&lt;font color="blue"&gt;Case&lt;/font&gt; lnDrvType = &lt;font color="red"&gt;1&lt;/font&gt;	And lcDrive &amp;lt;&amp;gt; &lt;font color="red"&gt;'B:'&lt;/font&gt; &lt;font color="green"&gt;&amp;amp;&amp;amp; No type&lt;/font&gt;
				&lt;font color="blue"&gt;This&lt;/font&gt;.&lt;font color="blue"&gt;AddItem&lt;/font&gt;(lcDrive)&lt;br&gt;			&lt;font color="blue"&gt;Case&lt;/font&gt; lnDrvType = &lt;font color="red"&gt;2&lt;/font&gt;	&lt;font color="green"&gt;&amp;amp;&amp;amp; Floppy disk&lt;/font&gt;

			&lt;font color="blue"&gt;Case&lt;/font&gt; lnDrvType = &lt;font color="red"&gt;3&lt;/font&gt;	&lt;font color="green"&gt;&amp;amp;&amp;amp; Hard disk&lt;/font&gt;

			&lt;font color="blue"&gt;Case&lt;/font&gt; lnDrvType = &lt;font color="red"&gt;4&lt;/font&gt;	&lt;font color="green"&gt;&amp;amp;&amp;amp; Removable drive or network drive&lt;/font&gt;
&lt;font color="green"&gt;				*this.AddItem(lcDrive)&lt;/font&gt;
			&lt;font color="blue"&gt;Case&lt;/font&gt; lnDrvType = &lt;font color="red"&gt;5&lt;/font&gt;	&lt;font color="green"&gt;&amp;amp;&amp;amp; CD-ROM&lt;/font&gt;

			&lt;font color="blue"&gt;Case&lt;/font&gt; lnDrvType = &lt;font color="red"&gt;6&lt;/font&gt; 	&lt;font color="green"&gt;&amp;amp;&amp;amp; RAM disk1&lt;/font&gt;

		&lt;font color="blue"&gt;Endcase&lt;/font&gt;
	&lt;font color="blue"&gt;Next&lt;/font&gt;

	loWSHNet = &lt;font color="blue"&gt;Createobject&lt;/font&gt;(&lt;font color="red"&gt;'Wscript.Network'&lt;/font&gt;)&lt;br&gt;	loNetDrives = loWSHNet.EnumNetworkDrives&lt;br&gt;	&lt;font color="blue"&gt;For&lt;/font&gt; lnX = &lt;font color="red"&gt;1&lt;/font&gt; &lt;font color="blue"&gt;To&lt;/font&gt; loNetDrives.&lt;font color="blue"&gt;Count&lt;/font&gt;-&lt;font color="red"&gt;1&lt;/font&gt; &lt;font color="blue"&gt;Step&lt;/font&gt; &lt;font color="red"&gt;2&lt;/font&gt;
		lcDrive = &lt;font color="red"&gt;'\'&lt;/font&gt; + loNetDrives.&lt;font color="blue"&gt;Item&lt;/font&gt;(lnX-&lt;font color="red"&gt;1&lt;/font&gt;) + &lt;font color="red"&gt;'   '&lt;/font&gt; + loNetDrives.&lt;font color="blue"&gt;Item&lt;/font&gt;(lnX)&lt;br&gt;		&lt;font color="blue"&gt;This&lt;/font&gt;.&lt;font color="blue"&gt;AddItem&lt;/font&gt;(lcDrive)&lt;br&gt;	&lt;font color="blue"&gt;Next&lt;/font&gt;

	loWSHNet = .Null.
	loNetDrives = .Null.
	&lt;font color="blue"&gt;Endproc&lt;/font&gt;


	&lt;font color="blue"&gt;Procedure&lt;/font&gt; cmdmap.&lt;font color="blue"&gt;Click&lt;/font&gt;
	&lt;font color="blue"&gt;Local&lt;/font&gt; loWSHNet,lcDrive,lcPath,lnRetVal,lcMess,llReconnect&lt;br&gt;&lt;br&gt;	&lt;font color="blue"&gt;With&lt;/font&gt; &lt;font color="blue"&gt;This&lt;/font&gt;.&lt;font color="blue"&gt;Parent&lt;/font&gt;
		lcDrive = &lt;font color="blue"&gt;Left&lt;/font&gt;(&lt;font color="blue"&gt;Alltrim&lt;/font&gt;(.combo1.&lt;font color="blue"&gt;Value&lt;/font&gt;),&lt;font color="red"&gt;2&lt;/font&gt;)&lt;br&gt;		lcPath = &lt;font color="blue"&gt;Alltrim&lt;/font&gt;(.text1.&lt;font color="blue"&gt;Value&lt;/font&gt;)&lt;br&gt;		llReconnect = .check1.&lt;font color="blue"&gt;Value&lt;/font&gt;
		&lt;font color="blue"&gt;If&lt;/font&gt; &lt;font color="blue"&gt;Empty&lt;/font&gt;(lcDrive) Or Isblank(lcDrive)&lt;br&gt;			&lt;font color="blue"&gt;Messagebox&lt;/font&gt;(&lt;font color="red"&gt;'Please select Drive to map.'&lt;/font&gt;,&lt;font color="red"&gt;64&lt;/font&gt;,.&lt;font color="blue"&gt;Caption&lt;/font&gt;)&lt;br&gt;			&lt;font color="blue"&gt;Return&lt;/font&gt;
		&lt;font color="blue"&gt;Endif&lt;/font&gt;
		&lt;font color="blue"&gt;If&lt;/font&gt; &lt;font color="blue"&gt;Empty&lt;/font&gt;(lcPath) Or Isblank(lcPath)&lt;br&gt;			&lt;font color="blue"&gt;Messagebox&lt;/font&gt;(&lt;font color="red"&gt;'Please select Path.'&lt;/font&gt;,&lt;font color="red"&gt;64&lt;/font&gt;,.&lt;font color="blue"&gt;Caption&lt;/font&gt;)&lt;br&gt;			&lt;font color="blue"&gt;Return&lt;/font&gt;
		&lt;font color="blue"&gt;Endif&lt;/font&gt;

&lt;font color="green"&gt;		*	lnRetVal = WNetAddConnection(lcPath,'',lcDrive)&lt;/font&gt;

		loWSHNet = &lt;font color="blue"&gt;Createobject&lt;/font&gt;(&lt;font color="red"&gt;"Wscript.Network"&lt;/font&gt;)&lt;br&gt;		loWSHNet.MapNetworkDrive(lcDrive,lcPath,llReconnect)&lt;br&gt;		loWSHNet = .Null.&lt;br&gt;		.&lt;font color="blue"&gt;Release&lt;/font&gt;
	&lt;font color="blue"&gt;Endwith&lt;/font&gt;
	&lt;font color="blue"&gt;Endproc&lt;/font&gt;


	&lt;font color="blue"&gt;Procedure&lt;/font&gt; cmdcancel.&lt;font color="blue"&gt;Click&lt;/font&gt;
	&lt;font color="blue"&gt;Thisform&lt;/font&gt;.&lt;font color="blue"&gt;Release&lt;/font&gt;
	&lt;font color="blue"&gt;Endproc&lt;/font&gt;


&lt;font color="blue"&gt;Enddefine&lt;/font&gt;
&lt;font color="green"&gt;*&lt;/font&gt;
&lt;font color="green"&gt;*-- EndDefine: mapnet&lt;/font&gt;
&lt;font color="green"&gt;**************************************************&lt;/font&gt;&lt;/pre&gt;&lt;img src="http://weblogs.foxite.com/aggbug.aspx?PostID=2876" width="1" height="1"&gt;</description><category domain="http://weblogs.foxite.com/erikgomez/archive/category/28.aspx">Visual FoxPro</category></item><item><title>Prayer Request</title><link>http://weblogs.foxite.com/erikgomez/archive/2006/07/04/1948.aspx</link><pubDate>Mon, 03 Jul 2006 22:33:00 GMT</pubDate><guid isPermaLink="false">8827bd1c-7596-4a8f-b0de-f59ce9ede522:1948</guid><dc:creator>egomez</dc:creator><slash:comments>0</slash:comments><comments>http://weblogs.foxite.com/erikgomez/comments/1948.aspx</comments><wfw:commentRss>http://weblogs.foxite.com/erikgomez/commentrss.aspx?PostID=1948</wfw:commentRss><description>&lt;P&gt;&lt;FONT face=Verdana size=2&gt;It's a pity that my post after a long time is a sad one.&amp;nbsp;&amp;nbsp;My mother had a stroke this morning and she is being brought to the hospital as I'm typing this post.&amp;nbsp;I &amp;nbsp;don't have all the details yet but have spoken to&amp;nbsp;my father and he told me that her&amp;nbsp;blood pressure&amp;nbsp;is 150/100. I feel very sad and helpless as I can't be there for my mother. Please spare some time to pray for my mother. Thanks.&lt;/FONT&gt; &lt;/P&gt;&lt;img src="http://weblogs.foxite.com/aggbug.aspx?PostID=1948" width="1" height="1"&gt;</description><category domain="http://weblogs.foxite.com/erikgomez/archive/category/29.aspx">Random Thoughts</category></item><item><title>Soccer in the Philippines</title><link>http://weblogs.foxite.com/erikgomez/archive/2006/04/21/1445.aspx</link><pubDate>Fri, 21 Apr 2006 01:39:00 GMT</pubDate><guid isPermaLink="false">8827bd1c-7596-4a8f-b0de-f59ce9ede522:1445</guid><dc:creator>egomez</dc:creator><slash:comments>0</slash:comments><comments>http://weblogs.foxite.com/erikgomez/comments/1445.aspx</comments><wfw:commentRss>http://weblogs.foxite.com/erikgomez/commentrss.aspx?PostID=1445</wfw:commentRss><description>&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Read articles (about soccer in the Philippines) written by a very good friend of mine (Jack Biantan from London) at &lt;/FONT&gt;&lt;A href="http://pinoysoccer.com/home/"&gt;&lt;FONT face=Verdana size=2&gt;http://pinoysoccer.com/home/&lt;/FONT&gt;&lt;/A&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT face=Verdana size=2&gt;To Jack :&lt;BR&gt;&lt;BR&gt;More power to you Jack and I'm glad you have taken up writing (sports articles) again, I know how you loved to write sports related articles.&lt;BR&gt;&lt;BR&gt;And big thanks for the England World Cup jersey you have sent &lt;img src="/emoticons/emotion-1.gif" alt="Smile [:)]" /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://weblogs.foxite.com/aggbug.aspx?PostID=1445" width="1" height="1"&gt;</description><category domain="http://weblogs.foxite.com/erikgomez/archive/category/29.aspx">Random Thoughts</category></item><item><title>Splitter</title><link>http://weblogs.foxite.com/erikgomez/archive/2006/02/03/1119.aspx</link><pubDate>Fri, 03 Feb 2006 15:15:00 GMT</pubDate><guid isPermaLink="false">8827bd1c-7596-4a8f-b0de-f59ce9ede522:1119</guid><dc:creator>egomez</dc:creator><slash:comments>0</slash:comments><comments>http://weblogs.foxite.com/erikgomez/comments/1119.aspx</comments><wfw:commentRss>http://weblogs.foxite.com/erikgomez/commentrss.aspx?PostID=1119</wfw:commentRss><description>&lt;FONT face=Verdana&gt;&lt;FONT size=2&gt;It's been a while since I've last posted something in my weblog related to VFP. I have been using this code for a long time in one of my apps and have actually posted it in the forum sometime last year or maybe 2 years ago and just recently. Anyways, for those who might need it here it is. Some amount of work may still be required to polish this.&lt;BR&gt;&lt;/FONT&gt;&lt;BR&gt;
&lt;pre&gt;
&lt;font color='blue'&gt;Public&lt;/font&gt; oForm
oForm = &lt;font color='blue'&gt;Createobject&lt;/font&gt;(&lt;font color='red'&gt;'mySplitter'&lt;/font&gt;)
oForm.&lt;font color='blue'&gt;Show&lt;/font&gt;
&lt;font color='blue'&gt;Return&lt;/font&gt;
&lt;font color='blue'&gt;Define&lt;/font&gt; &lt;font color='blue'&gt;Class&lt;/font&gt; mySplitter &lt;font color='blue'&gt;As&lt;/font&gt; &lt;font color='blue'&gt;Form&lt;/font&gt;
	&lt;font color='blue'&gt;Top&lt;/font&gt; = &lt;font color='red'&gt;0&lt;/font&gt;
	&lt;font color='blue'&gt;Left&lt;/font&gt; = &lt;font color='red'&gt;0&lt;/font&gt;
	&lt;font color='blue'&gt;Height&lt;/font&gt; = &lt;font color='red'&gt;371&lt;/font&gt;
	&lt;font color='blue'&gt;Width&lt;/font&gt; = &lt;font color='red'&gt;373&lt;/font&gt;
	&lt;font color='blue'&gt;DoCreate&lt;/font&gt; = .T.
	&lt;font color='blue'&gt;Caption&lt;/font&gt; = &lt;font color='red'&gt;"Form1"&lt;/font&gt;
	&lt;font color='blue'&gt;Name&lt;/font&gt; = &lt;font color='red'&gt;"Form1"&lt;/font&gt;
	nxtwips = .F.
	nytwips = .F.
	&lt;font color='blue'&gt;Add&lt;/font&gt; &lt;font color='blue'&gt;Object&lt;/font&gt; edit1 &lt;font color='blue'&gt;As&lt;/font&gt; &lt;font color='blue'&gt;EditBox&lt;/font&gt; &lt;font color='blue'&gt;With&lt;/font&gt; ;
		&lt;font color='blue'&gt;Height&lt;/font&gt; = &lt;font color='red'&gt;62&lt;/font&gt;, ;
		&lt;font color='blue'&gt;Left&lt;/font&gt; = &lt;font color='red'&gt;0&lt;/font&gt;, ;
		&lt;font color='blue'&gt;Top&lt;/font&gt; = &lt;font color='red'&gt;5&lt;/font&gt;, ;
		&lt;font color='blue'&gt;Width&lt;/font&gt; = &lt;font color='red'&gt;365&lt;/font&gt;, ;
		&lt;font color='blue'&gt;Name&lt;/font&gt; = &lt;font color='red'&gt;"Edit1"&lt;/font&gt;
	&lt;font color='blue'&gt;Add&lt;/font&gt; &lt;font color='blue'&gt;Object&lt;/font&gt; edit2 &lt;font color='blue'&gt;As&lt;/font&gt; &lt;font color='blue'&gt;EditBox&lt;/font&gt; &lt;font color='blue'&gt;With&lt;/font&gt; ;
		&lt;font color='blue'&gt;Height&lt;/font&gt; = &lt;font color='red'&gt;285&lt;/font&gt;, ;
		&lt;font color='blue'&gt;Left&lt;/font&gt; = &lt;font color='red'&gt;0&lt;/font&gt;, ;
		&lt;font color='blue'&gt;Top&lt;/font&gt; = &lt;font color='red'&gt;77&lt;/font&gt;, ;
		&lt;font color='blue'&gt;Width&lt;/font&gt; = &lt;font color='red'&gt;365&lt;/font&gt;, ;
		&lt;font color='blue'&gt;Name&lt;/font&gt; = &lt;font color='red'&gt;"Edit2"&lt;/font&gt;
	&lt;font color='blue'&gt;Add&lt;/font&gt; &lt;font color='blue'&gt;Object&lt;/font&gt; shape1 &lt;font color='blue'&gt;As&lt;/font&gt; &lt;font color='blue'&gt;Shape&lt;/font&gt; &lt;font color='blue'&gt;With&lt;/font&gt; ;
		&lt;font color='blue'&gt;Top&lt;/font&gt; = &lt;font color='red'&gt;71&lt;/font&gt;, ;
		&lt;font color='blue'&gt;Left&lt;/font&gt; = &lt;font color='red'&gt;0&lt;/font&gt;, ;
		&lt;font color='blue'&gt;Height&lt;/font&gt; = &lt;font color='red'&gt;3&lt;/font&gt;, ;
		&lt;font color='blue'&gt;Width&lt;/font&gt; = &lt;font color='red'&gt;358&lt;/font&gt;, ;
		&lt;font color='blue'&gt;MousePointer&lt;/font&gt; = &lt;font color='red'&gt;7&lt;/font&gt;, ;
		&lt;font color='blue'&gt;SpecialEffect&lt;/font&gt; = &lt;font color='red'&gt;0&lt;/font&gt;, ;
		&lt;font color='blue'&gt;Name&lt;/font&gt; = &lt;font color='red'&gt;"Shape1"&lt;/font&gt;
	&lt;font color='blue'&gt;Procedure&lt;/font&gt; _resize
	&lt;font color='blue'&gt;Lparameters&lt;/font&gt; lnYCoord
	&lt;font color='blue'&gt;With&lt;/font&gt; &lt;font color='blue'&gt;This&lt;/font&gt;
		&lt;font color='blue'&gt;Wait&lt;/font&gt; &lt;font color='blue'&gt;Window&lt;/font&gt; &lt;font color='blue'&gt;Transform&lt;/font&gt;(lnYCoord) &lt;font color='blue'&gt;Nowait&lt;/font&gt;
		lnOffset = lnYCoord - .edit1.&lt;font color='blue'&gt;Height&lt;/font&gt; - &lt;font color='red'&gt;8&lt;/font&gt;
		.edit1.&lt;font color='blue'&gt;Height&lt;/font&gt; = .edit1.&lt;font color='blue'&gt;Height&lt;/font&gt; + lnOffset
		.shape1.&lt;font color='blue'&gt;Top&lt;/font&gt; = lnYCoord
		.edit2.&lt;font color='blue'&gt;Top&lt;/font&gt; = lnYCoord + &lt;font color='red'&gt;4&lt;/font&gt;
		.edit2.&lt;font color='blue'&gt;Height&lt;/font&gt; = .&lt;font color='blue'&gt;Height&lt;/font&gt; - (lnYCoord + &lt;font color='red'&gt;8&lt;/font&gt;)
	&lt;font color='blue'&gt;Endwith&lt;/font&gt;
	&lt;font color='blue'&gt;Endproc&lt;/font&gt;
	&lt;font color='blue'&gt;Procedure&lt;/font&gt; shape1.&lt;font color='blue'&gt;Drag&lt;/font&gt;
	&lt;font color='blue'&gt;Lparameters&lt;/font&gt; nAction
	&lt;font color='blue'&gt;Wait&lt;/font&gt; &lt;font color='blue'&gt;Window&lt;/font&gt; &lt;font color='blue'&gt;Transform&lt;/font&gt;(nAction) &lt;font color='blue'&gt;Nowait&lt;/font&gt;
	&lt;font color='blue'&gt;Endproc&lt;/font&gt;
	&lt;font color='blue'&gt;Procedure&lt;/font&gt; shape1.&lt;font color='blue'&gt;MouseDown&lt;/font&gt;
	&lt;font color='blue'&gt;Lparameters&lt;/font&gt; nButton, nShift, nXCoord, nYCoord
	lcMsg =  &lt;font color='red'&gt;'nButton = '&lt;/font&gt; +&lt;font color='blue'&gt;Transform&lt;/font&gt;(nButton) + &lt;font color='blue'&gt;Chr&lt;/font&gt;(&lt;font color='red'&gt;13&lt;/font&gt;) +;
		&lt;font color='red'&gt;'nShift = '&lt;/font&gt; +&lt;font color='blue'&gt;Transform&lt;/font&gt;(nShift) + &lt;font color='blue'&gt;Chr&lt;/font&gt;(&lt;font color='red'&gt;13&lt;/font&gt;) +;
		&lt;font color='red'&gt;'nXCoord = '&lt;/font&gt; +&lt;font color='blue'&gt;Transform&lt;/font&gt;(nXCoord) + &lt;font color='blue'&gt;Chr&lt;/font&gt;(&lt;font color='red'&gt;13&lt;/font&gt;) +;
		&lt;font color='red'&gt;'nYCoord = '&lt;/font&gt; +&lt;font color='blue'&gt;Transform&lt;/font&gt;(nYCoord)
	&lt;font color='blue'&gt;Wait&lt;/font&gt; &lt;font color='blue'&gt;Window&lt;/font&gt; lcMsg &lt;font color='blue'&gt;Nowait&lt;/font&gt;
	&lt;font color='blue'&gt;Endproc&lt;/font&gt;
	&lt;font color='blue'&gt;Procedure&lt;/font&gt; shape1.&lt;font color='blue'&gt;MouseMove&lt;/font&gt;
	&lt;font color='blue'&gt;Lparameters&lt;/font&gt; nButton, nShift, nXCoord, nYCoord
	&lt;font color='blue'&gt;If&lt;/font&gt; nButton = &lt;font color='red'&gt;1&lt;/font&gt;
		&lt;font color='blue'&gt;Thisform&lt;/font&gt;._resize(nYCoord)
	&lt;font color='blue'&gt;Endif&lt;/font&gt;
	&lt;font color='blue'&gt;Endproc&lt;/font&gt;
&lt;font color='blue'&gt;Enddefine&lt;/font&gt;&lt;/pre&gt;&lt;img src="http://weblogs.foxite.com/aggbug.aspx?PostID=1119" width="1" height="1"&gt;</description><category domain="http://weblogs.foxite.com/erikgomez/archive/category/28.aspx">Visual FoxPro</category></item><item><title> Therese Erika Turned Three</title><link>http://weblogs.foxite.com/erikgomez/archive/2005/12/08/1027.aspx</link><pubDate>Thu, 08 Dec 2005 02:04:00 GMT</pubDate><guid isPermaLink="false">8827bd1c-7596-4a8f-b0de-f59ce9ede522:1027</guid><dc:creator>egomez</dc:creator><slash:comments>0</slash:comments><comments>http://weblogs.foxite.com/erikgomez/comments/1027.aspx</comments><wfw:commentRss>http://weblogs.foxite.com/erikgomez/commentrss.aspx?PostID=1027</wfw:commentRss><description>&lt;P align=justify&gt;&lt;SPAN style="FONT-FAMILY: verdana"&gt;&lt;FONT face=Tahoma&gt;My daughter &lt;/FONT&gt;&lt;A href="http://photos1.blogger.com/blogger/3055/996/1600/DSC_0044.jpg"&gt;&lt;FONT face=Tahoma&gt;Therese Erika&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Tahoma&gt;&amp;nbsp;turned three last October 15 and she had the "&lt;/FONT&gt;&lt;A href="http://photos1.blogger.com/blogger/3055/996/1600/DSC_0062.jpg"&gt;&lt;FONT face=Tahoma&gt;pabitin&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Tahoma&gt;" (those hanging toys and candies in one of the pictures here) all for herself. The "pabitin" was a gift from her Tita Jo Ann (my wife's younger sister). I can see that she enjoyed her &lt;/FONT&gt;&lt;A href="http://photos1.blogger.com/blogger/3055/996/1600/DSC_0034.jpg"&gt;&lt;FONT face=Tahoma&gt;birthday party&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Tahoma&gt; very much. It's one of those times in my daughter's life that I missed. I may also miss having Christmas and New Year with my family this time as I'm needed at the office for some prior tasks assigned to me.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;img src="http://weblogs.foxite.com/aggbug.aspx?PostID=1027" width="1" height="1"&gt;</description></item><item><title>My Daughter's Battle and Victory over Stevens-Johnson Syndrome </title><link>http://weblogs.foxite.com/erikgomez/archive/2005/09/06/906.aspx</link><pubDate>Tue, 06 Sep 2005 15:12:00 GMT</pubDate><guid isPermaLink="false">8827bd1c-7596-4a8f-b0de-f59ce9ede522:906</guid><dc:creator>egomez</dc:creator><slash:comments>3</slash:comments><comments>http://weblogs.foxite.com/erikgomez/comments/906.aspx</comments><wfw:commentRss>http://weblogs.foxite.com/erikgomez/commentrss.aspx?PostID=906</wfw:commentRss><description>&lt;P class=MsoNormal style="TEXT-JUSTIFY: inter-ideograph; MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;As some of you may have known my then 2 year and 9 month old daughter battled the worst form of allergic reaction to an antibiotic. She had what was known as the &lt;A href="http://www.sjsupport.org/"&gt;Stevens-Johnson Syndrome&lt;/A&gt; or SJS. She was admitted to the hospital on &lt;/SPAN&gt;&lt;?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" /&gt;&lt;st1:date Month="8" Day="6" Year="2005"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;the 6th of August 2005&lt;/SPAN&gt;&lt;/st1:date&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;. Fortunately she responded very well to the medications that she was out of the hospital two weeks later. &lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="TEXT-JUSTIFY: inter-ideograph; MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="TEXT-JUSTIFY: inter-ideograph; MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;I will not describe all of what my daughter had to endure but you can view photographs from this link: &lt;A href="http://www.sjsupport.org/photo1.shtml"&gt;http://www.sjsupport.org/photo1.shtml&lt;/A&gt;. Please be advised that &lt;STRONG&gt;the photographs in this page are graphic!&lt;/STRONG&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="TEXT-JUSTIFY: inter-ideograph; MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="TEXT-JUSTIFY: inter-ideograph; MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;Since she could not eat (her mouth had lesions as well), an IV line was needed. But every time medicines were needed to be given orally she'd cry because it meant pain in her mouth. So she'd move around and cry and bang her hands and feet. This resulted to her IV line getting dislodged almost every two days. She endured a total of 12 IV insertions and twice for blood extraction needed for a blood culture to determine if she had other allergies. &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="TEXT-JUSTIFY: inter-ideograph; MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="TEXT-JUSTIFY: inter-ideograph; MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;I arrived from &lt;/SPAN&gt;&lt;st1:country-region&gt;&lt;st1:place&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;Singapore&lt;/SPAN&gt;&lt;/st1:place&gt;&lt;/st1:country-region&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt; in &lt;/SPAN&gt;&lt;st1:City&gt;&lt;st1:place&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;Bacolod&lt;/SPAN&gt;&lt;/st1:place&gt;&lt;/st1:City&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt; last August 9, 2005 but have to shower and put on new clothes first before proceeding to the hospital. Shortly after I arrived, her IV line got dislodged and needed to be reinserted as she needs IV fluids because she is not eating or drinking anything. She was treated as if she had first degree burns. While the IV line was being reinserted, we held her down with small pillows as we couldn't use our hands because of the lesions and blisters on her skin. During this time, she cried so much and said in a harsh and pleading voice, "&lt;EM&gt;Mama, mama, puli na ta, kapoy na gid ko.&lt;/EM&gt;" which translates to "&lt;EM&gt;&lt;STRONG&gt;Mommy, Mommy, let's go home, I'm very tired.&lt;/STRONG&gt;&lt;/EM&gt;" I was telling myself if only I could trade places with her. But it was a battle that she must fight and win on her own. All we could do was to pray for her, try to make her as comfortable as possible and give her whatever medicines she needs. &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="TEXT-JUSTIFY: inter-ideograph; MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="TEXT-JUSTIFY: inter-ideograph; MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;I know the doctors attributed her quick recovery to the early detection and diagnosis that what she had was SJS as well as the medicines that was given to her. But I truly believe that it was largely because of the prayers and concern from all the people I know personally and from those whom I&amp;#8217;ve known only here at &lt;A href="http://www.foxite.com/"&gt;www.foxite.com&lt;/A&gt; . &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="TEXT-JUSTIFY: inter-ideograph; MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="TEXT-JUSTIFY: inter-ideograph; MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;Thus I would like to thank them. To everybody here at &lt;A href="http://www.foxite.com"&gt;www.foxite.com&lt;/A&gt; but most especially to Eric den Doop and Simon Arnold (for the concern), Boudewijn Lutgerink (for the distant Reiki treatments), Sivaramakrishnan, Lucy and Dale (for the prayers). &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="TEXT-JUSTIFY: inter-ideograph; MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="TEXT-JUSTIFY: inter-ideograph; MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;To all my batchmates/e-group mates at &lt;A href="http://groups.yahoo.com/group/DBSM84/"&gt;http://groups.yahoo.com/group/DBSM84/&lt;/A&gt; but most especially to Boy and &lt;/SPAN&gt;&lt;st1:City&gt;&lt;st1:place&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;Chita&lt;/SPAN&gt;&lt;/st1:place&gt;&lt;/st1:City&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt; (for visiting), Joy (for calling), to Pangga, Maricor, John, Bernard and Noel (for the emails and prayers) and to Elrie (for facilitating my return ticket). To my relatives for their prayers and concern. &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="TEXT-JUSTIFY: inter-ideograph; MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="TEXT-JUSTIFY: inter-ideograph; MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;To Melissa for calling, praying and offering to take care of us if there was a need to bring my daughter to the &lt;/SPAN&gt;&lt;st1:country-region&gt;&lt;st1:place&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;U.S.&lt;/SPAN&gt;&lt;/st1:place&gt;&lt;/st1:country-region&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt; for treatment. &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="TEXT-JUSTIFY: inter-ideograph; MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="TEXT-JUSTIFY: inter-ideograph; MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;To my parents, Mama and Papa, my brother TG and my sister Janet (for assisting and staying with us in the hospital). &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="TEXT-JUSTIFY: inter-ideograph; MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="TEXT-JUSTIFY: inter-ideograph; MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;To my in-laws, Dad, Mom, Jo Ann, Gani, Jun-jun, Jam-jam, Cristy, Ritchel for all the support, care and prayers. &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="TEXT-JUSTIFY: inter-ideograph; MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="TEXT-JUSTIFY: inter-ideograph; MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;&lt;FONT color=#008000&gt;To Tita Cita, for the bubble toy which gave my daughter so much joy that she forgot about the pain in her mouth that she started eating for the first time since she was confined in the hospital.&lt;/FONT&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="TEXT-JUSTIFY: inter-ideograph; MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="TEXT-JUSTIFY: inter-ideograph; MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;&lt;STRONG&gt;My thanks goes out most specially to my brother-in-law, Pep, for the financial support.&lt;/STRONG&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="TEXT-JUSTIFY: inter-ideograph; MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="TEXT-JUSTIFY: inter-ideograph; MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;To my flat mates here in &lt;/SPAN&gt;&lt;st1:country-region&gt;&lt;st1:place&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;Singapore&lt;/SPAN&gt;&lt;/st1:place&gt;&lt;/st1:country-region&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;, Manong Boy, Chris, Carlo, Elaine, Grace and Rina for their prayers. &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="TEXT-JUSTIFY: inter-ideograph; MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="TEXT-JUSTIFY: inter-ideograph; MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;To Dr. Arroyo, Dr. Gallaga, Dr. Almais-Tan and Dr. Montilla for doing their best. To the nurses at Station 5, Marietta, Salve, Rose and Glenn as well as the other staff for helping us with all our needs during my daughter&amp;#8217;s confinement. &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="TEXT-JUSTIFY: inter-ideograph; MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="TEXT-JUSTIFY: inter-ideograph; MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;To our friends, Tin-tin and Rodney, Vina and Maritess D. and Maritess C., for prayers and for visiting. I may not be able to mention everyone who in one way or another had helped us hurdle this obstacle and for making us feel that we are not alone in this. All I can say is that you know who you are and to you all, my heartfelt thanks. It really warms my heart to know that so many people were concerned of my daughter&amp;#8217;s well being, some of whom I even haven't met.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="TEXT-JUSTIFY: inter-ideograph; MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="TEXT-JUSTIFY: inter-ideograph; MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;&lt;STRONG&gt;To the Lord Almighty, for all the blessings and the healing.&lt;o:p&gt;&lt;/o:p&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="TEXT-JUSTIFY: inter-ideograph; MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="TEXT-JUSTIFY: inter-ideograph; MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;The other person who endured as much as my daughter was my wife. You see, our daughter will only sleep on my wife's chest during her ordeal at the hospital. It was as if it's the only place where my daughter could seek comfort. I could only marvel at my wife's patience in taking care of our daughter. I know that during these times she was very very tired was suffering from headaches due to lack of sleep. To my wife Tess, I love you very much and I know I can't be there always but rest assured of my constant prayers.&lt;/SPAN&gt;&lt;/P&gt;&lt;img src="http://weblogs.foxite.com/aggbug.aspx?PostID=906" width="1" height="1"&gt;</description><category domain="http://weblogs.foxite.com/erikgomez/archive/category/29.aspx">Random Thoughts</category></item><item><title>Stevens Johnson Syndrone (SJS) </title><link>http://weblogs.foxite.com/erikgomez/archive/2005/08/08/862.aspx</link><pubDate>Mon, 08 Aug 2005 03:21:00 GMT</pubDate><guid isPermaLink="false">8827bd1c-7596-4a8f-b0de-f59ce9ede522:862</guid><dc:creator>egomez</dc:creator><slash:comments>6</slash:comments><comments>http://weblogs.foxite.com/erikgomez/comments/862.aspx</comments><wfw:commentRss>http://weblogs.foxite.com/erikgomez/commentrss.aspx?PostID=862</wfw:commentRss><description>&lt;P align=justify&gt;&lt;FONT size=-1&gt;&lt;FONT face=Arial&gt;My daughter Therese Erika (2 years 10 months old) is in the hospital right now and is suffering from Steven Johnson's Syndrone (SJS) an acute allergic reaction to&amp;nbsp;an antibiotic that was prescribed for her urinary tract infection. Looking at websites about SJS I know that she is suffering so much and is in great pain. This disease is very serious that could lead to many complications. I won't mention these here as even by just thinking about the complications brings me so much pain. I truly wish I could trade places with my daughter right now. I'm planning to be there by the end of the week if not sooner.&amp;nbsp;I would be very grateful if you&amp;nbsp;could offer a prayer for my daughter. Thank you very much and may God bless you.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://weblogs.foxite.com/aggbug.aspx?PostID=862" width="1" height="1"&gt;</description><category domain="http://weblogs.foxite.com/erikgomez/archive/category/29.aspx">Random Thoughts</category></item><item><title>Experiencing the Power of the Net in a Personal Level</title><link>http://weblogs.foxite.com/erikgomez/archive/2005/08/02/852.aspx</link><pubDate>Tue, 02 Aug 2005 17:42:00 GMT</pubDate><guid isPermaLink="false">8827bd1c-7596-4a8f-b0de-f59ce9ede522:852</guid><dc:creator>egomez</dc:creator><slash:comments>1</slash:comments><comments>http://weblogs.foxite.com/erikgomez/comments/852.aspx</comments><wfw:commentRss>http://weblogs.foxite.com/erikgomez/commentrss.aspx?PostID=852</wfw:commentRss><description>&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;Around 3 months ago, I was tasked to look for manpower out-sourcing companies in the &lt;/SPAN&gt;&lt;?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" /&gt;&lt;st1:country-region&gt;&lt;st1:place&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;&lt;A href="http://www.tourism.gov.ph/"&gt;Philippines&lt;/A&gt;&lt;/SPAN&gt;&lt;/st1:place&gt;&lt;/st1:country-region&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;. In the course of my search I found two websites listing an IT services company whose contact person's name sounds familiar. After sometime I realized that the contact person of the said IT services company was an old college friend, whom I last saw in April of 1989. Imagine, after&amp;nbsp;16 years, I was able to get in-touch with her.&amp;nbsp;Luckily one of the sites listed her maiden name and the other the contact information, if not then I could have not known that it was her. Here are the two site's I've mentioned :&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;&lt;A href="http://www.eitsc.com/softdev_cytronics.html"&gt;http://www.eitsc.com/softdev_cytronics.html&lt;/A&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;&lt;A href="http://www.itnetcentral.com/directory/profile.asp?id=453"&gt;http://www.itnetcentral.com/directory/profile.asp?id=453&lt;/A&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;It was the first time I experienced the power of the internet in a &lt;EM&gt;personal level&lt;/EM&gt;. Anyway, in case some of our mutual friends would like to reach her, here are her contact details:&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;&lt;STRONG&gt;Josephine Bernadette P. Panganiban&lt;o:p&gt;&lt;/o:p&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;VP - Systems and Services&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;&lt;STRONG&gt;CYTRONICS INTERNATIONAL, INC.&lt;o:p&gt;&lt;/o:p&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;3/F &lt;/SPAN&gt;&lt;st1:place&gt;&lt;st1:PlaceName&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;Basic&lt;/SPAN&gt;&lt;/st1:PlaceName&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt; &lt;/SPAN&gt;&lt;st1:PlaceName&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;Petroleum&lt;/SPAN&gt;&lt;/st1:PlaceName&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt; &lt;/SPAN&gt;&lt;st1:PlaceType&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;Building&lt;/SPAN&gt;&lt;/st1:PlaceType&gt;&lt;/st1:place&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;,&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;st1:Street&gt;&lt;st1:address&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;104 Carlos Palanca Jr. Street&lt;/SPAN&gt;&lt;/st1:address&gt;&lt;/st1:Street&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;, &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;st1:place&gt;&lt;st1:PlaceName&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;Legaspi&lt;/SPAN&gt;&lt;/st1:PlaceName&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt; &lt;/SPAN&gt;&lt;st1:PlaceType&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;Village&lt;/SPAN&gt;&lt;/st1:PlaceType&gt;&lt;/st1:place&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;, &lt;/SPAN&gt;&lt;st1:place&gt;&lt;A href="http://www.makati.gov.ph/"&gt;&lt;st1:PlaceName&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;Makati&lt;/SPAN&gt;&lt;/st1:PlaceName&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt; &lt;/SPAN&gt;&lt;st1:PlaceType&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;City&lt;/SPAN&gt;&lt;/st1:PlaceType&gt;&lt;/A&gt;&lt;/st1:place&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;Phone: 867-1338 867-1340&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;Fax: 867-1339&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://weblogs.foxite.com/aggbug.aspx?PostID=852" width="1" height="1"&gt;</description><category domain="http://weblogs.foxite.com/erikgomez/archive/category/29.aspx">Random Thoughts</category></item><item><title>Heeding the Call</title><link>http://weblogs.foxite.com/erikgomez/archive/2005/08/02/851.aspx</link><pubDate>Tue, 02 Aug 2005 17:02:00 GMT</pubDate><guid isPermaLink="false">8827bd1c-7596-4a8f-b0de-f59ce9ede522:851</guid><dc:creator>egomez</dc:creator><slash:comments>1</slash:comments><comments>http://weblogs.foxite.com/erikgomez/comments/851.aspx</comments><wfw:commentRss>http://weblogs.foxite.com/erikgomez/commentrss.aspx?PostID=851</wfw:commentRss><description>&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;I was reading &lt;A href="http://www.sweetpotatosoftware.com/SPSBlog/PermaLink,guid,45bf2281-88a7-4d42-a75d-8fe7e87ae734.aspx"&gt;Craig Boyd's Visual FoxPro Community Action&lt;/A&gt;&amp;nbsp;and decided to heed to his call. I'm now preparing some materials on &lt;A href="http://msdn.microsoft.com/vfoxpro/"&gt;Microsoft Visual FoxPro&lt;/A&gt; that I would like to discuss with computer students in my high school Alma Mater, &lt;A href="http://www.donboscovictorias.org/"&gt;Don Bosco Technical Institute&lt;/A&gt; in &lt;A href="http://www.victoriascity.gov.ph/index.htm"&gt;Victorias City&lt;/A&gt;, &lt;A href="http://www.tourism.gov.ph/"&gt;Philippines&lt;/A&gt;. I will be having my annual vacation late December 2005 (before the Christmas) until mid-January 2006. This will give me some time to visit my high school Alma Mater. You see &lt;A href="http://www.donboscovictorias.org/"&gt;Don Bosco Technical Institute&lt;/A&gt; has a rather unique high school curriculum where-in students in the 3rd and 4th year high school are grouped (it's called a section) into three. One section is taking up basic electronics subjects, then the other is computer and mechanics. It is in this school where I got hold of my first computer, the &lt;A href="http://en.wikipedia.org/wiki/TRS-80"&gt;TRS-80&lt;/A&gt;. The computer section curriculum is usually basic computer concepts, computer programming using &lt;A href="http://msdn.microsoft.com/vfoxpro/"&gt;Microsoft Visual FoxPro&lt;/A&gt; and some introduction to computer aided design and manufacturing (&lt;A href="http://en.wikipedia.org/wiki/CAD"&gt;CAD&lt;/A&gt;/&lt;A href="http://en.wikipedia.org/wiki/Computer-aided_manufacturing"&gt;CAMM&lt;/A&gt;). My plan is to be able to have an informal talk to these students about computer programming in general and specifically &lt;A href="http://msdn.microsoft.com/vfoxpro/"&gt;Microsoft Visual FoxPro&lt;/A&gt;&amp;nbsp;as one of the best tools in data-centric desktop applications development and hopefully instill in these young minds to be interested in using &lt;A href="http://msdn.microsoft.com/vfoxpro/"&gt;Microsoft Visual FoxPro&lt;/A&gt; when they reach college and if they decide to be computer programmers, use &lt;A href="http://msdn.microsoft.com/vfoxpro/"&gt;Microsoft Visual FoxPro&lt;/A&gt; as their main computer language of choice in developing data-centric applications. &lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;I expect difficulties and challenges in completing this endeavor. Some of these are :&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL style="MARGIN-TOP: 0in" type=disc&gt;
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l0 level1 lfo1; tab-stops: list .5in"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;coming up with a comprehensive set of materials that is brief and easily digested by high school students&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt; 
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l0 level1 lfo1; tab-stops: list .5in"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;gaining the support of the school administration and the faculty &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l0 level1 lfo1; tab-stops: list .5in"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;hardware and software requirements &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l0 level1 lfo1; tab-stops: list .5in"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;availability of books and other types of resources on &lt;A href="http://msdn.microsoft.com/vfoxpro/"&gt;Microsoft Visual FoxPro&lt;o:p&gt;&lt;/o:p&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;Hopefully I can overcome these challenges in due time. &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"&gt;This is just a very small step, but it can be a start of something big that will benefit not only these high school students but all &lt;A href="http://msdn.microsoft.com/vfoxpro/"&gt;Microsoft Visual FoxPro&lt;/A&gt; developers in general. The xbase language and eventually &lt;A href="http://msdn.microsoft.com/vfoxpro/"&gt;Microsoft Visual FoxPro&lt;/A&gt; as well as the &lt;A href="http://msdn.microsoft.com/vfoxpro/"&gt;Microsoft Visual FoxPro&lt;/A&gt; community, especially here at &lt;A href="http://weblogs.foxite.com/erikgomez/admin/www.foxite.com"&gt;www.foxite.com&lt;/A&gt; have been very good to me. I guess this is my way of saying "THANK YOU". It is my fervent wish that this small step will ripple throughout the &lt;A href="http://msdn.microsoft.com/vfoxpro/"&gt;Microsoft Visual FoxPro&lt;/A&gt; community and eventually turn into a "&lt;EM&gt;giant wave&lt;/EM&gt;" that will improve the state of &lt;A href="http://msdn.microsoft.com/vfoxpro/"&gt;Microsoft Visual FoxPro&lt;/A&gt; and elevate it into even greater heights. &lt;/SPAN&gt;&lt;/P&gt;&lt;img src="http://weblogs.foxite.com/aggbug.aspx?PostID=851" width="1" height="1"&gt;</description><category domain="http://weblogs.foxite.com/erikgomez/archive/category/28.aspx">Visual FoxPro</category></item><item><title>Of Visual FoxPro, Python and Dabo</title><link>http://weblogs.foxite.com/erikgomez/archive/2005/08/01/843.aspx</link><pubDate>Mon, 01 Aug 2005 00:14:00 GMT</pubDate><guid isPermaLink="false">8827bd1c-7596-4a8f-b0de-f59ce9ede522:843</guid><dc:creator>egomez</dc:creator><slash:comments>2</slash:comments><comments>http://weblogs.foxite.com/erikgomez/comments/843.aspx</comments><wfw:commentRss>http://weblogs.foxite.com/erikgomez/commentrss.aspx?PostID=843</wfw:commentRss><description>&lt;P&gt;&lt;FONT face=Tahoma size=2&gt;I've been messing around with &lt;/FONT&gt;&lt;A href="http://www.python.org/" target=_blank&gt;&lt;FONT face=Tahoma size=2&gt;Python&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Tahoma size=2&gt; and the &lt;/FONT&gt;&lt;A href="http://dabodev.com/about" target=_blank&gt;&lt;FONT face=Tahoma size=2&gt;Dabo&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Tahoma size=2&gt; framework for sometime now to realize that &lt;/FONT&gt;&lt;A href="http://www.python.org/" target=_blank&gt;&lt;FONT face=Tahoma size=2&gt;Python&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Tahoma size=2&gt; is a great open source programming language and &lt;/FONT&gt;&lt;A href="http://dabodev.com/about" target=_blank&gt;&lt;FONT face=Tahoma size=2&gt;Dabo&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Tahoma size=2&gt; is surely a very strong and well written data-driven framework. Since the authors have strong backgroud and extensive experience in &lt;/FONT&gt;&lt;A href="http://msdn.microsoft.com/vfoxpro/" target=_blank&gt;&lt;FONT face=Tahoma size=2&gt;Visual FoxPro&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Tahoma size=2&gt;, the &lt;/FONT&gt;&lt;A href="http://dabodev.com/about" target=_blank&gt;&lt;FONT face=Tahoma size=2&gt;Dabo&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Tahoma size=2&gt; framework have a touch of &lt;/FONT&gt;&lt;A href="http://msdn.microsoft.com/vfoxpro/" target=_blank&gt;&lt;FONT face=Tahoma size=2&gt;Visual FoxPro&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Tahoma size=2&gt; in it that will make it attractive to &lt;/FONT&gt;&lt;A href="http://msdn.microsoft.com/vfoxpro/" target=_blank&gt;&lt;FONT face=Tahoma size=2&gt;Visual FoxPro&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Tahoma size=2&gt; developers. But don't get me wrong, I'm still climbing the &lt;/FONT&gt;&lt;A href="http://www.python.org/" target=_blank&gt;&lt;FONT face=Tahoma size=2&gt;Python&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Tahoma size=2&gt;/&lt;/FONT&gt;&lt;A href="http://dabodev.com/about" target=_blank&gt;&lt;FONT face=Tahoma size=2&gt;Dabo&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Tahoma size=2&gt; learning curve and will not abandon &lt;/FONT&gt;&lt;A href="http://msdn.microsoft.com/vfoxpro/" target=_blank&gt;&lt;FONT face=Tahoma size=2&gt;Visual FoxPro&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Tahoma size=2&gt;. But with &lt;/FONT&gt;&lt;A href="http://www.python.org/" target=_blank&gt;&lt;FONT face=Tahoma size=2&gt;Python&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Tahoma size=2&gt;/&lt;/FONT&gt;&lt;A href="http://dabodev.com/about" target=_blank&gt;&lt;FONT face=Tahoma size=2&gt;Dabo&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Tahoma size=2&gt; your app will run in Linux/Unix and Mac OS'es as well as Windows without any rewrite. It will open new possibilities for me as a developer. As with anyone who had the opportunity to work abroad, being multi-lingual is a very valuable asset. I guess this is also very true for a software developer in an ever changing computer landscape. &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma size=2&gt;Naturaly, in learning a new programming language finding and getting hold of good books is a given. So yesterday I visited a popular computer bookstore here in Singapore. I was pleasantly surprised that there were at least 10 titles on &lt;/FONT&gt;&lt;A href="http://www.python.org/" target=_blank&gt;&lt;FONT face=Tahoma size=2&gt;Python&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Tahoma size=2&gt; on the shelf. So while I'm at it I decided to look for books on &lt;/FONT&gt;&lt;A href="http://msdn.microsoft.com/vfoxpro/" target=_blank&gt;&lt;FONT face=Tahoma size=2&gt;Visual FoxPro&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Tahoma size=2&gt;, but to my dismay I could not find any. I'm not whining about this, it's just that it can get to you sometimes. Well, I guess then it's up to us to continue doing our part in making &lt;/FONT&gt;&lt;A href="http://msdn.microsoft.com/vfoxpro/" target=_blank&gt;&lt;FONT face=Tahoma size=2&gt;Visual FoxPro&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Tahoma size=2&gt; well known by creating great &lt;/FONT&gt;&lt;A href="http://msdn.microsoft.com/vfoxpro/" target=_blank&gt;&lt;FONT face=Tahoma size=2&gt;Visual FoxPro&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Tahoma size=2&gt; applications and to share to everyone about the power of &lt;/FONT&gt;&lt;A href="http://msdn.microsoft.com/vfoxpro/" target=_blank&gt;&lt;FONT face=Tahoma size=2&gt;Visual FoxPro&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Tahoma size=2&gt;. One more thing, keep on blogging about &lt;/FONT&gt;&lt;A href="http://msdn.microsoft.com/vfoxpro/" target=_blank&gt;&lt;FONT face=Tahoma size=2&gt;Visual FoxPro&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Tahoma size=2&gt; for it&amp;nbsp;is a&amp;nbsp;very powerful means that we can let the world know about&amp;nbsp;&lt;/FONT&gt;&lt;A href="http://msdn.microsoft.com/vfoxpro/" target=_blank&gt;&lt;FONT face=Tahoma size=2&gt;Visual FoxPro&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Tahoma size=2&gt;. &lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://weblogs.foxite.com/aggbug.aspx?PostID=843" width="1" height="1"&gt;</description><category domain="http://weblogs.foxite.com/erikgomez/archive/category/28.aspx">Visual FoxPro</category></item><item><title>YPops!</title><link>http://weblogs.foxite.com/erikgomez/archive/2005/05/29/474.aspx</link><pubDate>Sun, 29 May 2005 19:17:00 GMT</pubDate><guid isPermaLink="false">8827bd1c-7596-4a8f-b0de-f59ce9ede522:474</guid><dc:creator>egomez</dc:creator><slash:comments>0</slash:comments><comments>http://weblogs.foxite.com/erikgomez/comments/474.aspx</comments><wfw:commentRss>http://weblogs.foxite.com/erikgomez/commentrss.aspx?PostID=474</wfw:commentRss><description>&lt;FONT face=Tahoma size=2&gt;When I first started out using the net and got my first free email account, I used &lt;/FONT&gt;&lt;A href="http://www.yahoo.com"&gt;&lt;FONT face=Tahoma size=2&gt;www.yahoo.com&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Tahoma size=2&gt; as it was the more famous web portal offering free web-baed email service. At that time it also offered free pop mail access your yahoo.com email account but decided to terminate it sometime later. It was a good thing to have (pop mail access) as you can check to your emails from virtually any email client. Well, yahoo still offers free pop mail access in its different country domains (i.e. yahoo.com.sg) but not from yahoo.com. Anyway, while searching the net for some way to have pop mail access to my yahoo.com emails, I came across &lt;A href="http://yahoopops.sourceforge.net/"&gt;YPops!&lt;/A&gt;&lt;/FONT&gt;&lt;FONT face=Tahoma size=2&gt;, actually it was suggested to me a collegue. I've been using it with &lt;A href="http://www.mozilla.org/products/thunderbird/"&gt;Mozilla's Thurderbird&lt;/A&gt;&amp;nbsp;&lt;/FONT&gt;&lt;FONT face=Tahoma size=2&gt;and Microsoft's Outlook XP for sometime now with no problems. You can find the instructions on how to configure the YPops! for use with the different email client applications &lt;A href="http://yahoopops.sourceforge.net/modules.php?op=modload&amp;amp;name=Sections&amp;amp;file=index&amp;amp;req=listarticles&amp;amp;secid=1"&gt;here&lt;/A&gt;&lt;/FONT&gt;&lt;FONT face=Tahoma size=2&gt;.&lt;/FONT&gt;&lt;img src="http://weblogs.foxite.com/aggbug.aspx?PostID=474" width="1" height="1"&gt;</description><category domain="http://weblogs.foxite.com/erikgomez/archive/category/29.aspx">Random Thoughts</category></item></channel></rss>