Have some Ajax with your cup of joe

May 26th, 2009

Let me just say, when you are writing a new web application, Ajaxify it!

Ajax takes your web app to the next level. The ability to access server side scripts and databases without having to reload the web page makes it absolutly amazing.

If you are unfamiliar or new to the concept then allow me to explain the basics. Ajax is not a new technology or programming language but rather a group of web languages that work together. While the official acronym stands for Asyncronous JavaScript and XML technology, the real explaination is the ability for client side JavaScript to access/run server side scripts like PHP and then apply the output of that server side script to the current web page without reloading the page or submiting a form.

So what are you waiting for? Here are some great places to get started:

www.w3schools.com
www.ajaxian.com

Enjoy!
Blogged on my iPhone

Online Software, Web Design

Outlook Autocomplete Name List (outlook.NK2)

May 20th, 2009

exchange2k3

 

If you just switched office computers and you’re wondering why the TO box in Outlook doesn’t autocomplete your co-workers email address like your old computer did then what you have encountered is a missing Outlook.NK2 file. The Outlook.NK2 file is a cached list of all email addresses that you have sent to for future autocomplete use.

If you still have the old computer then you can simply copy offer that nk2 file to the new machine. Here is the file path:

C:\Documents and Settings\user\Application Data\Microsoft\Outlook\Outlook.NK2

The filename may also be the name of the user account but still has the .NK2 file extension.

These files may also become corrupted (like anything microsoft). If that is the case then you can try to recover the data with a utility like NK2View.

Microsoft, Microsoft Exchange 2003, Microsoft Exchange 2007

Dynamic SELECT Dropdown via JavaScript

May 20th, 2009

ie_fail

I would just like to preface this article by saying IE sucks. Seriously… standards have been made, all browsers comply EXCEPT Microsoft Internet Explorer. Microsoft = marketing not quality.

I have just recently tried to dynamically generate an option element list for a select element via an AJAX call. This works great in FF and Chrome, but IE7 is just a giant fail. After some research and viewing several solutions, here is mine… straight forward and simple.

HTML:

<span id=”elementid”></span>

JavaScript:

document.getElementById(”elementid”).innerHTML=xmlhttp.responseText;

Server Side Script (PHP):

$result = mysql_query($sql,$dblink);
echo “<select name=’item’>”;
while($row = mysql_fetch_assoc($result)) {
     echo “<option value=’{$row['ID']}’>{$row['ItemName']}</option>”;
}
echo “</select>”;

 

I ended up generating the select elements and the option elements within the JavaScript because IE would not allow me to use innerHTML to place option elements within the select element.

IE = fail

JavaScript, Web Design

How to increase the Exchange Server 2003 database size limit

March 29th, 2009

exchange2k3


Introduction

New functionality has been included with Microsoft Exchange Server 2003 Service Pack 2 (SP2). You can now configure database size limits. 

The database size limits for Microsoft Exchange Server 2003 Standard Edition have been increased from 16 GB to 18 GB. The limit can be increased to as much as 75 GB by using a registry key.

Microsoft Exchange Server 2003 Enterprise Edition does not have a maximum database size limit. 

For more information about how to set the database size limit, see the Exchange Server 2003 Help topic. The Help topic was updated during the installation of Exchange Server 2003 SP2.

Details

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:

322756  How to back up and restore the registry in Windows

To increase the Exchange Server 2003 SP2 database size, follow these steps.

Important Before you increase the maximum size of an Exchange database, verify that sufficient hard disk space is available for the larger database.

  1. On the computer that is running Exchange 2003 SP2, click Start, click Run, type regedit, and then click OK.
  2. Click one of the following registry subkeys, as appropriate for the store that you want to increase:
    • For a mailbox store, click the following registry subkey:
      HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MSExchangeIS\Server name\Private-Mailbox Store GUID
    • For a public folder store, click the following registry subkey:
      HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MSExchangeIS\Server name\Public-Public Store GUID
  3. On the Edit menu, point to New, and then click DWORD Value.
  4. In the New Value #1 box, type Database Size Limit in Gb, and then press ENTER.
  5. Right-click Database Size Limit in Gb, and then click Modify.
  6. Click Decimal, and then type an integer from 1 to 75 in the Value data box.

    Note These integer values represent the maximum size of the database in gigabytes (GB). For example, a value of 75 represents a database that has a maximum size of 75 GB.

  7. Click OK, and then exit Registry Editor.
  8. Restart the Microsoft Exchange Information Store service. To do this, follow these steps:
    1. Click Start, click Run, type cmd, and then click OK.
    2. At the command prompt, type the following command, and then press ENTER:
      net stop msexchangeis
    3. After the Microsoft Exchange Information Store service has stopped successfully, type the following command, and then press ENTER:
      net start msexchangeis
  9. Examine the Application log to verify that the database size has been set successfully. To do this, follow these steps:
    1. Click Start, click Run, type eventvwr, and then click OK.
    2. In the Event Viewer tool, click Application.
    3. Double-click event ID 1216 to verify that the database size has been set successfully.

For more information about how to configure the new database size limit when you use Exchange Server 2003 SP2, visit the following Microsoft Web site:

For more information about how to temporarily increase the database size in Exchange Server 2003 Service Pack 1 or an earlier version of Exchange Server 2003, click the following article number to view the article in the Microsoft Knowledge Base:

828070  Exchange Server Mailbox Store does not mount when the Mailbox Store database reaches the 16-GB limit

For more information about how to temporarily increase the database size in Exchange 2000 Server, click the following article number to view the article in the Microsoft Knowledge Base:

813051  How to temporarily increase the Exchange 2000 16-gigabyte database size limit

Microsoft Exchange 2003

ComputerTan.com

March 29th, 2009

Is it Windows 7 or Linux KDE 4?

February 6th, 2009

Is it Windows 7 or KDE 4? In this video, we take to Sydney’s streets to find out what people think of what they think is a Windows 7 demonstration.



Microsoft

Apple Introduces Revolutionary New Laptop With No Keyboard

January 21st, 2009

Online Project Management

January 17th, 2009

Online Project Management

Online project management with a twist. I know we have started to see project management web sites pop up here and there since the success of Basecamp but this one brings a different angle to managing projects online. Basecamp and other copy-cats out there design there site to involve a single group that subscribes to the service, all working together on there projects as a group….well what happens if two members have a side project that they want to work on outside of the said group?…problems. With Critical7 the project environment is centralized around the project itself, allowing for subscribers to Critical7 to work on multiple projects with multiple groups. A truly effective approach to the way people are involved with any project from a college class project to a corporate software development release. The best part is you can sign up for a free account and try the service out.

Online Software, Web Design

How to Repair an .ost or .pst file in Outlook

December 21st, 2008

outlook-icon_thumb4

If you are keeping Outlook data on your computer, you are using a Personal Folders file (.pst) or an Offline Folder file (.ost). To prevent data loss, you need to know how to repair these files.

If your .pst file becomes damaged, Outlook includes a tool that may be able to correct the problem without your switching to a backup copy. This tool, the Inbox Repair Tool, is installed on your hard disk when you install Outlook.

If your .ost file becomes damaged, Outlook includes a tool that may be able to correct the problem. This tool, the OST Integrity Tool, can scan and repair .ost files. If that doesn’t completely solve the problem, you can disable the .ost file and create a new one.

Repairing a Personal Folders file (.pst)

You may need to use the Inbox Repair Tool if you open your Outlook .pst file and receive this message:

Unable to expand the folder. The set of folders could not be opened. Errors could have been detected in the file drive:\Documents and Settings\user\Local Settings\Application Data\Microsoft\Outlook\Outlook.pst. Quit all mail-enabled applications, and then use the Inbox Repair Tool.

Note  The path to the file specified in the message may vary depending upon the operating system you are using on your computer.

 

HideTo repair the .pst file

  1. On the Start menu, click Run.
  2. In the Open box, typedrive:\Program Files\Common Files\System\Mapi\LocaleID\scanpst.exewhere LocaleID is the locale identifier (LCID) for your installation of Microsoft Office. For example, the LCID for English (United States) is 1033. For a list of LCIDs, see Microsoft Office Help.
  3. Click OK.
  4. In the Enter the name of the file you want to scan box, type the path and file name given in the error message above.Note  You may not be able to use the Browse button to locate this file because it is located in a hidden folder.
  5. To change the options for logging errors during the scan, click Options. If you choose Replace log or Append to log, the log file is saved to the same directory as the .pst file.
  6. Click Start.
  7. When the file scan is completed, select the Make a backup of scanned file before repairing check box.
  8. Click Repair.

 

If the file is successfully repaired, you will see a Repair complete message. If the Inbox Repair Tool was unable to repair the file, you will need to use a backup of your file.

 

HideTo begin using your backup file as your new primary file

  1. Start Outlook.
  2. On the File menu, click Data File Management.
  3. Select the .pst that is damaged, and then click Remove.
  4. Click Add, select Personal Folders File (.pst), click OK, and then select the .pst file you want to use as the new primary file.
  5. Click OK.

Important   You should not rely solely on the Inbox Repair Tool for disaster recovery. A system of regular backups of your .pst file is an important part of preventing data loss. You can back up the file in several ways, including copying it to another location, backing up all of the files on your computer, or by using the Personal Folders Backup utility, available on the Microsoft Office Online site.

 

Repairing an Offline Folder file (.ost)

You may want to scan and repair your .ost if you:

  • Encounter a large numbers of conflict items.
  • Cannot open particular Outlook items when offline.
  • Receive unexpected synchronization error messages (as shown in the synchronization log in the Deleted Items folder).
  • Receive the message:Unable to expand the folder. The set of folders could not be opened. Errors could have been detected in the file drive:\Documents and Settings\user\Local Settings\Application Data\Microsoft\Outlook\Outlook.ost. Quit all mail-enabled applications, and then use the Inbox Repair Tool.Note  The file path specified in the message may vary depending upon the operating system you are using on your computer.

In addition, you might be able to open folders in the .ost but get synchronization error messages that do not go away. This happens when a single e-mail message is damaged and the synchronization process cannot correct it. You can use the OST Integrity Tool to fix damaged messages or to move them so you can synchronize successfully.

Important  You may need to run scanpst.exe (see the first procedure above) first if the OST Integrity Tool cannot open the .ost file.

 

HideTo scan and repair the .ost file

  1. Close Outlook.
  2. On the Start menu, click Run.
  3. In the Open box, typedrive:\Program Files\Common Files\System\Mapi\LocaleID\scanost.exewhere LocaleID is the locale identifier (LCID) for your installation of Microsoft Office. For example, the LCID for English (United States) is 1033. For a list of LCIDs, see Microsoft Office Help.
  4. Click OK.
  5. Click either Scan all folders or Choose folder to scan. If you click Scan all folders, this may take several minutes.
  6. Select the Repair errors check box.
  7. Click Begin Scan.

 

Details of actions performed during the scan and repair are saved as a message in your Outlook Deleted Items folder with the subject “OST Integrity Check.”

If the Offline Folder file cannot be repaired, you can disable it and create a new one.

HideTo disable the .ost file and create a new one

  1. On the Tools menu, click E-mail Accounts, click View or change existing e-mail accounts, and then click Next.
  2. In the list, click Microsoft Exchange Server, and then click Change.
  3. Click More Settings.
  4. Click the Advanced tab, and then click Offline Folder File Settings.
  5. Click Disable Offline Use.
  6. In the File box, type the path to the file you want to use as the new .ost file. The default file name is outlook.ost. If this file name already exists, you are prompted for a new name.

Microsoft Outlook KB

Microsoft Exchange 2007

New Colors for a New Project 2.0

December 15th, 2008

color theme

Every new project needs a great new look and what else can you do but just follow the trends. Here are a few sites I found that really helped with finding that just right color palette.

  • Adobes very own Kuler, an online free resource for picking themes. Great for building ideas.
  • Color palette generator for those who want to match their website colors to a pictures.
  • And finally for those who just have no idea what to look for, check out Daily Color Scheme. Probably the best.

Web 2.0….the ladies love it.

Web Design