Tip Bank

DevX - Software Development Resource

Creating a Window With No Title Bar

Question: How do you control whether the window title bar is visible or not visible on each form when the application is running? Answer: If you set the caption to

DevX - Software Development Resource

Hiding Mouse Pointer at Run-time

Question: During run-time, for a particular reason, how do i hide/unhide mouse pointer? Answer: Here’s how to hide the Mousepointer:The Declaration:Declare Function ShowCursor Lib “User” (ByVal bShow As Integer) As

DevX - Software Development Resource

Clearing the Contents

Question: Is there an easy way to clear a combo box’s contents, other than using the Clear method? Answer: One of my users suggested that if you add a space

DevX - Software Development Resource

Exiting and Restarting Windows

Question: I am currently writing and testing an installation program which will soon be distributed. During the this process, I edit the SYSTEM.INI file. Most Windows software willallow you to

DevX - Software Development Resource

Implementing Security

Question: I am looking for a easy way to implement security in a VB4 application with multiple users (100+). I would like to be able to enable/disable controls at login

DevX - Software Development Resource

Controlling Netscape

Question: I’m trying to write an application that loads URLs into the user’s web browser, but it’s based on the shell function and fires up a second Netscape window when

DevX - Software Development Resource

Varying Length Dynamically

Question: I know VB insists on a _constant_ for the array subscript. Has anyone found a way around this? I would like to set an array length equal to the

DevX - Software Development Resource

Using DISTINCT Clause

Question: I have a Access table and I want to pull from that table one of each type and place it into a combo box using SQL. How can I

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