Forum Discussion

NisHera's avatar
NisHera
Valued Contributor
10 years ago

Constructing Class object in other unit

Hi,

I just created a class for loging using VBScript.

How could I construct a object using that class in another Unit.

Seems following does not work




'USEUNIT MyClases


 


Sub Main


   Set MyLog = New MyClases.Logon


End Sub