Top "Vb6" questions

Visual Basic 6.0 (VB6) was the final COM-based version of the VB programming language and IDE, last updated in 2004.

VB6 equivalent of string.IsNullOrEmpty

I'm doing some work on a legacy application, and my VB6 skills aren't that great. I need to check whether …

string vb6
VB6 ADODB.Recordset RecordCount property always returns -1

I am trying to get some old VB6 code to work with SQL Server Compact. I can connect, open the …

sql-server database vb6 ado adodb
Why would you ever use "On Error Goto 0"?

Why would you ever use "On Error Goto 0" in a VB6 app? This statement turns the error handler off and …

vb6 error-handling
reading xml files in vb6

I know it is easier to read xml files in vb.net but since our appl is still on vb6, …

xml vb6
What is the difference between Sub and Function in VB6?

I am going through some old VB code and I run into function definitions like these - Private Function ExistingCustomer(…

vb6
Is there a need to set Objects to Nothing

I always read that it is recommended to set objects to nothing, once I am done with them. But I …

vba vbscript vb6
Does the VB6 IDE run on Windows 7 / 8 / 10 64-bit?

We're approaching a point of replacing several of our developer PCs and would like to move up to 64-bit to …

vb6 windows-7 64-bit
A Simple C# DLL - how do I call it from Excel, Access, VBA, VB6?

I have a simple class library written in c#. using System; namespace TestDll { public class Test { public string HelloWorld { get { …

c# excel dll vb6 interop
SendKeys() permission denied error in Visual Basic

I am trying to use the SendKeys() command to another window with my VB6 app. What I wanted is to …

vb6 sendkeys
Check if a record exists in a VB6 collection?

I've inherited a large VB6 app at my current workplace. I'm kinda learning VB6 on the job and there are …

vb6 collections