[Question] Global Variables [solved]Sorry if this is a stupid question, just moving into VB from C++ today. How do I get a variable to have Global scope in VB?
Also you need to make it a public variable, otherwise the scope will be the class modifier visibility.
Like .. Sub KILL 'Code End Sub or Public Sub BLBAL ' BALABL ENd Sub or Function BLABLA(Params..) Msgbox(Params) ' or BALBALAB LA End Function etc.. Then call it like.. In a button for example: BLABLA("HELO") Then it will do ur function...blablaba...
Originally Posted by -Away Like .. Sub KILL 'Code End Sub or Public Sub BLBAL ' BALABL ENd Sub or Function BLABLA(Params..) Msgbox(Params) ' or BALBALAB LA End Function etc.. Then call it like.. In a button for example: BLABLA("HELO") Then it will do ur function...blablaba... You really don't have any idea what he's asking about do you?