devxlogo

We are an award-winning tech entrepreneurship website where trusted experts can provide value globally.

Since 1998, DevX has helped people start businesses, build websites, and provide enterprise technology to people globally. Interviewing the likes of Microsoft’s co-founder, Steve Ballmer, the publication brings comprehensive, reliable, and accessible insights to the Internet.

devxlogo

Trusted for 26 years

Over 30K Articles

1M+ Readers

Expert-reviewed

10K+ Tech Terms

As seen in:

microsoft logo
business_insider_logo
wired_logo
berkley
arstechnica_logo
hackernoon

The Latest

Java and Unix

Question: Is it possible to use Java to execute a command on Unix and get the output from that command? Answer: Yes. The java.lang.Runtime class has various exec() methods thatcan

HTML Basics: Backgrounds and Colors

ou can make your site more visually interesting by putting color, texture, or images in the background of your page. You can also select colors for text, links, and visited

HTML Advanced: Practice

n the following pages you can try HTML code and see the results of your work. When you see a text box you can click on the “Try It” button

HTML Advanced: Tables

ables let you display your content in rows and columns, either surrounded by borders or with no borders.But tables are much more than neatly arranged items. You can use tables

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,

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

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

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

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

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:

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

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

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

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.

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

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

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

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

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

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

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

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

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

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

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

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

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

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.

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

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