devxlogo

Tip Bank

Using Function Pointers/Dynamic Functions

Question: In Access 2.0 there is an Eval() function which will automatically evaluate numeric expressions. This functionality does not appear to exist in VB 4. I found an article in

Action was Cancelled Error

Question: I am developing a small database using the engine supplied with VB 4.0 Pro. When I try to update an entry, I get the following run-time error: “Run-Time Error

Creating a Generic Handler

Question: I am trying to write a generic error handler and would like some way of determining which proceedure or function the error has occured so that the generic error

Finding Variable Values

Question: Data1.Recordset.FindFirst “LastName = ‘Quayle’”Ok that works fine. Why can’t I:Data1.Recordset.FindFirst “LastName = VarLN”where VarLN is a variable which the user has just provided? I get error 3070, “Can’t bind

Setting Cursor to End

Question: Is there a way to put the cursor at the end of the text in a text box? I use .SetFocus to put the cursor in a multi-line text

Putting Buttons on PictureBox

Question: My question is that I’m trying to put a command buttons in a picture box on MDI form (it’s a text editor). But it always keeps on givin’ me

Creating a Status Bar

Question: How do I put a status bar at the bottom of an MDI parent form like in Word for Windows.Whenever I place a 3d panel on the form it

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

Expanding Functionality

Question: Our firm would like to integrate our Configuration Management tool into VB. I understand some vendors outside of Microsoft have suceeded in adding links to their product via a