The Latest

DevX - Software Development Resource

Passing Parameters by Reference

Question: I have a function in a DLL that I want to call from VB program. The Dll function has few parameters. Some of them should be passed from vb

DevX - Software Development Resource

Memory Limitations in List Box

Question: I want to add a large amount of items to a list box ,3700 to be exact, and in the future the number of items could grow even more.

DevX - Software Development Resource

Creating an Executable

Question: I would like to know how to make an EXE file that I can runit in another computer which does not have Visual Basic Installed. Answer: VB 3 and

DevX - Software Development Resource

Adding Sound to an Application

Question: I have a application I need to run off a floppy, I am trying to find a space effective way to add sound to my program. Thiswill be in

DevX - Software Development Resource

Executing SQL Statements

Question: How do I perform INSERTS, UPDATES andDELETES on existing tables? I have looked up the help andin books but nothing seems to tell me exactly how to do it.

DevX - Software Development Resource

Right Justifying Text in a Command Button

Question: I’m using VB Professional edition and I would like to combine in a command button an icon, left justified, and the caption, right justified. The default setting sets the

DevX - Software Development Resource

Using a Database vs. Random Access Files

Question: Should I use a database for storing info, rather than random access files? The info I need to store could be rather large. I also will need much more

DevX - Software Development Resource

Using Dynasets vs. Using Data Controls

Question: In writing a VB database application, is it more effecient to open up the database once in the beginning of the program, and build queries/recordsets to access the appropriate

DevX - Software Development Resource

Changing Cell Colors

Question: I have written a calendar function using the standard grid control as the calendar. The text property of each row/column is set to the correct day within the month

DevX - Software Development Resource

Determining Object Type

Question: How can I determine the type of object that I click, using only one general procedure? What I mean is that I want to have several objects of any

DevX - Software Development Resource

Creating a Bit Field

Question: How do I create a bit-mask in VB? What I wish to do is “read” a binary number where each bit represents a different state for an electrical system.

DevX - Software Development Resource

Switching Databases/DAO Levels

Question: How can I use Access 7.0 databases within my Visual Basic 4.0 Professional Application?Everytime I try to open such a database, I always get error messages. Answer: I’m guessing

DevX - Software Development Resource

Generating SQL for List of Options

Question: This is the first time I visited your site, and its the best VB site I’ve been too! My question is, I’m writing a sql statement using Variables and

DevX - Software Development Resource

Loading Bitmaps from Database Values

Question: I am in the process of building an application where I needa grid of small graphics (icons or BMPs) in an array situation.When the user clicks on one graphic

DevX - Software Development Resource

Creating a Password Box

Question: I am writing a Visual Basic application that will require the user to enter a password. I have a inputbox set up for the user to enter the password.

DevX - Software Development Resource

Changing MDIChild Property at Runtime

Question: Is it possible to change the MDICHILD property atruntime? I will give birth to your children if you have an answer. Answer: Well, I have an answer, but you’re

DevX - Software Development Resource

Loading a Large Executable

Question: We are experiencing real speed problems with this platformon Windows 95. we are using Pentium 100 machineswith 16megs of ram. The project compiles to about 3megs. The main screens

DevX - Software Development Resource

Viewing Available Properties

Question: I am new to VB programming and have noticed thatthere are a lot of properties for an item that are not listedin the property box (e.g. clear,delete item,add item,select,etc)Is

DevX - Software Development Resource

Using Access 7.0/95 with VB 3.0

Question: I am working on a system with Windows ’95 and Office for Windows ’95. This includes Access 7.0. How can I get VB 3.0 to recognize databases I have

DevX - Software Development Resource

Filling a Structure Automatically

Question: After a structure is defined witha “TYPE” declaration, do you know of a way to directly fillthe structure with data, rather than individually assigingthe elements, or reading from a

DevX - Software Development Resource

Getting CD Track Information

Question: I would like to read audio CD information directly from VB.At this point I have no idea how it is done, but as I want to writea database program,

DevX - Software Development Resource

Changing Picture Colors in File List Box

Question: How can I make the little folders yellow and the little drives gray in the File List Box? I have tried background color, this just makes the background of

DevX - Software Development Resource

Parsing Calculations Automatically

Question: A VB form displays select financial numbers from an Access DB. The user can build a calculation. If the arithmetic operation is stored as text in the DB, how

DevX - Software Development Resource

Equivalent to fork()?

Question: Is there any command in visual basic which is similar to fork command in c? Answer: It’s not exactly the same, but the Shell statement will allow you to

DevX - Software Development Resource

Benefits of Using Control Arrays

Question: Is there an advantage to using a control array instead of using x number of labels, textboxes, etc ? Answer: There are several advantages to using control arrays. First

DevX - Software Development Resource

Using JOIN Clauses

Question: I’m working with Visual Basic and Access 1.1. Currently my program uses two tables (tblrep and tblsales). The common field being tblrep.id = tblsales.id. The first form of the

DevX - Software Development Resource

Writing Data to Disk

Question: I have written a testing program that writes results to a grid.How do I write the grid to disk so that changes can be addedfrom testing session to testing

DevX - Software Development Resource

Using Multiple Groups of Option Buttons

Question: I need to place multiple option buttons on a form. I alsoneed to be able to have two buttons selected at all times.I can do this with multiple frame

DevX - Software Development Resource

Retrieving Binary Objects

Question: I am using VB together with Access. What I want to do is to include photo into my form. In Access table, I declare thisfield as an OLE field

DevX - Software Development Resource

Searching Numerical Fields

Question: What it’s the correct SQl Statement to search an access database by a numeric field? I keep getting an invalid type error when I try to run the application.