Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB.NET 1.0 > Pro VB.NET 2002/2003
Password Reminder
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Display Modes
  #1 (permalink)  
Old June 1st, 2005, 01:29 PM
Registered User
Join Date: Jun 2005
Location: , , .
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
Reply With Quote
  #2 (permalink)  
Old June 2nd, 2005, 07:44 AM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,409
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.

Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 10:38 AM
Cannot create ActiveX component in asp.net 2.0 Thorgal ASP.NET 2.0 Professional 1 December 13th, 2007 11:17 PM
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

All times are GMT -4. The time now is 12:23 PM.

Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.