Tip Bank

DevX - Software Development Resource

Ensuring Single Instance

Question: I have a requirement to only allow a copy of an application to be executed once.If someone tries to execute the app a second time, I want to give

DevX - Software Development Resource

Opening Access 2.0 DBs

Question: I am trying to connect my MS ACCESS 2.0 Database to the WWW viaa VB-CGI-Script. I figured out, how to transfer data from a HTML-Form to my VB-programm but

DevX - Software Development Resource

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

DevX - Software Development Resource

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

DevX - Software Development Resource

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

DevX - Software Development Resource

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

DevX - Software Development Resource

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.

DevX - Software Development Resource

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

DevX - Software Development Resource

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