|
-
Mar 27th, 2001, 12:03 PM
#1
Thread Starter
Hyperactive Member
Hi !!!
I need to pass a combo as a parameter... but not the regular combo. I need to pass the combo that is in Microsoft Forms 2.0 Object Library.
The problem is that the class name is ComboBox. Sounds familiar? It´s the same of the regular combo. I´m getting a Type Mismatch.
Any ideas???
Please???
If things were easy, users might be programmers.
-
Mar 27th, 2001, 12:15 PM
#2
Frenzied Member
I'm sorry I don't know exactly how to do this, but...
there is a way for latebound typing. You will get to specify which lib and version to use with a sort of as New(Yadda 1.0 ComboThingie).
I'm sorry I don't remember how to do it, but I do know it is possible. Hopefully someone will remember.
When you do this, there are certain risks, and you will notice that VS won't fix the case of mybox to myBox.
Travis, Kung Foo Journeyman
As always, RTFM.
WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
YBMS, but Mozilla doesn't.
-
Mar 27th, 2001, 12:16 PM
#3
just a guess. try As Control isntead of As ComboBox
-
Mar 27th, 2001, 01:29 PM
#4
New Member
try this:
cbb as MSForms.combobox
-
Mar 28th, 2001, 05:25 PM
#5
Thread Starter
Hyperactive Member
Thanks !!!
MSForms.combobox worked.
If things were easy, users might be programmers.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|