Tip Bank

DevX - Software Development Resource

Display Currency Information Correctly

Question: I am writing an online order form in ASP. How can I restrict the value of vartax to a two decimal digit (round up to two decimal points)? Most

DevX - Software Development Resource

Using Numbers in SQL Text

Question: Here is the code I am using to do a query from an Access 97 database: Query = “SELECT * FROM DiamondList WHERE (ProductNumber = ‘” & tempProduct &

DevX - Software Development Resource

Sending Plain Text Via ASP

Question: I wrote simple ASP code that reads a TXT file and sends it to the browser. I change the Response.Header to plain/text. Internet Explorer 4 displays the text file

DevX - Software Development Resource

Let Your Text Throw A Shadow

It is very easy to add a shadowy effect to drawn text in Java. All we have to do is to pick a darker color for the shadow and draw

DevX - Software Development Resource

Generate a Relative Path

Sometimes in an application you will have a “home” directory associated with the application, and then some files associated with that home directory. To have the files in an independent

DevX - Software Development Resource

Test Both Strings and DOM

Browsers Targeted: Internet Explorer 3+ It used to be a truism that manipulating strings was always much slower in DHTML than working directly with the Document Object Model (DOM), but