Tip Bank

DevX - Software Development Resource

Databases and Large Amounts of Data

Question: I wrote a VB program that uses MS-Access (MDB) type data base using DAO . The application gathers a huge amount of information (25meg a week) and accesses the

DevX - Software Development Resource

Find Constant Name

Question: Instead of trapping an Error by its value (If err.number=429 then…) I would prefer to use a VB defined Constant Name.I can’t seem to find a way to locate

DevX - Software Development Resource

Standalone Executable

Question: How can I compile a Java application’s class files into a standaloneexecutable file without using a commercial native code compiler and atthe same time keep it platform independent? Answer:

DevX - Software Development Resource

Additem Method Syntax

Question: I am trying to use additem to make an addition during a dragdrop event into a list from a textbox. I tried the code: ListName.AddItem = TextName.TextTextName.Text = “”

DevX - Software Development Resource

Cascade/Tree Menu

Question: I have an Access database in which I would like to place a tree menu in a form. In this tree menu you would be able to make a

DevX - Software Development Resource

Setting Reminders

Question: I am developing an application in VB which requires Reminders. On the basis of dates input, if the current date goes past the date in the database it should

DevX - Software Development Resource

Multiple Applications Running On One JVM

Question: I want to know how to run more than one application under one VM. Iam developing some Java servers, but I don’t want 10 JVMs running whenonly one is

DevX - Software Development Resource

Disable New and Delete

Question: I’m a team leader, I’d like to disable new and delete, so others can’t call these functions, is there a good way to do it? Answer: You can’t really

DevX - Software Development Resource

DriveType – Determine the type of a drive

Private Declare Function GetDriveType Lib “kernel32” Alias “GetDriveTypeA” _ (ByVal lpRootPathName As String) As LongConst DRIVE_UNKNOWN = 0 ‘ type can’t be determinedConst DRIVE_NO_ROOT_DIR = 1 ‘ wrong argumentConst DRIVE_REMOVABLE