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

Adding a new record in a VB 4.0 database

Question: When I use my add record button on my form I get blank fields, like I should. However, after I add the new info and move to a different

Calculating time intervals

Question: How does one calculate time differences. I know there’s a function to calculate date differences.I am coding a database program which includes calculating the difference between a start time

Scanning Multiple Levels of a Directory

Question: I have been trying to right a routine to recurs sub directories and scan for files. Then the light came on!!! What is the call to the windows API

Passing variables from forms to forms

Question: Would you please tell me how to pass variables from forms to forms? Is that we can use the Tabs in general or use pass by reference? Thanks! Answer:

Apparent Performance Problems

Question: Could you tell me why this takes a 150MHz Pentium with 64MB of RAM just to run fast enough to catch MCI time output? Private Sub Rply_Timer_Run()Dim ReplayTime As

POP3 E-mail notifier using Winsock

Question: What parameters I need to query a finger server to check if new POP3 e-mail has arrived ?Finger is commonly used for getting connected users information (sending a blank

Sensitive maps

Question: I would like to change SRC picture of thesensitive map, onClick on some area of same picture.With JavaScript it works that if instead ofHREF =”some.URL” on imagespot you just

Javascript Output

Question: How do you write javascript output to a file on the server and then retrieve it later? Answer: Unfortunately, like VBScript, JavaScript cannot write to files on yourserver or

SqlWindows: OLE Automation Server or Client

Question: Is SqlWindows an OLE Automation Server or is it only an OLE client? Answer: SQLWindows (and Centura Team Developer), in its current incarnation, is an OLE automation CLIENT. That

Grouping Multiple Commits

Question: I’ve heard about a configuration keyword for SQLBase that groups multiple COMMITs together. Does this keyword exist, and under whatconditions would it be useful? Answer: Yes. The keyword “groupcommit”

Result Sets Are Not Active Error

Question: My SQLWindows app, which has been deployed for several months now, has started giving error 163 (“Result sets are not active”) messages. Is this caused by a bug somewhere

Inheritance

Question: Is it possible for a class to inherit from another class? Answer: Unfortunately, VB does not currently support class inheritance. However, using a tool like ClassAction from Crescent or

VBScript Date and Time Functions

Question: I have a question and answer intranet site that I need to have the system input the current date and time for each question generated. This data needs to

Interfacing with Excel

Question: From VB4.0 32 bit, I would like to be able to open excel 7.0, start a new spreadsheet, give it a name, put info in the spreadsheet, save the

OLE installation files for VB

Question: I have VB 4.0 and VFP 5.0 along with OFFICE 95 installed on a desktop win95 pentium and my 486 win95 notebook. I create a simple VB form on

Informix NULLs and Empty Strings

Question: I am having trouble with my SQLWindows code translating Informix nulls and empty strings ( ” ) as the same value ( ” ).When I select a null value

Duplicate Win 95 Sorting

Question: In Windows 95, all data represented in a tabular or table format can be sorted by clicking on the column heading. If you click once, it is in ascending

16 and 32 Bit Server Access

Question: I run 16- and 32-bit applications on my Windows 95 laptop and they both need to access the same databases. Is there any way to allow the 16- and

ATM: Connection-Oriented Switching

Question: What does it mean that ATM switching is connection-oriented, and what are the benefits of this? Answer: ATM, or Asynchronous Transfer Mode, through its connection-oriented protocol, offers a level

Sending Form Data via E-Mail

Question: How can I send the data from a form via e-mail to some destination address? Answer: I won’t explain how to create a form; however, you can use the

Changing List Box Font

Question: How an I display columnar data in a native HTML list box a la tag ?The Tab character seems to be ignored, and I can’t seem to get a

Control Arrays

Question: Is there a way to handle multiple HTML Checkboxes as an array similar to the Item property of Radio buttons? Answer: Unfortunately, you cannot create control arrays as you

Passing Parameters Between Pages

Question: I’m trying to pass parameters between two html pages, both resident as files on my client. I’ve tried passing them as “search” and “hash” parameters in the URL …

Disabling Controls on Screen

Question: I’m really new at VBScript, but I have a newbie book that is helping me along. However, I have one question that doesn’t seem to be addressed. Is it

Where Class IDs Come From

Question: I’ve just spent a useless morning surfing trying to find out where the CLASSID parameter of a VBSCRIPT OBJECT tag comes from. The most useful documentation said it comes

Accessing the Communications Port

Question: How can VBScript make use of the Comm Port? Answer: VBScript cannot directly access the communications port. However, you may be able to add a communications control to your

Popup Menus with Graphics

Question: Is it possible to add any type of picture to a popup window or menu screen? Answer: The standard menu control does not support adding pictures. However, you might

Passing Controls to Subroutines/Functions

Question: I am trying to pass a control as an object to a global sub to change the controls properties.How do you Set the parameter object as the controlwhen passing

Using Hidden Fields to Pass Data

Question: In HTML, I am using the FORM Tags to capture input and SUBMIT to a CGI Program. The server program captures all INPUT Tags and their VALUE. I want

Drawing with Direct3D, Part 1: Getting Started

irect3D is Microsoft’s high-performance, three-dimensional graphics library. Using Direct3D, you can build amazing scenes containing hundreds or even thousands of three-dimensional shapes, three-dimensional charts and

Converting an Integer to a C++ String

Boost libraries provide a better way to convert numbers into strings or vice versa. You must install the Boost libraries on your computer to make

Implement mouseDragged and mouseMove Events

This tip shows you how to implement mouseDragged and mouseMove events for moving components into a frame: import java.awt.*;import java.awt.event.*;class f extends Frame implements MouseMotionListener,MouseListener{Checkbox

Catching the (Silver) Light

‘d guess that everyone reading this magazine has heard of Silverlight. I’ll also guess that not everyone has jumped at the opportunity to “play” with

Re-Igniting Creativity

just got back from San Diego Comic-Con 2007 in San Diego, California. I love Comic Con for a number of reasons. First, I can go