|
-
Aug 30th, 2000, 10:18 AM
#1
Thread Starter
New Member
I'm trying to create an ActiveX object that I created using VB, in another project on the fly. I like to Create the object and show it in a form. The thing is, I need to do it late binding, like:
dim obj as object
set obj = CreateObject("myObj.TestControl")
' Then show it some how
How do I do this?
-
Aug 30th, 2000, 10:30 AM
#2
Lively Member
did you try
obj.move 0, 0
obj.visible = true
-
Aug 30th, 2000, 10:44 AM
#3
Thread Starter
New Member
I tryed that, but I keep getting an error saying "Object doesn't support this property or method"
FYI: I created a test UserControl that just has a shape on it, a circle, and made the OCX. It's a very simple Control. Is there something I have to do to the control to make it have the general properties? I have created my own proerties in this control, and the do get called.
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
|