General information
Category:
Coding, syntax & commands
Title:
Cannot access activex functions
hello,
i created an activex control, and defined a function call MyFunction()
when i tried to create the control during runtime i get the error
'Object does not support this property/method'
heres the code...
Dim MyControl as Control
...
Set MyControl = Controls.Add("MyActiveXSample.MyControl", "MyControl")
MyControl.Visible = true
'*** ERROR HERE ***
call MyControl.MyFunction()
thanx,
benj
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only