Tip Bank

DevX - Software Development Resource

Putting a Menu on the Right Side

Question: When designing a menu, how do I get an option (for examplehelp) – to appear on the RIGHT hand side of the menu bar. Answer: To position the Help

DevX - Software Development Resource

Opening a Word Document

Question: How can I open a Word document from my Visual Basic application? Answer: Use the following code sample to do it:Set wordbasic = CreateObject(“word.basic”)wordbasic.fileopen pathname$, 0, 1where:pathname$ is the

DevX - Software Development Resource

Accessing Financial Function Library

Question: I’m looking for help on using the VB 3.0 functions IRR, MIRR and NPV. When I try to use any of them I get Reference to undefined function or

DevX - Software Development Resource

Storing Pictures in a DLL

Question: I found a vbx which allows me to place icons or bitmapson a command button. How can I store these images in onefile and read them in like an

DevX - Software Development Resource

Checking for NULL Values

Question: When you read a string from a character field in a snapshot/dynaset you can append a pair of double quotes to protect yourself from “Type mismatch” errors, if the

DevX - Software Development Resource

Finding the End of a Word

Question: I am new to VB and must learn it by yesterday! I am working with text strings and must figure out how to pull words from a line by

DevX - Software Development Resource

Data Controls and Open Connections

Question: I have five data controls on a form that access five tablesfrom the same database. I want to open the database just once.Does having five data controls mean that

DevX - Software Development Resource

Installing Database Application

Question: I am having trouble using the setup wizard for a project I have created in Visual Basic. The problem is after I setup the program on another computer, the

DevX - Software Development Resource

Global Variables Between Applications

Question: The VB4 help files state that Public Declarations in a General module are available to all forms andmodules in all applications. Is this true? I can’taccess such variables across