awesome-vba icon indicating copy to clipboard operation
awesome-vba copied to clipboard

Suggest adding 🔗 emoji to document early-bound references?

Open sancarn opened this issue 2 years ago • 3 comments

I find myself avoiding early-bound references where possible, mainly because of their version instability. Is this something others would be interested in?

We'd be talking about references other than VBE7.dll, Excel.exe, stdole2.tlb, MSO.dll, FM20.dll ofc

E.G. If a library requires an early-bound reference to Scripting.Dictionary and VBScript.Regexp then we'd have the following:

* [🖼][p_win][⭐️][a_all][🔗](# "Scripting.Dictionary;VBScript.Regexp") SomeVBALibrary - Does something

However libraries which create Late-bound objects like:

set rx = CreateObject("VBScript.Regexp")

wouldn't have to include the emoji

sancarn avatar May 28 '22 13:05 sancarn

Do you have a specific example? I understand the hesitation around early-bound references, but perhaps adding the emoji or not is something to consider at a later stage? Not least because it's going to require a whole lot of thinking and work on my part when submitting links for inclusion to the list! :smile:

KallunWillock avatar May 28 '22 14:05 KallunWillock

Do you have an example?

Added to the main post

but perhaps adding the emoji or not is something to consider at a later stage?

Yes, agreed. I'd suggest we look at automating the process for the links we have already, but do so at a later stage when the list is more established 😊

sancarn avatar May 28 '22 14:05 sancarn

Yes, agreed. I'd suggest we look at automating the process when the list is more established 😊

Good plan. Now if only there was a language one could use to automate doing things...

KallunWillock avatar May 28 '22 14:05 KallunWillock