bungpeng Posted March 25, 2003 Posted March 25, 2003 How to create ActiveX Control in VB.NET? What project template I should use? Quote
*Gurus* divil Posted March 25, 2003 *Gurus* Posted March 25, 2003 You can't. With a lot of work, you can just about expose a windows forms control as an ActiveX that can be hosted in the ActiveX test container, but you won't get one that will run in VB6. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
bungpeng Posted March 26, 2003 Author Posted March 26, 2003 What do you mean by hosted in the ActiveX test container? Can this ActiveX embed in Web Application? like what previously we do in VB6? Quote
*Gurus* divil Posted March 26, 2003 *Gurus* Posted March 26, 2003 The ActiveX test container is a tool that comes with VS6. I don't know if windows forms controls exposed as ActiveX controls can be hosted in a webpage or not. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
bungpeng Posted March 27, 2003 Author Posted March 27, 2003 No, if .NET can do ActiveX controls, then why I still cater for VS6 staff? I just want to use VB.NET to do ActiveX control then embed it in ASP.NET webform. Quote
*Gurus* divil Posted March 27, 2003 *Gurus* Posted March 27, 2003 .NET _can't_ do ActiveX controls. With a lot of work and nasty hacks you might just get a windows forms control you wrote to be exposed as a limited ActiveX control. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
bungpeng Posted March 28, 2003 Author Posted March 28, 2003 What is those limitation? If compare with ActiveX control in VB6? Quote
*Gurus* divil Posted March 28, 2003 *Gurus* Posted March 28, 2003 As far as I understand, MS gave up on the idea of supporting this because of problems interacting with .NET types from VB6 code. You just wouldn't be able to interact with the control properly. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.