Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB.NET 1.0 > Pro VB.NET 2002/2003
Pro VB.NET 2002/2003 For advanced Visual Basic coders working .NET version 2002/2003. Beginning-level questions will be redirected to other forums, including Beginning VB.NET.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB.NET 2002/2003 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old June 1st, 2005, 01:29 PM
Registered User
Join Date: Jun 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to samuelpizarro
Default HOW TO create an ActiveX ocx from VB.Net ?

Hi folks.
In VB6, it as possible to create am ActiveX (ocx) component by this type of project.

I already was able to create a Type Library COM, (tlb) in VB.Net, but what I really need, is to create a ActiveX with a User control Interface compatible with other languages that does not support .Net framework until, like VB6, Visual DataFlex, COBOL and others...

I try to create a Windows UserControl Project, and make this class available to COM Interop, but when it is build, just a tlb file is generated with the class, but the COM is not registered like an ActiveX component!

I am missing some? What? Or it's not possible?


Samuel Pizarro
Old June 2nd, 2005, 07:44 AM
planoie's Avatar
Friend of Wrox
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts

Although I've never done it, I'll venture a guess that you won't be able to build a .NET control that can be consumed in a non-.NET application. However, you can build .NET *classes* for use in non-.NET applications. The main requirement here is that the classes accept and return types that can translate to the consuming application's types.


Similar Threads
Thread Thread Starter Forum Replies Last Post
Running an ActiveX ocx from server-side toddw607 ASP.NET 1.0 and 1.1 Basics 1 January 15th, 2008 11:38 AM
Cannot create ActiveX component in asp.net 2.0 Thorgal ASP.NET 2.0 Professional 1 December 14th, 2007 12:17 AM
OCX and vb.net shakeeb ASP.NET 1.0 and 1.1 Professional 0 October 31st, 2007 10:02 AM
how to use ActiveX DLL in VB.NET debuajm General .NET 4 June 6th, 2004 05:26 AM
Can you write an ActiveX DLL with VB.NET? james gold VB Components 0 September 8th, 2003 09:44 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.