Tip Bank

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

Showing Currency Values

Question: I am using VB as a front-end to an Access 2.0 database. Some of the fields in my Access db are of type currency. However, VB only displays them

DevX - Software Development Resource

Creating Dynamic SQL

Question: I’m trying to develop a dynamic query handler within VB that will prompt users for parameters as set up in the parameter list in MS Access (v1.1). I wish

DevX - Software Development Resource

Dynamic Runtime Creation

Question: Is it possible to add elements to a control array of an object (ex. SSPanel) in a module that is notthe form’s module. My goal is to be able

DevX - Software Development Resource

Moving Controls on Screen

Question: I was wondering how you can move pictures and controls from one end of a screen (that part I know) and then have it go back or down? Answer:

DevX - Software Development Resource

Using the WITH Operator

Question: This code is in pascal how can i implement it in VB ? with treasuremap do move Answer: VB 3 does not support the With operator. (version 4 does,

DevX - Software Development Resource

Creating Simple Animation

Question: How do I get four simple .bmp pictures to animate?Could you maybe give me an example? What the picturesare is a green scare then it would turn into a