devxlogo

Tip Bank

Keep Indexes Separate From Data

You can boost your performance greatly by separating indexes and data onto different physical disks, which allows both the index and data to be accessed at the same time. However,

Counting the Occurrences of a Substring

VB6 has introduced the Replace function, which replaces all occurrences of a substring with another substring. Although this function is useful in itself, you can also use it in unorthodox

Menu Security

Question: I am building a security program for a high school in my area. I need a way to allow the teacher to select menus in programs she does not

Saving VB 6 Files for VB 5

Question: The computer lab where I’m taking a course has Visual Basic 6.0 now. Is there some way to save a VB 6.0 project so that it will be compatible

Maximum number of controls on a form

Question: VB limits the number of controls on a form to 255. How do you get around this without dynamically creating and displaying them or frames that contain them? Basically,

Unloading Application from Memory

Question: I have written an application that uses both DAO and OLE calls. This is a form-based application that sits on top of a CAD package. Sometimes when a user

Accessing graphics file from VB

Question: I need to store thumbnail graphics in an Access database (as an OLE object?) and be able to display the columns including the graphic in a table or grid.

Backward compatibility

Question: Is it possible to convert a VB 6 file to a VB 4 or 5 file? Answer: Sorry, I can’t tell you exactly how to do it. But I

Insert a bitmap into Word 97

Question: I’d like to get a bitmap file (c:mypic.bmp) placed on a MS Word97 file (msfile1.doc) using Powerbuilder (6.5). I am interested in printing that file afterwards. Answer: The following