Computer programming tutorials

Dreamweaver CS3: Change How Text is Pasted into Design View

Contributed by shamanstears on March 6, 2008 under Web application programming

Pasting the text from another application into Dreamweaver’s design view can be rather messy. This is due to the default settings, as they keep the original structure and basic formatting of the originating application. Fortunately, the defaults can be changed to better meet your main needs and using Paste Special can be used for situations that require different settings.

Comments
 

Fix for ASP Pages That Will Not Display an ADO Recordset based on a #Temp Table

Contributed by shamanstears on January 22, 2008 under Web application programming

Here’s the problem: your asp page is designed to display the data contained in an SQL generated #temp table. When you run the page, you get an error that states that the operation is not allowed when the object is closed. If you execute the SQL command in a query window though, the data is displayed as expected.

Comments
 

Symfony: Add log message manually

Contributed by qmchenry on September 17, 2007 under Symfony

When troubleshooting a complex web application (or a simple one), there are times that sending a message to a log file will help. Two command syntaxes are required depending on if you are in an action or a template. When using the development environment of an application in Symfony, the log message will show up in the development toolbar which will make your life even easier.

Comments
 

Symfony: Troubleshooting file uploads

Contributed by qmchenry on August 6, 2007 under Symfony

The Symfony framework is an amazing project which brings many best practices to the hands of mortal coders. It’s also a dauntingly vast system with many subdirectories and classes. While trekking your way up the learning curve, you may run into hurdles which seem daunting. One possible gotcha involves adding file uploading to an existing Symfony form.

Comments
 

Visual Web Developer: Enable AutoRecover and Set Save Interval

Contributed by shamanstears on July 16, 2007 under Web application programming

Using AutoRecover can be a real lifesaver, especially if disaster strikes and you lose all of that great coding that you were working on. By default, Visual Web Developer has AutoRecover disabled. To enable AutoRecover and set the save and retention intervals, follow these steps:

Comments
 

AS3 switch/case statement syntax

Contributed by davak on May 15, 2007 under Computer programming

This howto describes the basic usage of switch/case statements in actionscript.

Comments
 

AS3: How to Convert Number to String

Contributed by davak on May 6, 2007 under Computer programming

Frequently, it is nice to convert numbers to strings in actionscript 3. For example, this will correct the error — 1067: Implicit coercion of a value of type Number to an unrelated type String.

Comments
 

A simple script that waits for a process to complete and then executes a command

Contributed by bxj on April 12, 2007 under Bourne shell scripting

It is often necessary under unix/linux to wait for certain processes to complete before running other processes. At best this can cause needless delays and wasted time, while in the worst cases someone may actually forget to run some final processing.

Comments