Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Where should i declare type statement in VB?

Posted on 2003-11-06
3
Medium Priority
?
213 Views
Last Modified: 2010-04-17
Where should i declare type statement in VB?(in which module)
0
Comment
Question by:sanjusambhe
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 150 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Starting up a Project

719 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