jump to navigation

Photoshop Transparencies with Embedded Clipping Paths March 30 2005

I was just introduced to clipping paths in Photoshop. It seems that JPEGs and possibly other forms of non-photoshop files can have embedded clipping paths. These paths allow you to remove the backgrounds from images and create a transparent background. This will only work if the image has a defined clipping path!

How do you know if your image has an embedded clipping path? Open then JPEG file in Photoshop and turn on “Paths.” If the image has an embedded clipping path then a path will show up.

Here are the steps to …

Processing HTML Files with the ASP Engine on IIS March 23 2005

In order for your normal HTML files to allow ASP scripting, there is a little trick that allows you to process them with the ASP engine. This is especially useful for when you need to redirect static HTML pages with a proper 301 code which search engines basically demand.

1. Open IIS console
2. Properties (of the website in question)
3. Home directory tab
4. Configuration… button
5. Find the listing for .ASP files and copy down the field values (usually windows\system32\inetsrv\asp.dll)
6. Create a new listing for .HTML files and enter in the same values as the .ASP entry
7. Apply!

Now all your HTML files …

HTML Font Sheet March 18 2005

After much font searching I decided to create a font sheet that shows all the common fonts and some sizes in one handy printable sheet.

So here is the Eitzenlabs font sheet

Notes on VB.NET MySQL Interface March 10 2005

Here are my notes on interfacing VB.NET with MySQL databases.

=== .NET MySQL Interface

Installed MySQL Connector Net 1.04 (http://dev.mysql.com/get/Downloads/Connector-Net/mysql-connector-net-1.0.4.zip/from/pick)

Added Reference in .NET project to c:program filesMySQLMySQLConnectorNet …bin.NET 1.1[LIBRARY].dll

DB Connection String :: DB_CONNECTION_STRING = “Database=” & DB_DATABASE & “;Data Source=” & DB_HOST & “;User Id=” & DB_UID & “;Password=” & DB_PWD

Sample Program Template
Imports MySql.Data.MySqlClient

_mysqlConnection = new MySQLConnection(DB_CONNECTION_STRING)
Dim dtrResults As MySqlDataReader
cmdSelect = New MySqlCommand( SQL COMMAND , _mysqlConnection )
_mysqlConnection.open
_mysqlConnection.Open()
dtrResults = cmdSelect.ExecuteReader()
While dtrResults.Read()
intResults = intResults + 1
strResult = strResult & …