Quantcast
Channel: VBForums - CodeBank - Visual Basic 6 and earlier
Viewing all articles
Browse latest Browse all 1463

Declare a Class global to app but not to anything else.

$
0
0
I have a class module that I need to be global to the entire project.

The only way to declare it that I know of is in a standard Module.

And standard modules don't allow "Friend".

I could try having every single module/class/form that needs it create their own private instance and set them all equal to the same instance.

Is there a simpler way that I'm missing?

Viewing all articles
Browse latest Browse all 1463

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>