Utah Web Site Designers


Feb 12 2008

Red Olive was appointed by The MiniBrochure.com to design their fresh new Logo.

Tag: Branding and Identity, Red Olive Creative, Utah Web DesignJustin Wilde @ 12:40 pm

MiniBrochure.com

The MiniBrochure.com turned to Red Olive, a utah branding firm located in South Jordan, to craft them a fresh new logo in preparation of the launching of their new website which will be done by Red Olive as well.

The MiniBrochure.com is a company that specializes in 1 item, the mini brochure/the mini menu which is a pocket size, 8-sided marketing piece that is perfect for any industry. Real Estate agents and Restaurant owners, to name a few, have really adopted this professional marketing piece and have considered it a necessity for their success. The MiniBrochure is a low cost marketing material that is highly effective.


Jan 23 2008

Fun with WSH - How to write a vbs file to check a directory, count the files, and restart a service. Then email your cell.

Tag: Tech StuffMatthew Moeller @ 12:50 pm

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 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’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.

This has a bunch of unnecessary code in it for debugging, feel free to clean it up.
1. Set your SMTP  address for the email function
2. Set nMax - the threshold before we run an event
3. Uncomment out the echos if you want to see it run manually
4. Setup task scheduler to run the .vbs file at some interval
5. This is tested and runs spiffy on win2003 server but should run on anything win

Option Explicit
Dim objWMIService, objItem, objService
Dim colListOfServices, strComputer, strService, intSleep
Dim n, SYSDATA, SYSEXPLANATION, nMax, strPath, bIncludeDirsInCount, objMessage
'On Error Resume Next 'optional '--------------------------------------------------------------
'COUNT FILES in specified DIR
'--------------------------------------------------------------
'setup variables
strPath = "\\localhost\d$\exchange\mail\_incoming" '_incoming dir path?
bIncludeDirsInCount = false 'count dir as a file?
nMax = 100 'how many files needed before we decide to restart?
SYSDATA = ""
SYSEXPLANATION = "Unable to count files"
n = cntFiles( strPath, bIncludeDirsInCount )
If( n < 0 ) Then
WScript.Quit
End If

SYSDATA = n
SYSEXPLANATION = "Number of files=[" & n & "], maximum allowed=[" & nMax & "]”
‘wscript.echo SYSEXPLANATION

If( n > nMax ) Then

‘SEND EMAIL ON REMOTE SERVER AND RESTART SERVICE
‘———————————————————-
‘SEND ALERT EMAIL TO ADMIN THAT THERE HAS BEEN A RESTART
‘———————————————————-

Set objMessage = CreateObject(”CDO.Message”)
objMessage.Subject = “ServiceX Was restarted on ” & NOW()
objMessage.From = “screwed@server.com”
objMessage.To = “you@domain.com”
objMessage.Cc = “mynumber@mobile.mycingular.net”
‘objMessage.Bcc = “myphone@mobile.mycingular.net”
objMessage.TextBody = “My Service HAD TO BE RESTARTED. Summary: ” & SYSEXPLANATION

objMessage.Configuration.Fields.Item _
(”http://schemas.microsoft.com/cdo/configuration/sendusing”) = 2
objMessage.Configuration.Fields.Item _
(”http://schemas.microsoft.com/cdo/configuration/smtpserver”) = “mail.myserver.com
objMessage.Configuration.Fields.Item _
(”http://schemas.microsoft.com/cdo/configuration/smtpserverport”) = 25

objMessage.Configuration.Fields.Update

objMessage.Send

‘WScript.Echo “Admin alert email sent”

‘———————————————————-
‘RESTART SERVICE CODE
‘———————————————————-
‘RESTART SERVICE CODE
Dim objShell, intShortSleep, intLongSleep

Set objShell = CreateObject(”WScript.Shell”)
‘Notes must have double quotes if it has spaces in the service name, also leave the single empty space before the service

‘get the service name from the ctrl alt del not the service name in services snapin

strService = ” “”SERVICE TITLE”"”
intShortSleep = 1500
intLongSleep = 5500

‘ Cmd prompt opened
objShell.Run “cmd”
Wscript.Sleep intShortSleep

‘ Service stopped with ‘Net’ command
objShell.SendKeys “NET STOP” & strService
Wscript.Sleep intShortSleep
objShell.SendKeys “{Enter}”
Wscript.Sleep intLongSleep

‘ Service started with ‘Net’ command
objShell.SendKeys “NET START” & strService
Wscript.Sleep intShortSleep
objShell.SendKeys “{Enter}”
Wscript.Sleep intLongSleep

‘ Cmd prompt exited
objShell.SendKeys “Exit”
Wscript.Sleep intShortSleep
objShell.SendKeys “{Enter}”

‘Wscript.Echo strService & ” service stopped and restarted”
WScript.Quit

Else
‘wscript.echo “Good to go no restart needed”
End If

Function cntFiles( strFolder, bIncludeDirInCount )
Dim objFolder, objSubFolders, objFso, o, n

On Error Resume Next

cntFiles = -1

Set objFso = Createobject( “Scripting.FileSystemObject” )
Set objFolder = objFso.GetFolder(strFolder)
If( Err.Number <> 0 ) Then
Exit Function
End If
n = objFolder.files.count
Set objSubFolders = objFolder.SubFolders
For Each o In objSubFolders
n = n + cntFiles( o, bIncludeDirInCount )
‘If( bIncludeDirInCount ) Then
‘n = n + 1
‘End If
Next

Set objSubFolders = Nothing
Set objFolder = Nothing

cntFiles = n
End Function


Jan 08 2008

Thank you.

Tag: Office LifeMatthew Moeller @ 11:50 pm

2007 has been an amazing year here at the olive. What a difference a year makes, besides having our best year on record we were lucky enough to pick up some some amazing new people that fit like a glove. We owe much to our clients and friends, and just want you to know we appreciate the opportunities and relationships afforded us. Can’t say it enough but, Thank you.

thank you


Dec 12 2007

Paradigm Solutions Group jumps on board with Red Olive for the creation of their new Logo, Brochure, and Web Site

Paradigm Solutions Group is a Technical recruiting firm located in the Salt Lake City, Utah area. They came to Red Olive, a full-service creative design firm located in South Jordan, with the idea of performing a complete overhaul of their identity. Red Olive started the overhaul with the logo which will act as the foundation of branding and identity efforts.

After the foundation had been created, Red Olive continued securing the brand by putting together custom designed business cards, christmas cards, and letterhead. To top it off, they added the icing to the cake, the Web site and brochures.


Nov 28 2007

Red Olive develops new infomercial ecommerce site for Hearth Kitchen, sell sell sell!

Tag: Advertising, Utah Search Engine Optimization, Utah Web DesignJustin Wilde @ 11:52 am

web_012.jpg

Hearth Kitchen hired Red Olive, a utah web design firm, to tackle a number of projects (i.e., Web design and Development, Search Engine Optimization, Ecommerce, etc.) alongside the launch of their new informercial.

Hearth Kitchen’s revolutionary new product, the HearthKit is designed to faithfully convert home ovens into Brick ovens, allowing the home cook to experience the exceptional benefits of hearth oven baking and cooking.

The HearthKit is manufactured from a blend of cordierite, a specialized blend of earthen materials, bonded to create a ceramic material. The key to a hearth oven is its unique ability to cook foods from the inside out, not just the outside in! Typically, roasted products may be baked at higher temperatures, allowing the food to sear on the outside and maintain juiciness inside. The incredible benefits to hearth-baked products are well documented and unchallenged.


Nov 17 2007

How to run a php or asp file on a schedule with windows XMLHTTP object and scheduled tasks

Tag: Tech StuffMatthew Moeller @ 12:36 am

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 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’re in trouble.

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’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.

STEP 1: CREATE YOUR VBS SCRIPT
Open notepad and paste this code then change the file extension to .vbs

Call RunProcess()
Sub RunProcess()
  'if an error occurs keep on truckin | write an error handler if you like
  On Error Resume Next
  Dim URL, objRequest
  Set objRequest = CreateObject("Microsoft.XMLHTTP")
  'url to page needing a scheduled run
  URL = "http://www.yourdomain.com/filename.php
  objRequest.open “POST”, URL , false
  objRequest.Send
  Set objRequest = Nothing ‘clean up memory and thanks for playing
End Sub

Step 2:  SETUP YOUR SCHEDULED TASK
Open Windows scheduler and add a task, browse to your newly created vbs file and set your schedule up. 

Step 3: TEST IT
right click on the task and say run if the result is 0×0 you’re golden otherwise backup and start over.

 (requirements: windows OS, any web server, any web page, direct access to scheduled tasks)

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.

Don’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’t trust mission critical tasks to other vendors, but I am sure they work fine.


Nov 16 2007

Red Olive was hired by ProGenealogists to design their new logo and website

logo_01.jpgProGenealogists is a company that conducts family history and genealogy research at the Family History Library in Salt Lake City and in archives across the world. ProGenealogists are specialists in genealogical research who work with other well-skilled genealogists located at several major archives and libraries.

ProGenealogists hired Red Olive, a utah web design firm, to develop a branding and identity campaign for their new corporate image. ProGenealogists also hired Red Olive to re-design their website to establish a more expert and credible online presence .


Nov 16 2007

Sentry Financial Corporation hires Red Olive to give their website a design make over

Tag: Red Olive Creative, Red Olive News, Utah Web DesignJustin Wilde @ 5:18 pm

web_01.jpgSentry Financial Corporation, a utah financing firm, specializes in providing equipment financing to Fortune 2000, middle market and smaller established companies. Sentry is looking to take their online image to the next level by giving their website a comprehensive make over as well adding some additional functionality. Sentry hired Red Olive, a utah web design firm located in South Jordan, Utah, to design and develop their new look and feel. We expect the new site to be completed in January 2008.

Update: The Sentry website was publicly launched Feb 7 2008. The site has been outfitted with a custom content manager that allows for three tiers of navigation both in the horizontal and vertical navigation systems independently. Other features of note is a custom google search, dynamic page/topic forward and back buttons, and flash process diagram to educate clients.


Nov 08 2007

Yeah it’s pretty much the coolest video ever! Broken Rose - thorn in my side

Tag: Office LifeMatthew Moeller @ 11:07 am

Justin Wilde, our marketing wiz kid made the mistake of bringing in a music video of his old band Broken Rose. We felt it was too good to keep a secret and decided to up it to youtube and share it with the world. Turn your volume to the max and behold the music styling’s and amazing choreography of Broken Rose!

p.s. Justin is the Drummer and “Red sweats cool guy #2″ in the diner scene - LOL!


Nov 08 2007

Red Olive welcomes the newest member of the team, Merrick Christensen…

Tag: Office Life, Red Olive NewsMatthew Moeller @ 10:38 am

A couple weeks ago we met with a young man by the name of Merrick Christensen. And just so you know we are pretty guarded about prospective additions around here, blame it on fruitless interviews in the past, but there was something about him. When you have that “there’s something about you” factor we know what we have to do, hire you. To our, I hate to say surprise, we discovered a genuine guy with a true desire to learn, teach, and contribute to a team environment. Like the rest of us he is self motivated and has a multitude of skills. To say the least he has set a precedent for himself and we expect great things out of him.

Thanks for being so darned determined Merrick, we are proud to have you on our team. :-)


« Previous PageNext Page »