devxlogo

Tip Bank

Destructors

Question: In Java, how do I achieve the same functionality which is provided byclass destructors in C++? Is there a destructor method in Java? Answer: Java does not possess the

Adding Records

Question: What is the best (fastest) method to add records to a SQL 7 database using VB and ADO? I am currently using the recordset methods and it could take

Creating Remote Views

Question: How can I make a form that accesses and modifies SQL databases the same way I do with a .dbf database? Answer: You can accomplish what you need by

Empty Numeric Field

Question: I have a numeric data field where zero is a valid value. When a number has been entered and then it is deleted, I want it to become blank

Modify the CSS Clip Property in a DIV

Question: How can I change the values of the Cascading Style Sheets (CSS) clip property after the DIV is created? Answer: For the current releases of Navigator and IE (IE

Grid Disappears

Question: I am calling one form from another. But after working in the called form, when I come back to the calling form, the grid that was there in the

Designing XML Objectively

Question: I am having problems designing my XML doc. I’d like togeneralize it using common structure names but it appears that the DTD/Schemafor it can’t fully describe it. Here is

Dynamically Create Reports

Question: Using Visual Basic 6.0, I created a reference to a HTMLDocument object. I built a basic HTML page template and displayed it within a Web browser control on a

GetDiskFreeBytes – Determine number of free bytes on disk

Private Declare Function LoadLibrary Lib “kernel32” Alias “LoadLibraryA” (ByVal _ lpLibFileName As String) As LongPrivate Declare Function GetProcAddress Lib “kernel32” (ByVal hModule As Long, _ ByVal lpProcName As String) As