Skip to main content

Questions tagged [rubberduck]

Rubberduck is an open-source COM add-in project for the VBA/VB6 IDE written in C#. Use this tag for reviews of the C# source code, or for reviews of VBA/VB6 client code.

Filter by
Sorted by
Tagged with
14 votes
1 answer
2k views

NEW: Download demo files Not sure what to title this - essentially, inspired by RubberDuck's unit test engine, I've created a way to call private methods of standard modules in VBA. It also lets you ...
Greedo's user avatar
  • 2,635
5 votes
1 answer
116 views

My project creates a report based on test results which are stored in database table associated with a JobNumber. The test results for a particular JobNumber may be ...
Energeer's user avatar
3 votes
1 answer
685 views

latest updated version in cross-post from SO I'm testing performance regression of some code I wrote (this is not that code) by timing its execution in Unit tests. I would like to see if execution ...
Greedo's user avatar
  • 2,635
5 votes
1 answer
173 views

Background: I had created a macro few years ago and when I was reviewing this now, it was hard to understand. I recently went through all the articles from ...
Vipul Karkar's user avatar
4 votes
0 answers
303 views

Rubberduck VBA permits creation of virtual project hierarchy within the IDE, but the project is imported/exported as a single folder with all files. Sometimes, direct access to the project folder is ...
PChemGuy's user avatar
  • 415
11 votes
0 answers
386 views

I've written an API that unlocks some serious MVVM capabilities with VBA's MSForms UI framework. This is the complete code-behind for an example ...
Mathieu Guindon's user avatar
7 votes
1 answer
410 views

Currently Rubberduck VBA files all the VBProject VBComponents in that do not have a Folder Annotation in a Folder named after the VBProject. It can be time consuming to manually organize the ...
TinMan's user avatar
  • 4,328
11 votes
3 answers
414 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
0 votes
0 answers
172 views

This is a follow up to this question and this question Objective: Manage what happens when users interact with Excel Tables (ListObjects) Code incorporates: ...
Ricardo Diaz's user avatar
4 votes
1 answer
863 views

Objective: Have a single point of entrance to initialize a class that holds instances of "sub" classes Background: I read about inheritance in VBA (or as close as ...
Ricardo Diaz's user avatar
3 votes
1 answer
824 views

This is a follow up to this question Objective: Manage what happens when users interact with Excel Tables (ListObjects) Code incorporates: Greedo's answer suggestions: Listen to an encapsulated <...
Ricardo Diaz's user avatar
5 votes
1 answer
675 views

Objective: Manage what happens when users interact with Excel Tables (ListObjects) Possible interactions: Update an existing Excel table Add rows/columns to the table Update a cell or a range of ...
Ricardo Diaz's user avatar
6 votes
2 answers
365 views

I've created a class that creates key->value pairs but also value->key pairs - i.e. a reversible hash-map. This is because I want to be able to switch between corresponding members of 2 enums ...
Greedo's user avatar
  • 2,635
4 votes
1 answer
323 views

I've reproduced the example of this video where dependency inversion principle is explained by Tim Corey based on C# I had some trouble understanding the scope of the Logger and MessageSender ...
Ricardo Diaz's user avatar
15 votes
1 answer
1k views

WinAPI Timers can be quite tricky to work with, as anyone who's tried to use them and fallen foul of one of the many pitfalls probably knows. Problems such as screen freezing, crashes, uncontrolled ...
Greedo's user avatar
  • 2,635

15 30 50 per page
1
2 3 4 5
7