Thread View: cn.bbs.comp.program
1 messages
1 total messages
Started by Leo Liu
Mon, 26 Apr 1999 00:00
How can I pass an object variant as an argument to a method?
Author: Leo Liu
Date: Mon, 26 Apr 1999 00:00
Date: Mon, 26 Apr 1999 00:00
12 lines
1026 bytes
1026 bytes
Windows 95/98 Visual Basic 6.0 For example, There is a COM Component A with type of MyObj, and A has a method called test(arg1 as object,arg2 as object). B and C both are Button. So the code is: dim A as MyObj set a=new MyObj a.test(B,C) These code will cause a Compile error(Syntax error). How can I pass an object variant as an argument to a method?
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads