I have a procedure which accepts status bar as a parameter. I send a reference to my procedure to this status bar control. However it complains it cannot find the type: System.Windows.Forms.Control
I am using a text box now as a status bar, but Microsoft StatusBar Control 6.0 is more powerful.Code:Public Sub RunTests(ByRef myarray() As Boolean, ByRef stb As TextBox, ByRef stbControl As System.Windows.Forms.Control) ' your code here ' otuput messages to status bar control End Sub
How can I send ActiveX Control aka Microsoft StatusBar Control 6.0 to my procedure as parameter?
Which type it is?
What should I import in my Access 2000 VBA class?




Reply With Quote
