Solved

Where should i declare type statement in VB?

Posted on 2003-11-06
3
209 Views
Last Modified: 2010-04-17
Where should i declare type statement in VB?(in which module)
0
Comment
Question by:sanjusambhe
3 Comments
 

Expert Comment

by:aHBe
ID: 9693940
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
 
LVL 5

Accepted Solution

by:
fantasy1001 earned 50 total points
ID: 9698741
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

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question