Ok,
I am trying to pass a Control object to a sub but I get this error on the line of the function call
Error 438: "Object doesn't support property or method"
it fails on this line
here's the function headingCode:DisableControl(cmdApply)
can anyone provide input as to why this doesn't work?Code:sub DisableControl(ctl as Control) ... End Sub
The error it gives has me to believe that VB can't find the method in the class but I'm not trying to add a class method. I'd just like to reference the object in the procedure. Thanks


Reply With Quote
