Solved

Where should i declare type statement in VB?

Posted on 2003-11-06
3
210 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Hide vba in gp 7 106
printf performancy 11 73
youtube blocking politics 4 59
Infrastructure development vs software development 3 62
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
This is an explanation of a simple data model to help parse a JSON feed
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 …
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…

821 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