adding a C# dll to a VB .Net app

  • Thread starter Thread starter hutch
  • Start date Start date
H

hutch

Hi gurus,

A contractor has built us a database application in VB dotNet. But he
has included a DLL which was written in C# to provide a VirtualListView
control. The source of the C# project is included in the soluiton. I
want to fix some bugs in the VB app, but I've only got VB dotNet 2003
so I can't build the C# project.

Is there any way I can reference the DLL for the C# DLL without having
to build it?


Thanks

Stephen Hutchison
www.aboriginalart.org
Darwin, Australia
 
Hi gurus,

A contractor has built us a database application in VB dotNet. But he
has included a DLL which was written in C# to provide a VirtualListView
control. The source of the C# project is included in the soluiton. I
want to fix some bugs in the VB app, but I've only got VB dotNet 2003
so I can't build the C# project.

Is there any way I can reference the DLL for the C# DLL without having
to build it?


Thanks

Stephen Hutchison
www.aboriginalart.org
Darwin, Australia

You should just be able to reference the compiled dll in the add
reference dialog.
 
You could convert the C# project to VB.NET.

As Tom mentioned, just referencing the existing dll is probably a better
solution, but if you want the flexibility of being able to modify it in your
preferred language then conversion is a good option.

--
David Anton
www.tangiblesoftwaresolutions.com
Home of:
Instant C#: VB.NET to C# Converter
Instant VB: C# to VB.NET Converter
Instant J#: VB.NET to J# Converter
 
Back
Top