How to Convert Vb.Net dll into C#.Net Dll

B

Balamurukan

Hi,

I have vb.Net dll which uses Latebinding.
So i couldn't Convert it into C#.Net dll.
Can u please give me an idea how to convert.
I couldn't use vb.net dll in c# Forms.that's y i want to
convert.Bcas vb.net dll uses Latebinding.

Help me in this regard,

Bala
 
W

William Stacey

One way would be to "wrap" it in a new c# library and ref the vb version
from your library. Another way would be to rewrite it in c# if you have the
source.
--wjs
 
B

balamurukan

Hi,

Actually i'm converting vb.net dll into c3.net dll.
The problem is vb.net dll uses Latebinding.they refer some
mtd from base class.In c# i couldn't use the same
code.Later i found out that vb.net uses the LateBinding.
What i have to do to use LateBinding in C#.

Actually
vb.net code is rs.table(rs.position).Row
Row defined in Base class.It's taking in runtime.
C# is not allowing late binding i don't know how to use
the LateBinding.

Thanks,
Bala
 
D

Daniel Bass

if you want to late bind to a dll in c# see my example

http://www.dunesand.com/blog/2003_12_01_archive.html




Hi,

Actually i'm converting vb.net dll into c3.net dll.
The problem is vb.net dll uses Latebinding.they refer some
mtd from base class.In c# i couldn't use the same
code.Later i found out that vb.net uses the LateBinding.
What i have to do to use LateBinding in C#.

Actually
vb.net code is rs.table(rs.position).Row
Row defined in Base class.It's taking in runtime.
C# is not allowing late binding i don't know how to use
the LateBinding.

Thanks,
Bala
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top