AlexHayes

What I need to do is add an active x control to my project and use the methods from that active x control.

I know how to use the object browser, add a COM component (although the one I need is missing from the list) and see it's methods. How do I add it to a form There's no Object Container control in VB2005. The help file says the Web control can be substituted 'in some cases'. I can use that and point the URL to the active x file I want to use, but then I have no way accessing its methods.

Alex


Re: Visual Basic Express Edition Visual Studio 2005 Express - how do i add and use active X controls?

spotty

A general flow of adding a control to the toolbox

  • Open a form in the VB Express IDE
  • Right Click on the Toolbox and select Choose Items
  • Choose COM Components and Browse
  • Point to the appropriate file.
  • Click OK and it will now appear in the toolbox.
  • Now you can add the control to the form just like any other control.

Is the item an ActiveX control or just a COM DLL, If its a COM Class Library then once added as a reference, you should be able to use the classes and call the methods contained in the class library.





Re: Visual Basic Express Edition Visual Studio 2005 Express - how do i add and use active X controls?

stratoblue

May I jump in

My problem is different. I'm able to add the ActiveX into the toolbox, but it is disabled. How do I enable it