Tip Bank

DevX - Software Development Resource

Loading a Large Executable

Question: We are experiencing real speed problems with this platformon Windows 95. we are using Pentium 100 machineswith 16megs of ram. The project compiles to about 3megs. The main screens

DevX - Software Development Resource

Searching for Text

Question: Can you help to create code for searching a word in a text box Answer: Let’s say that Text1 is your search criteria (word) and Text2 is the text

DevX - Software Development Resource

Creating File Dialogs

Question: I am a beginer in Visual Basic 3.0. I am trying to make a “Text Editor” program.Can you tell mehow to make “save” and “open” menus (using dialog box)I

DevX - Software Development Resource

Getting Network Login ID

Question: How can I query the login name of a Novell user from VB? Answer: Try this:un$ = space(255)unsize% = len(un$)a = WNetGetUser(un, unsize)MsgBox trim(un)The WNetGetUser API declaration is: Declare

DevX - Software Development Resource

Using Counters

Question: I am designing a database as a correspondance register.Each bit of inwards and outwards mail is given a unique number. At present I have set up a counter field

DevX - Software Development Resource

Disappearing Controls

Question: At apparently random times, some controls disappear frommy form. Not all of the controls disappear. Minimizingand then restoring the form, as well as clicking onthe ‘invisible’ controls, brings them

DevX - Software Development Resource

Searching on Numerical Fields

Question: When using the FindFirst method I seem to be able to locate only records which are defined as strings using a variable in the search pattern. When I am

DevX - Software Development Resource

Updating Bound Controls

Question: In my program from a combo list one can select an item (that happens to be a table in an MDB file)so that the DATA1.recordsource matches the item selected

DevX - Software Development Resource

Removing Filename Reference

Question: I have a form containing a Picture Box control.This control currently contains a bitmap i.e. the pictureproperty contains a filename. How do I change the picture property back to