Solved

Where should i declare type statement in VB?

Posted on 2003-11-06
3
206 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
Comment Utility
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
Comment Utility
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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
wordsWithoutList  challenge 24 72
VBA color chart bars 12 64
stringclean challenge 26 53
word0 challenge 4 52
Here we come across an interesting topic of coding guidelines while designing automation test scripts. The scope of this article will not be limited to QTP but to an overall extent of using VB Scripting for automation projects. Introduction Now…
A short article about problems I had with the new location API and permissions in Marshmallow
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

763 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

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now