MJ,
Basically, you can add a reference to your registered dll. All you have
to do is go to the "COM" tab of the "Add References" dialog that appears and
then find your dll and add a reference. VS.NET will create an interop
assembly which you can then call your COM types through.
Just make sure that when you distribute your app, you register your COM
components correctly (or use no-reg COM if you are able to) on the target
machine.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"MikeJ" <ve***********@sbcglobal.netwrote in message
news:LN*******************@newssvr29.news.prodigy. net...
hi im looking for examples to call a dll from C#
this vb6 dll has no UI
i am building a new application in c# for new projects
but i have to work with old vb6 stuff.....
will convert the old when i have the time...
TIA
MJ