The Latest

DevX - Software Development Resource

Send Parameters From HTML to a Form

Question: I want a link to refer to an order form, but I don’t need to use a database. I just want to pass a few details (like city name,

DevX - Software Development Resource

Preventing Sending Output to Screen

Question: I am trying to send a text file that I have made from my report to the printer.The code is: REPORT FORM neto ASCII TO FILE pom.txtset headings offTYPE

DevX - Software Development Resource

Outlook Today Page Is Blank

Question: A user has a shortcut icon for Outlook Today when she opens Outlook 98. But when she clicks on the icon she gets a blank screen. Everything else works?inbox,

DevX - Software Development Resource

Grid-Change Current Control from Properties Window

Question: How do I change a grid’s CurrentControl property from text1 to edit1 for a memo field from the properties window? Answer: You cannot change it from the properties window.

DevX - Software Development Resource

E-mail Form Contents

Question: I need to include the information from a form in an e-mail. I found this sample code, but when I run it, I just get a blank page for

DevX - Software Development Resource

Display an Image in a Particular Position

Question: How can I position an image on the screen the way I would like? The image is bigger than the capacity of the screen and the user can use

DevX - Software Development Resource

Counting the Number of Mailboxes in a Site

Question: How I can count the number of user mailboxes I install? Answer: To count the number of mailboxes in your site, just click on the Recipients tab and look

DevX - Software Development Resource

Delay Script Run in IE5

Question: My project is a based on thin client/server architecture. Internet Explorer 3.02 is the front end using ASP; ActiveX controls and DLLs form the business objects; and Oracle is

DevX - Software Development Resource

A Simple Beginner’s Problem from a Swedish Student

Question: Facts: Employee(name,salary,boss,department) Question: Which employees earn more than their boss ? Answer: Please make sure you don’t share the results with your boss! : ) Try the following: use

DevX - Software Development Resource

The 19th Common Programming Trap in MTS

have received a lot of feedback from my first two articles about common programming traps in MTS, which were published at VB-2-The-Max in December 1999. Perhaps there are a million

DevX - Software Development Resource

Exert Control Over Serialization

Java gives you control over the serialization process through the java.io.Externalizable interface. The java.io.Externalizable interface extends the java.io.Serializable interface by adding two methods: public void writeExternal(ObjectOutput out) public void readExternal(ObjectInput

DevX - Software Development Resource

Limit Your App To One Instance

How can we make sure that only one instance of our Java application is running on a machine? Java does not provide the means of finding out if another instance

DevX - Software Development Resource

Set Browser Window As Parent Of Modal Dialog

Sometimes, it is useful for an applet to launch a modal dialog whose parent is the browser window containing the applet. This is so when we’d like to get some

DevX - Software Development Resource

Hit Counter Servlet

Sometimes, it is extremely useful to know the number of times a Web page is hit. This is especially so if a web site depends on usage statistics in order

DevX - Software Development Resource

Declaring Global Variables in Java

If you are coming from C or C++ background, you must miss declaring Global variables in Java. You can get the same functionality in Java by declaring a class and

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

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

XML in ASP vs a Java Servlet

Question: I am building a Web application using ASP and XML. My database calls are directed to a server with a Java servlet over HTTP. It works fine except when

DevX - Software Development Resource

Direct Response to Another Frame on a Page

Question: I have a page broken into two frames. Frame A has a form. I would like the response from the form directed to Frame B. Right now, my response

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

DevX - Software Development Resource

Win NT / Get UserGroups Permissions in VB

Question: I would like to get the permissions for the users of my app. I have setup groups for users with the appropriate permisions. Now all I want to do

DevX - Software Development Resource

Static Char THIS_FILE[]=__FILE__

Question: When I learned VC++, I found a bizarre statement inevery .cpp produced by AppWizard: “static char THIS_FILE[]=__FILE__;” Why does AppWizard redefine THIS_FILE?I find that THIS_FILE is just defined as__FILE__

DevX - Software Development Resource

Using Lockf with Seed Files

Question: It’s been years since my paws had to pound out a solution in C, so I’m a bit rusty and would like a second opinion.. or third… or fourth.