The Latest

DevX - Software Development Resource

HTML Basics: Introduction to HTML

ypertext Markup Language (HTML) is the basic building block of the World Wide Web page. It uses a pre-defined set of tags to format text, create hyperlinks to other places,

DevX - Software Development Resource

HTML Advanced: Meta Tags

eta tags are not magic, not a cure-all for the search engine blues, and not a secret solution for pulling in data. Meta tags are simply place-holders for storing information

DevX - Software Development Resource

HTML Basics: Lists

se lists to display numbered steps, bulleted items, or items and their definitions. You can also use lists as a sort of short-cut “cheat” to create a quick indent. Adding

DevX - Software Development Resource

HTML Advanced: Frames

rames let you divide an HTML page into different areas, each displaying different content. If you are using a frames-compatible browser (Netscape Navigator 2.X or IE 3.X or later) you

DevX - Software Development Resource

HTML Advanced: Imagemaps

n imagemap is a graphic image with multiple different clickable areas and embedded links. For example, a map with clickable regions is an imagemap. Each region is linked to a

DevX - Software Development Resource

Using variable in SQL WHERE clause

Question: How can I use the contents of a text box as the WHERE clause in a SQL query? “SELECT * FROM Table WHERE Field = Text1.Text” doesn’t work. Answer:

DevX - Software Development Resource

Deprecated API

Question: When I compile my applets or applications, the compiler often tells me I’d use a “deprecated API” and that I should recompile with the option “-deprecate”. If I do

DevX - Software Development Resource

Generating Beep

Question: I want to alert the user of my application withan ASCII 7 bell character. When I run the application from a prompt and use System.out.println((char)7) I get the result

DevX - Software Development Resource

Binary Files

Question: I’ve read your article on text files. However I would like to know how one achieves the same functionality with binary files(i.e. How do you read in a binary

DevX - Software Development Resource

Calculating the Records

Question: Can you help me to get a calculated value from many records? A dataset(Paradox table) that I use has an Integer field which is used to put minutes value.

DevX - Software Development Resource

Setting Environment Variables in VB

Question: My 16bit application requires the presence of a DOS environment variable. On startup I check for it. If it does not exist I display an error. I would like

DevX - Software Development Resource

Counting Work Days

Question: I need to calculate the number of workingdays. Is there an easy way to do this? Answer: From what I can see, there is no built-in function to do

DevX - Software Development Resource

Which VB for me?

Question: I wish to create my own Windows program for a kart racing club that we can enter all the drivers for a race meeting, draw a grid for the

DevX - Software Development Resource

ObjectInputStream Constructor

Question: How do I use the socket.getInputStream() with theObjectInputStream? Because the arguement type of the ObjectInputStream constructor is FileInputStream. I like to do something like:remoteIn = new ObjectInputStream(socket.getInputStream()); What should

DevX - Software Development Resource

Finding Whole Words in a TextArea

Question: How do I find whole words in TextAreas? I have an application that is suppose to find particular words in a paragraph to see if you use certain words

DevX - Software Development Resource

Borland Database Engine

Question: Many companies offer Borland Database Engine replacements claiming to be smaller and faster. What does the BDE offer that these replacements don’t? Is there a good reason to keep

DevX - Software Development Resource

Percent Bars with the Windows 95 Look

Question: How do you make a percent bar with the Win 95look and feel? I know that you can make a percentbar using a picture box, but I am trying

DevX - Software Development Resource

Wait for 1 second

Question: I have a place in my Active Server Page script (VBScript) where I’d like to wait for 1 second before performing an action. What can one do to cause

DevX - Software Development Resource

java (arrays)

Question: How do you create and use a multidimensional array of type int. Answer: C programmers are used to dealing with multidimensional arrays as chunksof contiguous memory which can be

DevX - Software Development Resource

Adjusting Java applications to screen resolution

Question: We are developing a Java application which we want to distribute.We want our application main Frame/window to occupy the entire screen. But at runtime how do we adjust the

DevX - Software Development Resource

Text area & cursor control

Question: Hi, I am looking for a way of displaying a textareabox and then being able to tell what text the userhas highlighted (with mouse) and then replacing thetext? Can

DevX - Software Development Resource

HTTP Authorization

Question: I am writing an application that uses the URLConnection class to open a connection to a web site. However one of the sites I wish to access has web

DevX - Software Development Resource

non-blocking read

Question: How do I control blockingin Java. For example, in telnet Iwould like to take an actionif the user presses a certainkey. This requiresnon-blocking read; I think? Answer: It is

DevX - Software Development Resource

32-bit executable/controls

Question: I have a 16-bit win3.1 version of of a project. We recentlyreceived user requested thesoftware as win95 users.How can I distribte theprogram w/o having to developa program in 32-bit.

DevX - Software Development Resource

Populating a ComboBox

Question: I am trying to populate a comboxbox from a table (or query). If I use dataware is only receive the first record, I however want all records in the

DevX - Software Development Resource

The difference of FileLen() and Len()

Question: What are the difference between FileLen() & Len()? When checking the file size making sure it is not exceeding 32KB in the text box, should I use FileLen() or

DevX - Software Development Resource

Importing JPEG graphics during run-time.

Question: How do I import a JPEG image into an application during run-time? Answer: The Image and Picture Box controls in VB5 can display JPEG images. Use the LoadPicture function

DevX - Software Development Resource

Checking to see if a MDI Form is open

Question: I have an MDI application; when I Unload one form I want to check to see if another form is open and if it is run some code that

DevX - Software Development Resource

Cancelling Database Operations In Delphi

Question: We need to include the capability to abort queries in our Delphi apps that are running under BDE connecting to remote Oracle databases. Occasionally, some queries take a long

DevX - Software Development Resource

Creating a table using code

Question: Hi,Each time l try to create a table using code-not the database explorer, i get an error message:access violation at address 0042f540 read of address 7466654c.Whats the problem, how