use control written in C#

  • Thread starter Thread starter newbie
  • Start date Start date
N

newbie

Hello,

I have found a control that is written in C#.

It has source code included: cs-files, resx files and csproj files.

How can I use this control in VB.NET?
Must I have C# installed?
Must I build an ocx first (to add in my controls toolbar)?

Thanks
 
* "newbie said:
I have found a control that is written in C#.

It has source code included: cs-files, resx files and csproj files.

How can I use this control in VB.NET?

Compile the C# project and add a reference to the resulting DLL, or add
the project to your /solution/. Notice that you can mix languages
inside solutions, but not inside projects.
Must I have C# installed?
Yes.

Must I build an ocx first (to add in my controls toolbar)?

No, you will have to create a DLL (class library).
 
newbie said:
I have found a control that is written in C#.

It has source code included: cs-files, resx files and csproj
files.

How can I use this control in VB.NET?
Must I have C# installed?

Yes, if you wan to compile it.
No, if you've got a compiled DLL that you can set a reference to
(right-click on the toolbox -> add item, browse to the DLL file)
Must I build an ocx first (to add in my controls toolbar)?


OCX controls don't exist in the .Net world.


--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html
 
Back
Top