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

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

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

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

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

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

Calling a Form

Question: How, in a database application, to use a table for selection byusers to call a certain form. For example, I could have a field with thename of the table

Year 2000 Compliance

Question: Is Visual Basic Year 2000 compliant? Answer: All versions of Visual Basic support four digit dates. However, it is up to the programmer to support four digit dates. This

Retrieving a Drive’s Serial Number

Question: I want to get the serial number from my hard drive and my floppy disk drive. How can I do this? Answer: The GetVolumeInformation API call is used to

Crystal Reports 4.5 Can’t Find Report File

Question: When I install my application on another machine other than my own, my application cannot find the report (.RPT) file I want to use. What could be the problem?

(file)listview

Question: How can I show the tables in an Interbase database in listview or filelist? (like the database explorer) Answer: The only way to do that is as follows:1) Create

Reading Bitmap Files

Question: I need to read and analyze the *.bmp file. How I can do it without PictureBox? Answer: In order to open the file, you need to use the Open

window.open() method

Question: HI! I hope you can help me. I’m opening a window with the window.open() method, and for the life of me, I can’t get it to be the size