devxlogo

Tip Bank

Comparing Date-typed Variables

Question: How do I compare dates in VB? Also, how do I store dates into Access? I can’tget them into the right format. Answer: For comparison of dates, look up

Parsing Input File

Question: I am developing a VB3 app. I want to update an ACCESS 2.0 table weekly, in code, with a text file that is down-loaded from a VM mainframe. I

Errors Using Microsoft Word 6.0

Question: When I edit my .RTF file in Microsoft Word 6.0, the help compiler gives me an error saying “This application has violated system integrity due to an invalid fault

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

Illegal SetFocus Call

Question: Sometimes when I call Text1.SetFocusit returns me an “Illegal function call” error. Any idea why? Answer: Normally, if the Form is not visible, you can’t call SetFocus to it.

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

Adding Scrollbars

Question: How do I add scrollbars to a picture box control?i.e I want to be able to scroll through a picture box which containsmore than one screen of graphic and

Implementing a Toolbar

Question: I am using VB 3.0 professional edition. I would like toimplement cut/copy/paste on a toolbar. My form has multipletext boxes. If the user wants to paste to a field,

Selecting File from File List Box

Question: I put a drive box, a directory list box, and a file list box on the form, with the intention of being able to select an *.ico file from