I have created a component from VB. I imported and registered it. I have used that component in C# and it is working properly. How do I use this component in ASP.NET? Any source code you can provide would be extremely helpful. Thanks.
Component is quite a broad term. If you refer to a class inheriting from component, you can add it to the toolbox by customizing it, and then just drop the new toolbox item on the web form (in design mode).
As for registering, it's not necessary, as long as it doesn't need COM+ for some feature.
Using a component in C# (I assume you're talking of a windows or console app) is just the same as in ASP.NET.
Dig Deeper on Win Development Resources
Related Q&A from Daniel Cazzulino
Here Daniel Cazzulino explains how to load a DSL (domain specific language) domain model instance file programmatically. This requires the .NET type ... Continue Reading
Here we offer a glimpse at 12 of .NET development expert Danny Cazzulino's top ASP.NET questions and answers. Continue Reading
C# developers should NOT be modifying InitializeComponent method in the code-behind (or any of the variable definitions) by hand. Continue Reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.