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

<channel>
	<title>Utah Web Design Blog &#187; Tech Stuff</title>
	<atom:link href="http://www.redolivedesign.com/utah-web-designers-blog/index.php/category/utah-web-design/web-technology/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.redolivedesign.com/utah-web-designers-blog</link>
	<description>Corporate Blog Site for Red Olive Design Inc.</description>
	<lastBuildDate>Sun, 28 Feb 2010 02:42:30 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Setting Up Email With Droid 2.0</title>
		<link>http://www.redolivedesign.com/utah-web-designers-blog/2010/01/02/setting-up-email-with-droid-2-0/</link>
		<comments>http://www.redolivedesign.com/utah-web-designers-blog/2010/01/02/setting-up-email-with-droid-2-0/#comments</comments>
		<pubDate>Sat, 02 Jan 2010 18:51:10 +0000</pubDate>
		<dc:creator>Aric Beagley</dc:creator>
				<category><![CDATA[Tech Stuff]]></category>

		<guid isPermaLink="false">http://www.redolivedesign.com/utah-web-designers-blog/?p=596</guid>
		<description><![CDATA[We all know that iPhones are for people who just think they need one to be cool, am I right?* Does an iPhone scream &#8220;DROID!&#8221; at you everytime you get a text though? No, it doesn&#8217;t. Therefore a lot of people are making the correct change to the open source and lovable phone, the Motorolla [...]]]></description>
			<content:encoded><![CDATA[<p>We all know that iPhones are for people who just think they need one to be cool, am I right?* Does an iPhone scream &#8220;DROID!&#8221; at you everytime you get a text though? No, it doesn&#8217;t. Therefore a lot of people are making the correct change to the open source and lovable phone, the Motorolla Droid. How hard is it to set up your email though? It&#8217;s as easy as saying &#8220;DROID!&#8221; in a high pitched robotic voice (well maybe a little more difficult).</p>
<p><strong>Step One: </strong>Open up the &#8220;Mail&#8221; application from your menu. (note you can drag this icon to your desktop by tapping the icon and holding it for about 2-3 seconds)</p>
<p><a href="http://www.redolivedesign.com/utah-web-designers-blog/wp-content/uploads/2010/01/step2.png"><img class="alignnone size-medium wp-image-598" style="float: none; margin: 0px; padding: 0px; clear: none;" title="Droid Email Step 1" src="http://www.redolivedesign.com/utah-web-designers-blog/wp-content/uploads/2010/01/step2-168x300.png" alt="Open The Email Application" width="168" height="300" /></a></p>
<p><strong>Step two:</strong> Once the email application is open you will be prompted to enter in your email address and password for the account you are setting up. If you host email through us your username and password were provided to you at some point during the process. Remember that it will always be your FULL email used for any login regarding email. <strong>Click next</strong> after you have entered in the required info.</p>
<p><a href="http://www.redolivedesign.com/utah-web-designers-blog/wp-content/uploads/2010/01/step3.png"><img class="alignnone size-medium wp-image-599" style="float: none; margin: 0px; padding: 0px; clear: none;" title="Droid Email Step 2" src="http://www.redolivedesign.com/utah-web-designers-blog/wp-content/uploads/2010/01/step3-168x300.png" alt="Enter In Your Email Address and Password" width="168" height="300" /></a></p>
<p><strong>Step Three: </strong>now you need to pick the type of account you are going to set up. For this tutorial I&#8217;m going to set up an IMAP which basically mimics your real inbox on your phone (i.e. if you delete a message on your phone it is deleted from your computer as well).</p>
<p><a href="http://www.redolivedesign.com/utah-web-designers-blog/wp-content/uploads/2010/01/step4.png"><img class="alignnone size-medium wp-image-600" style="float: none; margin: 0px; padding: 0px; clear: none;" title="Step 3 Pick The Type" src="http://www.redolivedesign.com/utah-web-designers-blog/wp-content/uploads/2010/01/step4-168x300.png" alt="Pick the type of account you wish to set up." width="168" height="300" /></a></p>
<p><strong>Step 4:</strong> After you select IMAP from the choices you will be given a few more fields to fill out. The username / password / and IMAP server fields should be automatically populated, however if you are using Red Olive for your email you will need to change them. Remember your username will ALWAYS be your full email address and the IMAP server will change to mail2.redolive.net (mail1.redolive.net if you are an older client 4 yrs+). The port will be host specific so change it to 993 and the security type to SSL (Accept all certificates) &#8212; if you host through Red Olive. Click next and it will check to make sure it can connect successfully! If it does yay! If not make sure you double check your password and all settings.</p>
<p><a href="http://www.redolivedesign.com/utah-web-designers-blog/wp-content/uploads/2010/01/step5.png"><img class="alignnone size-medium wp-image-601" style="float: none; margin: 0px; padding: 0px; clear: none;" title="Droid Email Step 4" src="http://www.redolivedesign.com/utah-web-designers-blog/wp-content/uploads/2010/01/step5-168x300.png" alt="Set up incoming IMAP server" width="168" height="300" /></a></p>
<p><strong>Step 5:</strong> Now we need to set up your outgoing mail settings. The server is the server you used in the previous screen (either mail1.redolive.net or mail2.redolive.net). Make sure you change the port to 465 and the security type to SSL and that &#8220;Require sign-in.&#8221; is checked. Click next and the Droid will verify these settings as well.</p>
<p><a href="http://www.redolivedesign.com/utah-web-designers-blog/wp-content/uploads/2010/01/step6.png"><img class="alignnone size-medium wp-image-602" style="float: none; margin: 0px; padding: 0px; clear: none;" title="Step 6 Droid Email" src="http://www.redolivedesign.com/utah-web-designers-blog/wp-content/uploads/2010/01/step6-168x300.png" alt="Enter in outgoing settings" width="168" height="300" /></a></p>
<p>That&#8217;s all there is to it. After the Droid verifies this info you will be prompted to enter in a few personal settings like the frequency to update, notification, and a nickname for the account. Once those settings are set you&#8217;ll be directed to your inbox where you can start enjoying your millions (maybe) of emails!</p>
<p>*note &#8211; No I really don&#8217;t have anything against the iPhone users out there. We all have fads at some point in our life :0).</p>
<p><strong>P.S.</strong> &#8211; The droid really is a better phone.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.redolivedesign.com%2Futah-web-designers-blog%2F2010%2F01%2F02%2Fsetting-up-email-with-droid-2-0%2F&amp;linkname=Setting%20Up%20Email%20With%20Droid%202.0"><img src="http://www.redolivedesign.com/utah-web-designers-blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.redolivedesign.com/utah-web-designers-blog/2010/01/02/setting-up-email-with-droid-2-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MS Word 2007 .DOCX MIME TYPE</title>
		<link>http://www.redolivedesign.com/utah-web-designers-blog/2009/06/23/ms-word-2007-docx-mime-type/</link>
		<comments>http://www.redolivedesign.com/utah-web-designers-blog/2009/06/23/ms-word-2007-docx-mime-type/#comments</comments>
		<pubDate>Tue, 23 Jun 2009 20:37:19 +0000</pubDate>
		<dc:creator>Matthew Moeller</dc:creator>
				<category><![CDATA[Tech Stuff]]></category>
		<category><![CDATA[docx mimetype coding]]></category>

		<guid isPermaLink="false">http://www.redolivedesign.com/utah-web-designers-blog/?p=418</guid>
		<description><![CDATA[Ever searched around looking for the mime-type for the newer Microsoft Word .docx file type?  Search no more. It comes in handy for web development when you have an uploader app in PHP or ASP and need to determine the file type. Tested in PHP and works perfect. Hope this saves someone some time searching.
.docx
application/vnd.openxmlformats-officedocument.wordprocessingml.document
.doc [...]]]></description>
			<content:encoded><![CDATA[<p>Ever searched around looking for the mime-type for the newer Microsoft Word .docx file type?  Search no more. It comes in handy for web development when you have an uploader app in PHP or ASP and need to determine the file type. Tested in PHP and works perfect. Hope this saves someone some time searching.</p>
<p>.docx<br />
<code>application/vnd.openxmlformats-officedocument.wordprocessingml.document</code></p>
<p>.doc (old school word)<br />
<code>application/msword<br />
</code></p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.redolivedesign.com%2Futah-web-designers-blog%2F2009%2F06%2F23%2Fms-word-2007-docx-mime-type%2F&amp;linkname=MS%20Word%202007%20.DOCX%20MIME%20TYPE"><img src="http://www.redolivedesign.com/utah-web-designers-blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.redolivedesign.com/utah-web-designers-blog/2009/06/23/ms-word-2007-docx-mime-type/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Automated fix for SQL .ldf file growing out of control</title>
		<link>http://www.redolivedesign.com/utah-web-designers-blog/2008/08/22/automated-fix-for-sql-ldf-file-growing-out-of-control/</link>
		<comments>http://www.redolivedesign.com/utah-web-designers-blog/2008/08/22/automated-fix-for-sql-ldf-file-growing-out-of-control/#comments</comments>
		<pubDate>Fri, 22 Aug 2008 15:51:52 +0000</pubDate>
		<dc:creator>Matthew Moeller</dc:creator>
				<category><![CDATA[Tech Stuff]]></category>
		<category><![CDATA[automated fix]]></category>
		<category><![CDATA[large file]]></category>
		<category><![CDATA[ldf file growing huge]]></category>
		<category><![CDATA[ms sql]]></category>
		<category><![CDATA[scripte]]></category>
		<category><![CDATA[slow database]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://www.redolivedesign.com/utah-web-designers-blog/?p=181</guid>
		<description><![CDATA[If you work with MS SQL server and have databases that handle lots of transactions then you no doubt have encountered the .ldf file growing to insane sizes if left unchecked. A large LDF file will result in the web application running extremely slow or most likely just timing out, not to mention affecting the performance of other databases setup on [...]]]></description>
			<content:encoded><![CDATA[<p>If you work with <strong>MS SQL server </strong>and have databases that handle lots of transactions then you no doubt have encountered the .ldf file growing to insane sizes if left unchecked. A large LDF file will result in the web application running extremely slow or most likely just timing out, not to mention affecting the performance of other databases setup on that same server. We used to manually detach the database rename the .ldf, once you re-attach the .mdf file it would start up a new .ldf log file and things would run speedy once again. While that worked it resulted in downtime, wasted resources, and unhappy clients.</p>
<p><strong>Here is a solution that works perfectly and is automated.</strong> (assuming sql server 2000 or 2005 standard here)</p>
<ol>
<li><strong>Launch Enterprise Manager</strong> and open Management</li>
<li><strong>Right click</strong> on <strong>Database Maintenance Plans &gt; New plan</strong></li>
<li>Pick all your options to backup your database with the schedule and <strong>save the plan</strong></li>
<li><strong>Drop down SQL Server Agent</strong></li>
<li><strong>Right click on Jobs &gt; New Job</strong></li>
<li>Give it a name and click on the second tab &#8220;<strong>steps</strong>&#8220;</li>
<li><strong>Add a second step</strong> under the initial backup by clicking New</li>
<li>Choose <strong>Type TSQL</strong>, <strong>pick the database</strong>, and <strong>paste in this command</strong></li>
<p><code>BACKUP LOG dbnamehere WITH TRUNCATE_ONLY<br />
DBCC SHRINKFILE(dbnamehere_Log, 1)</code></p>
<li>Save it, click on step 1 <strong>hit adavanced</strong> and set &#8220;<strong>On success action:&#8221;</strong> to &#8220;<strong>Goto Step: 2</strong>&#8221; or it won&#8217;t run.</li>
</ol>
<p>We have a log file that used to run to 18 to 30GB quickly and now it is 1MB on a daily basis, pretty sweet and with no real down time.  We have tried backing up the log and tried the built in shriking options with no luck, never worked.  Sure there are plenty of other methods you can use, hope this helps someone else out there facing the same problem.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.redolivedesign.com%2Futah-web-designers-blog%2F2008%2F08%2F22%2Fautomated-fix-for-sql-ldf-file-growing-out-of-control%2F&amp;linkname=Automated%20fix%20for%20SQL%20.ldf%20file%20growing%20out%20of%20control"><img src="http://www.redolivedesign.com/utah-web-designers-blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.redolivedesign.com/utah-web-designers-blog/2008/08/22/automated-fix-for-sql-ldf-file-growing-out-of-control/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Fun with WSH &#8211; How to write a vbs file to check a directory, count the files, and restart a service.  Then email your cell.</title>
		<link>http://www.redolivedesign.com/utah-web-designers-blog/2008/01/23/how-to-write-a-vbs-file-to-check-a-directory-count-the-files-and-restart-a-service-oh-yeah-and-email-you-telling-you-it-happened/</link>
		<comments>http://www.redolivedesign.com/utah-web-designers-blog/2008/01/23/how-to-write-a-vbs-file-to-check-a-directory-count-the-files-and-restart-a-service-oh-yeah-and-email-you-telling-you-it-happened/#comments</comments>
		<pubDate>Wed, 23 Jan 2008 18:50:52 +0000</pubDate>
		<dc:creator>Matthew Moeller</dc:creator>
				<category><![CDATA[Tech Stuff]]></category>

		<guid isPermaLink="false">http://www.redolivedesign.com/utah-web-designers-blog/2008/01/23/how-to-write-a-vbs-file-to-check-a-directory-count-the-files-and-restart-a-service-oh-yeah-and-email-you-telling-you-it-happened/</guid>
		<description><![CDATA[You might wonder how a windows script host app like this could possibly be of use.  Well it has many uses like checking a mail server queue and restarting a service that may have hung.  Or a web development application that allows clients to upload files for print projects but no body ever goes out and [...]]]></description>
			<content:encoded><![CDATA[<p>You might wonder how a windows script host app like this could possibly be of use.  Well it has many uses like checking a mail server queue and restarting a service that may have hung.  Or a <a href="http://www.redolivedesign.com" title="utah web developers">web development application</a> that allows clients to upload files for print projects but no body ever goes out and cleans off the files.  With a little modification to this you could pull off many scheduled tasks to fit your needs.  I wrote this because google failed me in the search for a quick fix, it&#8217;s not often but it does happen. Anyway if this saves you some time then great, mission accomplished. The code below checks a specified directory and counts the total files in it;  If the count is over our threshold then take action by restarting a service that is hung.  Finally send an email with all the fun details to my cell phone.</p>
<p><span class="postbody">This has a bunch of unnecessary code in it for debugging, feel free to clean it up.<br />
1. Set your SMTP  address for the email function<br />
2. Set nMax &#8211; the threshold before we run an event<br />
3. Uncomment out the echos if you want to see it run manually<br />
4. Setup task scheduler to run the .vbs file at some interval<br />
5. This is tested and runs spiffy on win2003 server but should run on anything win</span></p>
<p><span class="postbody"><code></code></span></p>
<blockquote><p><span class="postbody"><code>Option Explicit<br />
Dim objWMIService, objItem, objService<br />
Dim colListOfServices, strComputer, strService, intSleep<br />
Dim n, SYSDATA, SYSEXPLANATION, nMax, strPath, bIncludeDirsInCount, objMessage</code><code> </code></span><span class="postbody"><code>'On Error Resume Next 'optional</code></span><span class="postbody"><code> </code></span><span class="postbody"><code>'--------------------------------------------------------------<br />
'COUNT FILES in specified DIR<br />
'--------------------------------------------------------------<br />
'setup variables<br />
strPath = "\\localhost\d$\exchange\mail\_incoming" '_incoming dir path?<br />
bIncludeDirsInCount = false 'count dir as a file?<br />
nMax = 100 'how many files needed before we decide to restart?</code></span><span class="postbody"><code>SYSDATA = ""<br />
SYSEXPLANATION = "Unable to count files"</code></span><span class="postbody"><code>n = cntFiles( strPath, bIncludeDirsInCount )<br />
If( n &lt; 0 ) Then<br />
WScript.Quit<br />
End If</p>
<p>SYSDATA = n<br />
SYSEXPLANATION = "Number of files=[" &amp; n &amp; "], maximum allowed=[" &amp; nMax &amp; "]"<br />
'wscript.echo SYSEXPLANATION</p>
<p>If( n &gt; nMax ) Then</p>
<p>'SEND EMAIL ON REMOTE SERVER AND RESTART SERVICE<br />
'----------------------------------------------------------<br />
'SEND ALERT EMAIL TO ADMIN THAT THERE HAS BEEN A RESTART<br />
'----------------------------------------------------------</p>
<p>Set objMessage = CreateObject("CDO.Message")<br />
objMessage.Subject = "ServiceX Was restarted on " &amp; NOW()<br />
objMessage.From = "screwed@server.com"<br />
objMessage.To = "you@domain.com"<br />
objMessage.Cc = "mynumber@mobile.mycingular.net"<br />
'objMessage.Bcc = "myphone@mobile.mycingular.net"<br />
objMessage.TextBody = "My Service HAD TO BE RESTARTED. Summary: " &amp; SYSEXPLANATION</p>
<p>objMessage.Configuration.Fields.Item _<br />
("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2<br />
objMessage.Configuration.Fields.Item _<br />
("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "mail.<strong style="color: #ff5a00">myserver.com</strong>"<br />
objMessage.Configuration.Fields.Item _<br />
("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25</p>
<p>objMessage.Configuration.Fields.Update</p>
<p>objMessage.Send</p>
<p>'WScript.Echo "Admin alert email sent"</p>
<p>'----------------------------------------------------------<br />
'RESTART SERVICE CODE<br />
'----------------------------------------------------------<br />
'RESTART SERVICE CODE<br />
Dim objShell, intShortSleep, intLongSleep</p>
<p>Set objShell = CreateObject("WScript.Shell")<br />
'Notes must have double quotes if it has spaces in the service name, also leave the single empty space before the service</p>
<p>'get the service name from the ctrl alt del not the service name in services snapin</p>
<p>strService = " ""SERVICE TITLE"""<br />
intShortSleep = 1500<br />
intLongSleep = 5500</p>
<p>' Cmd prompt opened<br />
objShell.Run "cmd"<br />
Wscript.Sleep intShortSleep</p>
<p>' Service stopped with 'Net' command<br />
objShell.SendKeys "NET STOP" &amp; strService<br />
Wscript.Sleep intShortSleep<br />
objShell.SendKeys "{Enter}"<br />
Wscript.Sleep intLongSleep</p>
<p>' Service started with 'Net' command<br />
objShell.SendKeys "NET START" &amp; strService<br />
Wscript.Sleep intShortSleep<br />
objShell.SendKeys "{Enter}"<br />
Wscript.Sleep intLongSleep</p>
<p>' Cmd prompt exited<br />
objShell.SendKeys "Exit"<br />
Wscript.Sleep intShortSleep<br />
objShell.SendKeys "{Enter}"</p>
<p>'Wscript.Echo strService &amp; " service stopped and restarted"<br />
WScript.Quit</p>
<p>Else<br />
'wscript.echo "Good to go no restart needed"<br />
End If</p>
<p>Function cntFiles( strFolder, bIncludeDirInCount )<br />
Dim objFolder, objSubFolders, objFso, o, n</p>
<p>On Error Resume Next</p>
<p>cntFiles = -1</p>
<p>Set objFso = Createobject( "Scripting.FileSystemObject" )<br />
Set objFolder = objFso.GetFolder(strFolder)<br />
If( Err.Number &lt;&gt; 0 ) Then<br />
Exit Function<br />
End If<br />
n = objFolder.files.count<br />
Set objSubFolders = objFolder.SubFolders<br />
For Each o In objSubFolders<br />
n = n + cntFiles( o, bIncludeDirInCount )<br />
'If( bIncludeDirInCount ) Then<br />
'n = n + 1<br />
'End If<br />
Next</p>
<p>Set objSubFolders = Nothing<br />
Set objFolder = Nothing</p>
<p>cntFiles = n<br />
End Function</p>
<p></code></span></p></blockquote>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.redolivedesign.com%2Futah-web-designers-blog%2F2008%2F01%2F23%2Fhow-to-write-a-vbs-file-to-check-a-directory-count-the-files-and-restart-a-service-oh-yeah-and-email-you-telling-you-it-happened%2F&amp;linkname=Fun%20with%20WSH%20%26%238211%3B%20How%20to%20write%20a%20vbs%20file%20to%20check%20a%20directory%2C%20count%20the%20files%2C%20and%20restart%20a%20service.%20%20Then%20email%20your%20cell."><img src="http://www.redolivedesign.com/utah-web-designers-blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.redolivedesign.com/utah-web-designers-blog/2008/01/23/how-to-write-a-vbs-file-to-check-a-directory-count-the-files-and-restart-a-service-oh-yeah-and-email-you-telling-you-it-happened/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to run a php or asp file on a schedule with windows XMLHTTP object and scheduled tasks</title>
		<link>http://www.redolivedesign.com/utah-web-designers-blog/2007/11/17/how-to-run-a-php-or-asp-file-on-a-schedule-with-windows-xmlhttp-object-and-scheduled-tasks/</link>
		<comments>http://www.redolivedesign.com/utah-web-designers-blog/2007/11/17/how-to-run-a-php-or-asp-file-on-a-schedule-with-windows-xmlhttp-object-and-scheduled-tasks/#comments</comments>
		<pubDate>Sat, 17 Nov 2007 06:36:02 +0000</pubDate>
		<dc:creator>Matthew Moeller</dc:creator>
				<category><![CDATA[Tech Stuff]]></category>

		<guid isPermaLink="false">http://www.redolivedesign.com/utah-web-designers-blog/2007/11/17/how-to-run-a-php-or-asp-file-on-a-schedule-with-windows-xmlhttp-object-and-scheduled-tasks/</guid>
		<description><![CDATA[If you do alot of web developmentyou may have come across a project that required reports or emails that need to run on a schedule.   You could do it all with web code by tracking the intervals your routine should run but that has one major flaw, it requires a visitor to trigger the event. If [...]]]></description>
			<content:encoded><![CDATA[<p>If you do alot of <a href="http://www.redolivedesign.com" title="utah web development">web development</a>you may have come across a project that required reports or emails that need to run on a schedule.   You could do it all with web code by tracking the intervals your routine should run but that has one major flaw, it requires a visitor to trigger the event. If no one visits the web site the routine gets skipped and so much for your schedule. If your scheduled task is at all important you&#8217;re in trouble.</p>
<p>XMLHTTP and Windows task scheduler to the rescue.  Windows scheduler is extremely accurate and requires no action from anyone to be triggered.  I found everything from scripts that lunched IE resulting in hundreds of open windows on your server to buggy scripts that don&#8217;t do anything all over the web, so I gave up looking and wrote one myself and it works just dandy. Works with IIS and Apache and works with php, asp, .net, jsp, heck any web language for that matter.  Three easy steps to scheduling bliss.</p>
<p><strong>STEP 1: CREATE YOUR VBS SCRIPT</strong><br />
Open notepad and paste this code then change the file extension to .vbs</p>
<p><code>Call RunProcess()<br />
Sub RunProcess()<br />
  'if an error occurs keep on truckin | write an error handler if you like<br />
  On Error Resume Next<br />
  Dim URL, objRequest<br />
  Set objRequest = CreateObject("Microsoft.XMLHTTP")<br />
  'url to page needing a scheduled run<br />
  URL = "<a href="http://www.liencounsel.com/scheduler/forclosereport.asp">http://www.yourdomain.com/filename.php</a>"<br />
  objRequest.open "POST", URL , false<br />
  objRequest.Send<br />
  Set objRequest = Nothing 'clean up memory and thanks for playing<br />
End Sub</code></p>
<p><strong>Step 2:  SETUP YOUR SCHEDULED TASK</strong><br />
Open Windows scheduler and add a task, browse to your newly created vbs file and set your schedule up. </p>
<p><strong>Step 3: TEST IT</strong><br />
right click on the task and say run if the result is 0&#215;0 you&#8217;re golden otherwise backup and start over.</p>
<p> <em>(requirements: windows OS, any web server, any web page, direct access to scheduled tasks) </em></p>
<p>Note: If your web page is running an intensive routine remember to set the script.timeout on the page itself so it has plenty of time to complete the chore. The task scheduler is oblivious to your timeout requirements as it just calls the page and closes.</p>
<p>Don&#8217;t have direct access to the server you host on?  You can always use a third party web based service to setup schedules and run them.  I have never tested them as I don&#8217;t trust mission critical tasks to other vendors, but I am sure they work fine.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.redolivedesign.com%2Futah-web-designers-blog%2F2007%2F11%2F17%2Fhow-to-run-a-php-or-asp-file-on-a-schedule-with-windows-xmlhttp-object-and-scheduled-tasks%2F&amp;linkname=How%20to%20run%20a%20php%20or%20asp%20file%20on%20a%20schedule%20with%20windows%20XMLHTTP%20object%20and%20scheduled%20tasks"><img src="http://www.redolivedesign.com/utah-web-designers-blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.redolivedesign.com/utah-web-designers-blog/2007/11/17/how-to-run-a-php-or-asp-file-on-a-schedule-with-windows-xmlhttp-object-and-scheduled-tasks/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Lots of Apples, do they call it a bushel?</title>
		<link>http://www.redolivedesign.com/utah-web-designers-blog/2007/10/05/lots-of-apples-do-they-call-it-a-bushel/</link>
		<comments>http://www.redolivedesign.com/utah-web-designers-blog/2007/10/05/lots-of-apples-do-they-call-it-a-bushel/#comments</comments>
		<pubDate>Sat, 06 Oct 2007 03:54:09 +0000</pubDate>
		<dc:creator>Vince Stinson</dc:creator>
				<category><![CDATA[Tech Stuff]]></category>
		<category><![CDATA[Utah Web Design]]></category>

		<guid isPermaLink="false">http://www.redolivedesign.com/utah-web-designers-blog/2007/10/05/lots-of-apples-do-they-call-it-a-bushel/</guid>
		<description><![CDATA[So in a earlier post I mentioned that I bought a Macintosh 7100 in college. Do you know all the Apple products you have owned or used in the past years? The other night I found this image of Apple Form Factor Evolution 1976 through 2007. Lets see how many I have owed and used [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.redolivedesign.com/utah-web-designers-blog/wp-content/uploads/2007/10/blog_apple.jpg" />So in a earlier post I mentioned that I bought a <a href="http://en.wikipedia.org/wiki/Power_Macintosh_7100">Macintosh 7100</a> in college. Do you know all the Apple products you have owned or used in the past years? The other night I found this image of <a href="http://www.redolivedesign.com/utah-web-designers-blog/wp-content/uploads/2007/10/apple_evolution.jpg" title="apple" target="_blank">Apple Form Factor Evolution 1976 through 2007</a>. Lets see how many I have owed and used over the years.  How many have you had&#8230;</p>
<p>Heres mine going down the list.</p>
<p>1) I had a friend that got a <a href="http://en.wikipedia.org/wiki/Macintosh_Plus">Macintosh Plus</a> for Christmas, boy was I jealous.</p>
<p>2) I used a <a href="http://en.wikipedia.org/wiki/Macintosh_Classic">Macintosh Classic</a> in school.</p>
<p>3) I went to the <a href="http://www.artinstitutes.edu/denver/">Colorado Institute of Art</a> in 1993 and started designed on a <a href="http://en.wikipedia.org/wiki/Power_Macintosh_7100">Power Mac 7100</a>. With my work schedule It was hard to use the computer lab during the open hours so I went out and bought one with the help of my dad ( more then I paid for my first truck ) so I could start my ongoing pattern of using the computer late at night instead of sleeping.</p>
<p>4) My first job out of college as a Art Director. 2 Macs, a <a href="http://en.wikipedia.org/wiki/Macintosh_Quadra">Quadra 800</a> and a <a href="http://en.wikipedia.org/wiki/PowerBook_180">Powerbook 180c</a>, I even had a <a href="http://www.wacom.com/index2.cfm">Wacom</a> tablet, scanner and a BW laser printer. Life was good.</p>
<p>5) A few years later I decided to get a new laptop so I bought a color <a href="http://en.wikipedia.org/wiki/PowerBook_190">Powerbook 190</a> &#8211; but no CD drive yet.</p>
<p>6) My office bought me a <a href="http://en.wikipedia.org/wiki/Power_Macintosh_G3">Power Mac G3</a> when they first came out, I was in love.</p>
<p>7) a year later I upgraded my laptop to a <a href="http://en.wikipedia.org/wiki/PowerBook_G3">Powerbook G3</a> and used this as my main computer for awhile.</p>
<p>8 ) Yes I had a <a href="http://en.wikipedia.org/wiki/Power_Macintosh_G3_(Blue_&amp;_White)">Jellybean G3 </a>- I hated the mouse and don&#8217;t know anyone that liked the <a href="http://forums.macrumors.com/showthread.php?t=5084">hockey puck of a mouse</a>. I tell people that after using it one night I took it and tossed it against the brisk wall in my house, did you do the same?</p>
<p>9) I owned the next <a href="http://en.wikipedia.org/wiki/Power_Mac_G4">G4</a> later to glad they changed the mouse design.</p>
<p>10) I bought a <a href="http://en.wikipedia.org/wiki/Power_Mac_G4_Cube">Cube</a> a few years ago to run <a href="http://en.wikipedia.org/wiki/Mac_OS_9">OS 9</a> on and run a Roland vinyl plotter on, still have it. I remember when it came out and everyone wanted one cause the clear plastic case looked so cool. I bought mine on <a href="http://www.ebay.com/">Ebay</a> for $500.</p>
<p>11) I worked on a <a href="http://en.wikipedia.org/wiki/PowerBook_G4">Powerbook Titanium G4</a> for a little while.</p>
<p>12) Used a <a href="http://en.wikipedia.org/wiki/Image:Ibook12.jpg">iBook</a> to.</p>
<p>13) Had a Power <a href="http://lowendmac.com/ppc/quicksilver.html">Macintosh Quicksilver</a> when I worked for <a href="http://www.jimdunlop.com/">Dunlop</a>.</p>
<p>14) Bought a <a href="http://docs.info.apple.com/article.html?artnum=61688">2nd generation Ipod</a> ( a brick with a firewire port )</p>
<p>15) Bought a <a href="http://en.wikipedia.org/wiki/PowerBook_G4">15&#8243; Powerbook Aluminum</a>. Still use this workhorse and love it.</p>
<p>16) When I bought the last laptop I got a <a href="http://docs.info.apple.com/article.html?artnum=61688">Ipod click wheel</a> and gave it to my wife.</p>
<p>17) Bought a <a href="http://en.wikipedia.org/wiki/PowerBook_G4">17&#8243; Powerbook Aluminum</a>. Used it for a couple months then sold it because for a laptop the screen was to big for me.</p>
<p>18) I have a Power Macintosh G5 at my office now.</p>
<p>19) <a href="http://docs.info.apple.com/article.html?artnum=61688">ipod shuffle</a>, looks like a pack of gum. Love this for Mt Biking because its light and small.</p>
<p>20) <a href="http://www.apple.com/macmini/">Mac Mini</a>, I have this hooked up to my LCD TV at home and Bose theater to listen to Itunes and Pandora internet radio. Nice and small.</p>
<p>21) <a href="http://docs.info.apple.com/article.html?artnum=61688">Ipod Nano</a>, I love this Ipod and use it all the time. Its small, holds my playlists and works great. Best Ipod I ever have bought. Actually have 2 of these, one for me and one for my wife.</p>
<p>22) So I bought a <a href="http://docs.info.apple.com/article.html?artnum=6168">video Ipod</a> on Ebay because I knew a guy that swore by his, I never really used it except for a hard drive so I ended up just selling it not to long ago. How many Ipods do I really need.</p>
<p>23) <a href="http://www.apple.com/iphone/">IPhone</a>, this is the greatest phone / planner I have ever owned. I love how it snycs with my outlook address book and calendar with no hick ups. Mail is so east to use, I can have a client email me in the evening when I&#8217;m away from the office and send them a reply instantly. Its really helped to make then feel we are always looking after them. If you don&#8217;t have one go out and buy one.</p>
<p>24) Apple Monitors I have had all three listed &#8211; <a href="http://www.amazon.com/Apple-Studio-Display-21-graphite/dp/B0009LXCWS">Studio CRT Display</a></p>
<p>25) <a href="http://en.wikipedia.org/wiki/Apple_Cinema_Display">Cinema Display</a></p>
<p>26) <a href="http://en.wikipedia.org/wiki/Apple_Cinema_Display">Aluminum Cinema Display</a> &#8211; I have this one in my home office and use with my Powerbook. At the office I&#8217;m running dual <a href="http://www.barefeats.com/lcd.html">Dell 24&#8243; displays</a> and love them.</p>
<p>27) I just replaced this <a href="http://en.wikipedia.org/wiki/AirPort">Airport</a> because lightning touched not to far from my house and burned it out even with a power strip.</p>
<p>28) I like the new <a href="http://www.apple.com/airportextreme/">Airport Extreme</a> at home. The slimmer design is more appealing the to spaceship looking one they had before and I can use a backup hard drive hooked up to to and connect to it wireless. Pretty cool.</p>
<p>29) I guess I have used all the mice listed but still prefer the <a href="http://www.amazon.com/Logitech-Click-Optical-Mouse-Silver/dp/B0002H0CAE">Logitech click wheel mouse</a> better then any of them.</p>
<p>So looks like I&#8217;ve contributed to the time line a little. In our office we run both platforms for testing, design and applications but I will be a Mac geek forever.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.redolivedesign.com%2Futah-web-designers-blog%2F2007%2F10%2F05%2Flots-of-apples-do-they-call-it-a-bushel%2F&amp;linkname=Lots%20of%20Apples%2C%20do%20they%20call%20it%20a%20bushel%3F"><img src="http://www.redolivedesign.com/utah-web-designers-blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.redolivedesign.com/utah-web-designers-blog/2007/10/05/lots-of-apples-do-they-call-it-a-bushel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to get MSN Messenger on your iPhone and more&#8230;</title>
		<link>http://www.redolivedesign.com/utah-web-designers-blog/2007/09/10/how-to-get-msn-messenger-on-your-iphone/</link>
		<comments>http://www.redolivedesign.com/utah-web-designers-blog/2007/09/10/how-to-get-msn-messenger-on-your-iphone/#comments</comments>
		<pubDate>Mon, 10 Sep 2007 14:47:29 +0000</pubDate>
		<dc:creator>Matthew Moeller</dc:creator>
				<category><![CDATA[Tech Stuff]]></category>

		<guid isPermaLink="false">http://www.redolivedesign.com/utah-web-designers-blog/2007/09/10/how-to-get-msn-messenger-on-your-iphone/</guid>
		<description><![CDATA[It&#8217;s not really a shocker that Microsoft doesn&#8217;t want you using your iphone to get MSN Messenger, they want to keep some exclusivity for their mobile OS.  Unfortunately the Apple iPhone is leaps and bounds ahead of the mobile tech of the much larger Microsoft has been able to develop. I personally have owned and [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s not really a shocker that Microsoft doesn&#8217;t want you using your iphone to get MSN Messenger, they want to keep some exclusivity for their mobile OS.  Unfortunately the Apple iPhone is leaps and bounds ahead of the mobile tech of the much larger Microsoft has been able to develop. I personally have owned and used every version to date of the windows mobile OS on a myriad of the latest phones, and they all leave you asking the same thing, I paid how mouch for this?  Each phone had similar issues, the phone functionality was horrible, you were lucky if you could get the blue-tooth headset to sync in time to answer a call if you were out and about. Or better yet you try and place calls and find that you have to reboot in order to get it dial successfully.  The OS wasn&#8217;t fast enough to play a simple low bit rate video without hiccups and snags, if you had more than one app open it crawled, web browsing was worthless and displayed all funky cause webmasters didn&#8217;t care about it, and to top it off was a bugger to manipulate something as simple as email.</p>
<p>I can honestly say the iPhone fixes all those issues, but lacks some fairly obvious and unfortunately highly useful features such as <strong>Voice dialing, copy and paste, and multiple email deletion</strong>. It also limits your email to only holding 200 messages which is pretty lame for 8GB of storage.  Looking forward to the next firmware release, let&#8217;s hope they have a solution to at-least one of those issues in it. </p>
<p>We use MSN Messenger in our office for everything and were hoping that the web based version located at <a href="http://webmessenger.msn.com/">http://webmessenger.msn.com</a> would work for us on the iPhones, want to see some cool error messages try visiting that page on your iPhone.  There are a couple solutions out there but the best we&#8217;ve found is <a href="http://iphone.mundu.com/">http://iphone.mundu.com</a> , which coincidentally you can use it with the big four im tools not just MSN Messenger. We have been using it without issue for a while now and it gets the job done. Give it a shot, it&#8217;s free.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.redolivedesign.com%2Futah-web-designers-blog%2F2007%2F09%2F10%2Fhow-to-get-msn-messenger-on-your-iphone%2F&amp;linkname=How%20to%20get%20MSN%20Messenger%20on%20your%20iPhone%20and%20more%26%238230%3B"><img src="http://www.redolivedesign.com/utah-web-designers-blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.redolivedesign.com/utah-web-designers-blog/2007/09/10/how-to-get-msn-messenger-on-your-iphone/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Wordpress 2.x Spell checker Error &#8220;could not execute AJAXcall, server didn&#8217;t return valid a xml&#8221; How to fix</title>
		<link>http://www.redolivedesign.com/utah-web-designers-blog/2007/08/05/wordpress-spell-checker-errors-fix/</link>
		<comments>http://www.redolivedesign.com/utah-web-designers-blog/2007/08/05/wordpress-spell-checker-errors-fix/#comments</comments>
		<pubDate>Mon, 06 Aug 2007 05:09:57 +0000</pubDate>
		<dc:creator>Matthew Moeller</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tech Stuff]]></category>

		<guid isPermaLink="false">http://new.redolive.net/utah-web-designers-blog/index.php/2007/08/05/wordpress-spell-checker-errors-fix/</guid>
		<description><![CDATA[I was having a hell of a time getting the spellchecker in Wordpress 2.2.2 to work properly and could not find a solution online anywhere so I decided to post what worked for me.  Two hours of searching online resulted in nothing so when all else fails you are left to your own devices.  To preface [...]]]></description>
			<content:encoded><![CDATA[<p>I was having a hell of a time getting the spellchecker in Wordpress 2.2.2 to work properly and could not find a solution online anywhere so I decided to post what worked for me.  Two hours of searching online resulted in nothing so when all else fails you are left to your own devices.  To preface this post I am using IIS6 and PHP5.  Everytime you click the spell check icon you get the error <em>&#8220;could not execute AJAXcall, server didn&#8217;t return valid a xml&#8221; </em>.</p>
<p>How to fix this error on a win32 box:</p>
<ol>
<li>Crack open your php.ini file and uncomment extension = php_pspell.dll, and make sure it actually exists in your ext/ dir.</li>
<li>Download the aspell installer from aspell.net (<a href="http://aspell.net/win32" title="aspell download">win32 version</a>) and the dictionary installer (en)</li>
<li>Now the funny thing is the win32 installer files appear to have inccorrect linefeeds so when you run the spell checker after install it still blows up but with a new error like &#8220;iso8859-1 is not in the proper format&#8221;. I downloaded the source files via ftp and manually replaced them in the aspell directory.  <a href="ftp://ftp.gnu.org/gnu/aspell/w32/" title="FTP to aspell source">FTP link</a> , (version aspell-w32-0.50.3)</li>
<li>If your php path is in system32/ you need to copy the .dll files there from the aspell/bin/ dir.</li>
<li>Finally you need to actually configure your spellchecker within WordPress 2.2.x, open the file &#8220;wordpress\wp-includes\js\tinymce\plugins\spellchecker\config.php&#8221; and comment out the Google spell checker that appears not to work at all, and those who have it working have a sweet delayed response time. Next uncomment this line: &#8220;require_once(&#8220;classes/TinyPspell.class.php&#8221;); // Internal PHP version&#8221;</li>
<li>Don&#8217;t forget to turn on the spell check in the first place in config.php &#8220;$spellCheckerConfig['enabled'] = true;&#8221;</li>
<li>Restart IIS</li>
<li>Enjoy tested and it is now working in IE7 and Firefox 2.X</li>
</ol>
<p>Between the incorrect format of the aspell install files and the weak online support for this Ajax error, it was a solution found through trial and error.  Not bagging WordPress, free is free, and it is a killer app which is worth the debug time.  Hope this helps other frustrated hosting providers, not that it isn&#8217;t a good use of 3hours on a sunday.  For more <a href="http://www.redolivedesign.com/services.html" title="Utah web development">web site design and hosting</a> tips visit <a href="http://www.redolivedesign.com/services/red-olive-creative.html" title="Red Olive Creative">Red Olive Creative</a>.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.redolivedesign.com%2Futah-web-designers-blog%2F2007%2F08%2F05%2Fwordpress-spell-checker-errors-fix%2F&amp;linkname=Wordpress%202.x%20Spell%20checker%20Error%20%26%238220%3Bcould%20not%20execute%20AJAXcall%2C%20server%20didn%26%238217%3Bt%20return%20valid%20a%20xml%26%238221%3B%20How%20to%20fix"><img src="http://www.redolivedesign.com/utah-web-designers-blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.redolivedesign.com/utah-web-designers-blog/2007/08/05/wordpress-spell-checker-errors-fix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
