Solved

Where should i declare type statement in VB?

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
scoreUp challenge 14 56
SPLUNK REST  API call to Splunk to create and index? 2 101
parse convert xml feed to text (python) 2 69
Regular Expression Calculator Tester 2 54
RIA (Rich Internet Application) tools are interactive internet applications which have many of the characteristics of desktop applications. The RIA tools typically deliver output either by the way of a site-specific browser or via browser plug-in. T…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
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 …
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…

910 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

19 Experts available now in Live!

Get 1:1 Help Now