pro_vb thread: Userdefined objects and variant objects
Hi, How can I pass a user-defined object through a variant object in VB 6.0? Is this possible? I want one command to return different types of user-defined objects e.g. public sub Output_Result(byval Test_Name, testresult as variant) select case Test_Name case Test_1 testresult = format_test_result_1() case Test_2 testresult = format_test_result_2() end select end sub Thanks for your help, Philip ware.
|





