C#Control.>VB.NET

  • Thread starter Thread starter Mex
  • Start date Start date
Hello

Can in C# programmed control to be added to VB.NET Form?

Mex

For the others who may be searching the archives, the "standard" way
is to compile the C# control into a dll, add that dll to the project
(and the toolbox if desired), and use the control like normal. You can
also add the C# project to your solution and reference the project if
you need to do updates to the control.

Thanks,

Seth Rowe
 
For the others who may be searching the archives, the "standard" way
is to compile the C# control into a dll, add that dll to the project
(and the toolbox if desired), and use the control like normal. You can
also add the C# project to your solution and reference the project if
you need to do updates to the control.

Thanks,

Seth Rowe

I think there is an even easier method with VS2005. If the control was
compiled as an OCX, I think you can just drag the ocx file to the
toolbox window, and the control is then available as any standard
toolbox control.
 
Hi Zack and Seth,

I assume you are kiding,

For the OP there are in Net no C# or VB.Net controls it are .Net controls
all nice in a namespace.

(some are not direct delivered but go using a powerpack or whatever the name
they have given to that)

Cor
 
Hi Zack and Seth,

I assume you are kiding,

For the OP there are in Net no C# or VB.Net controls it are .Net controls
all nice in a namespace.

(some are not direct delivered but go using a powerpack or whatever the name
they have given to that)

Cor

Cor, I believe the OP is talking about custom controls he created in a
C# project - not the control's "packaged" with the framework. So no, I
am not kidding :-)

Thanks,

Seth Rowe
 
Back
Top