Tip Bank

DevX - Software Development Resource

App Not Running on Other Machines

Question: After compiling my VB app, and installing it on my machine, it will run. But, when I install it on my professor’s machine at school, it doesn’t work at

DevX - Software Development Resource

Retrieving Info From Listbox

Question: I have a listbox with some names loaded from a recordset, I have also associated the memberID with its associated name as in the following: lstMember.ItemData(lstMember.NewIndex)= rsMembers![MemberId]. I want

DevX - Software Development Resource

Replace Function

Question: I just started with VB6 programming and I need to write a short program doing the following: 1. Enter a sentence.2. From this sentence which was entered, pick any

DevX - Software Development Resource

Passing Command-Line Parameters

Question: I need to know how to pass a parameter from HTML to Standard EXE, and how to get these parameters in VB after you’ve passed them? Answer: Visual Basic

DevX - Software Development Resource

DSN-Less with ADO

Question: When I try to implement the code that is in MSDN, I receive Run-time error ‘446’ Object doesn’t support named arguments. Dim cn As New ADODB.ConnectionDim rs As New

DevX - Software Development Resource

Differences Between C++ and Java

Question: In C++, when a programmer intends to write: if (value == 1) { But, they often make the following mistake: if (value = 1) {…… Why doesn’t this problem

DevX - Software Development Resource

ADO & SQLServer Provider

Question: When opening an ADO connection, how do I specify that it use the SQL Server OLEDB provider with a DSN? Answer: Here’s the connection string you should use. Be

DevX - Software Development Resource

Procedure Declaration Errors

Question: I get the folling error message when I try to run my code: Compile Error: Procedure declaration does not match description of event or procedure having the same name.

DevX - Software Development Resource

ADO Provider Problem

Question: I created a program to help our sales department to keep track of their sale quotes. It uses a MDB database and I used the ADO components to gather