Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic ActiveX control not instantiated! (Read 2172 times)
Elad
Guest


ActiveX control not instantiated!
Feb 28th, 2006 at 7:21am
Print Post  
Hi,

I'm evaluating FlowChartX using Visual Basic 6 and I'm trying to place an ActiveX control in a box using the following code:

Dim cBox As box
Set cBox = FC.CreateBox(100, 100, 240, 160)
cBox.AxControlId = "MSACAL.Calendar"
cBox.Style = bsAxControl

I get the messge in the subject line:
ActiveX control not instantiated!

What am I missing? The sample application that places a calender in a box works!

thanks,

Elad
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: ActiveX control not instantiated!
Reply #1 - Feb 28th, 2006 at 9:05am
Print Post  
Hi,

Try setting

cBox.AxControlId = "MSCAL.Calendar"

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint