Hi to all,
and merry Christmas to the whole community.
Anyway... back to VB:
I've got a problem passing a control as an argument to a sub.
My code looks like that:
'1) The header of the sub placed in a module
Public Sub readdir(pattern As String, tempvz As String, ByRef cntr As Control)
'2) and the call of the function
readdir pattern, (tempvz), frmeditor.listproject
...,but the variable cntr is always empty. - I think it should contain frmeditor.listproject. Where is my mistake?
Thanks a lot
bateman23 aka Daniel
---------------------------------------
Visit me @:
and merry Christmas to the whole community.
Anyway... back to VB:
I've got a problem passing a control as an argument to a sub.
My code looks like that:
'1) The header of the sub placed in a module
Public Sub readdir(pattern As String, tempvz As String, ByRef cntr As Control)
'2) and the call of the function
readdir pattern, (tempvz), frmeditor.listproject
...,but the variable cntr is always empty. - I think it should contain frmeditor.listproject. Where is my mistake?
Thanks a lot
bateman23 aka Daniel
---------------------------------------
Visit me @: