Problem solve Get help with specific problems with your technologies, process and projects.

How do I use a VB componenet in ASP.NET?

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

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.