Linked Questions

52 votes
3 answers
16k views

Recently I decided VB6's Collection wasn't enough for my needs, so I decided to implement something like C#'s List<T>. ...
Mathieu Guindon's user avatar
34 votes
5 answers
17k views

I have put together a small wrapper class to simplify creating parameterized ADODB queries with VB6/VBA. At this point I'm keeping things simple, so it's only supporting input parameters and from what ...
Mathieu Guindon's user avatar
14 votes
2 answers
2k views

Following-up on this post, I wanted to be able to put a copy of that Excel workbook on a USB key and take it home to keep working on the code a bit (there's more than just one or two tables to ...
Mathieu Guindon's user avatar
10 votes
3 answers
1k views

Consider the following: If myString = "abc" Or myString = "def" [...] Or myString = "xyz" Then In C# when myString == "abc" ...
Mathieu Guindon's user avatar
5 votes
2 answers
5k views

I have managed to write some pretty terrible code in VBA and I know there has to be a better way. I have made all of these variables to store some data which I eventually reference in the application. ...
Jake Zeitz's user avatar
5 votes
1 answer
15k views

I am trying to use this VBA code to pass a SQL stored procedure multiple values from an excel sheet. In order to have the procedure run multiple times and insert multiple sets of information into the ...
mag123's user avatar
  • 51
8 votes
1 answer
3k views

This class encapsulates a List<KeyValuePair> (see List<T> implementation here, and ...
Mathieu Guindon's user avatar
11 votes
3 answers
412 views

I've been meaning to revisit this old code for a long time, and this week finally ended up doing it. The resulting code is on GitHub, and for full context and disclosure I wrote a blog article about ...
Mathieu Guindon's user avatar
4 votes
2 answers
273 views

I've tried to implement the access function DBLookup() in VB6 for a project I'm doing. Does anyone have comments on how well done it is and what could be improved? ...
Magisch's user avatar
  • 330
13 votes
1 answer
1k views

I need to build a little UI to allow easy maintenance of some data stored in a MySQL database, and the end user wants to do that in Excel (I know, I know). The code I came up with comes pretty close ...
Mathieu Guindon's user avatar
7 votes
1 answer
3k views

While DoCmd.RunSQL is all well and good for simple code, the number of times I've run into problems with unescaped apostrophes and the like was starting to nark a ...
Aiken's user avatar
  • 171
2 votes
1 answer
619 views

I use ADO (specifically for accessing SQL) daily at work. So, I finally decided that I was going to create a class that makes it simple for myself and other programmers on the job to use. Just the ...
ARickman's user avatar
  • 698