ActiveX In VB.NET

I am having many activex controls i downloaded from the internet. I can easily use them in Visua Basic 6.0. But How can i add & use them in VB.NET.

Comments

  • : I am having many activex controls i downloaded from the internet. I can easily use them in Visua Basic 6.0. But How can i add & use them in VB.NET.
    :

    Open the toolbox (usually on the left side of the work area) and right-click to bring up the context menu and select 'Add Tab'. A new tab will be added to the toolbox.. call it 'COM Components' (or whatever is easier for you to understand)

    Select your new tab to make it the current tab. You should only see the Pointer listed on the new tab.

    Right-click on the new tab to bring up the context menu again, this time select 'Customize Toolbox'. After a few seconds a window will appear with two(2) tabs.. 'COM Components' and '.NET Framework Components'

    Select the 'COM Components' tab (should be selected by default) and place a check next to your ActiveX controls that were used under VB6 (Note: you may also browse to the .OCX files with the 'Browse' button)

    Once you have selected all of your VB6 COM components, click the 'OK' button.

    You should now see all of your ActiveX Controls listed and available to your applications.

    (NOTE: the items under the new tab will be disabled unless a form is active in the designer)
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion