Tip Bank

DevX - Software Development Resource

Binding to a Database

Question: Is it possible to bind a cell in a grid with a database field (as we can do for text boxes and some other controls)? Answer: In VB3, the

DevX - Software Development Resource

Wait Window

Question: My VB application accesses Oracle on VAX and it takes atleast15 secs to get connected to Oracle. How can I display a waitwindow/msgbox/form while it is trying to connect

DevX - Software Development Resource

Creating a Rich Text Field

Question: How do I go about creating a RICH TEXT FIELD in VB ? Answer: This problem has been fixed in VB4…they included a rich textbox control. However, I don’t

DevX - Software Development Resource

Declaring DLL Functions

Question: A colleague wants to create a DLL using Borland C++ to callfrom Visual Basic 3.0 but she keeps getting an error message”Sub or Function Not Defined”.Do you know of

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