Thread
:
How do you use public variables in visual basic 6.0?
View Single Post
#
2
(
permalink
)
05-31-2008
Andy B
Peon
Join Date: May 2008
Posts: 33
Try declaring it as a Property ?? This give all classes/methods access to the variable. Say something like this where you read the value as Z:
private intX as Integer = 0
Public ReadOnly Property Z As Integer
Get
Return intX
End Get
End Property
Andy B
View Public Profile
Send a private message to Andy B
Find all posts by Andy B