I passed the MSFlexgrid control into a procedure, but it raised an error saying "type mismatch".I registered already the MSFlexgrid control and it works, but when I used the control as a parameter it raised an error.
here is the sample below:
private sub DisplayData(byref fgGrid as MSLFlexgrid)
end sub