Where should i declare type statement in VB?

Where should i declare type statement in VB?(in which module)
sanjusambheAsked:
Who is Participating?
 
fantasy1001Connect With a Mentor Commented:
If you declare the type as public, then put it in a new module (*.bas)
if it is private, then you can put it on the top of the code where you will use it

~ fantasy ~
0
 
aHBeCommented:
Put it in it's own module (I use const.bas) if you want it to be public or in the module it's used in if you want it to be private.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.