How do I begin to manage a library of code in VB.NET, equivalent (or close) to my habits in VBA?
In VBA I made a Word template Utils.DOT, and in it placed all the 500 or so really(!) useful general-purpose procedures that are used throughout many Word applications. In a like manner i made a Utils.XLS/XLA for a library of useful Excel procedures.
Now I’ve started in VB.NET, I’m amassing a small set of utility functions (mainly through exercise with strings, dates etc), and would like to corral them into a single place, so that I can make use of them as time goes by.
I’ve seen little mention of this in the few places that seem a source of info. Is everyone re-inventing the wheel with each application?
Typical examples (for me) in Word/VBA included sorting arrays, locating strings in arrays, parsing strings, initialising GUIs, managing data in the environment (INI file or registry), and so on. I recognise that some of these functions are directly available in VB.NET, nonetheless I anticipate slowly accumulating a library of “tricks” as I go, and I’d like to start accumulating now, rather than go back and dredge snippets out of Solutions six months from now.