Wrox Home  
Search P2P Archive for: Go

  Return to Index  

interdev_programming thread: activeX problems


Message #1 by "Shawn Barker" <shawn.barker@c...> on Tue, 20 Nov 2001 22:25:01
I have a question about ActiveX controls.  I created a simple little 
ActiveX control in VB that displays a tree view with a couple of buttons.  
I have made all of the events and functions public within the control, 
with the hope that I could view them with the Script Outline Window in 
Visual InterDev.   However, I am not able to view anything for the object 
on the Script Outline Window for the control after I add it.    



This is my process for loading the control:
Save the control in VB
Select Make XYZ.ocx from the file menu.
Open Visual Interdev
Create a new .ASP page
Right click on the ActiveX toolbox and select customize toolbox
Select the ActiveX control tab
Place a checkbox next to the control that I added and select open
When the XYZ control appears on the toolbox, I drag it to the ASP page
I then open the Script layout Window

The Control is viewable within the Client Objects and Events Tree, however 
no events appear under it.  I know that the control is registered because 
I can see it when I run the page. Is there something special that must be 
done in order to view the events of a control?

Thanks for any help that you can provide.

  Return to Index