I code with Vb6 everyday using my own convention and i’m starting to feel guilty about that.
Do you know any style guides for VB6 like naming convention, code techniques and best practices?
I code with Vb6 everyday using my own convention and i’m starting to feel
Share
Despite VB6’s infamy in legacy codebases, it is still used heavily every day in lots of enterprises and it will benefit from good style.
As Darrel suggested, be consistent with existing code bases.
However, if you have freedom in how you style your code, you might choose the Reddick VBA Naming Convention (VBA is the same codebase as VB6). It’s recommended in the VBA Developer’s Handbook. Granted, a lot of its style will feel obsolete in the .NET environment, but it does seem to be heavily used a lot in VB6 and VBA examples.