Tip Bank

DevX - Software Development Resource

Setting Windows Wallpaper

Question: I am trying to use the API call SystemParametersInfo to change the Windows wallpaper. It works great in a Borland C program I wrote, but doesn’t work in VB.

DevX - Software Development Resource

Replacing OpenTable

Question: We have a Large VB application (code wise) and we are movingthe data from MS access to Sybase using the ODBC driver.Now, after we presented the project’s time tale

DevX - Software Development Resource

Changing File Extension

Question: not having programmed in any of the BASIC languages, I am wondering if Visual Basic’s string variable is in anyway similar to what a string variable is in C

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

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