Global Varaiable Urgent

Dear all:
How to declare global variable which can be used in multiple functions, but not defined at Class level, and thkx to previous answer, tkx again


George

Comments

  • [b][red]This message was edited by DrMarten at 2006-5-30 14:27:45[/red][/b][hr]
    Hi,

    Would it matter if it can be seen by a CLASS?

    Anyway do>>
    [code]
    Private myVariableName As Integer 'or Whatever
    'immediately after the>>
    'WINDOWS FORM DESIGNER GENERATED CODE line.
    [/code]

    Dont use the same variable name in any CLASS
    definations and your sorted. :-)

    Regards,

    Dr M.



Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion