The Latest

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

DevX - Software Development Resource

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

DevX - Software Development Resource

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

DevX - Software Development Resource

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

DevX - Software Development Resource

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?

DevX - Software Development Resource

(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

DevX - Software Development Resource

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

DevX - Software Development Resource

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

DevX - Software Development Resource

Eliminating the Enter Key Beep

Question: I hear a “beep” when I press the ENTER key in a text box. How can I disable it? Answer: This is a common problem with the TextBox control.

DevX - Software Development Resource

Wrapper Class

Question: In VB4, how do I create a wrapper class for a textbox?I want to be able to add properties to a textbox. Answer: There are many approaches you can