F
Flavio Miano
Hi all
i have created a class module named Class1
on a form i create a histance of this Class Class1
dim c as Class1
sub form_load()
set c = new Class1
end sub
I NEED to ERASE the OBJECT from CLASS MODULE.
I NEED to create this method inside class CLASS1
sub destoyme()
' i try with
unload me
end sub
so in the form module a can call
sub cmdErase_click()
c.destroyme
end sub
' attention i do not need to destory from form module with
set c = nothing
' i know this method but i do not need it
thanks in advance
FLAVIO
ps. the real problem is that i need to receive by socket connection a
command that destroy a server object instance.
i have created a class module named Class1
on a form i create a histance of this Class Class1
dim c as Class1
sub form_load()
set c = new Class1
end sub
I NEED to ERASE the OBJECT from CLASS MODULE.
I NEED to create this method inside class CLASS1
sub destoyme()
' i try with
unload me
end sub
so in the form module a can call
sub cmdErase_click()
c.destroyme
end sub
' attention i do not need to destory from form module with
set c = nothing
' i know this method but i do not need it
thanks in advance
FLAVIO
ps. the real problem is that i need to receive by socket connection a
command that destroy a server object instance.