Thanks for the assistance.
are a must for the application I'm working on. I don't
the back end versus a IIS. Do you know if this makes a
>-----Original Message-----
>In article <009001c34c7a$a34b5490$a301280a@phx.gbl>,
veda.l.lassiter-
>bryson@lmco.com says...
>> I created a vb .net dll that is a proxy class for a web
>> service. I am trying to add a reference to this dll in
a
>> vb 6.0 project. I get the message "Can't add a
reference
>> to the specified file." I can add a reference to this
dll
>> in vb .net, but not vb 6. Does anyone know why I can
not
>> use this dll in vb 6? Has anyone successfully done
this?
>> If so, how? Any help is appreciated.
>
>You need to use REGASM to:
>
>1) generate a COM-callable-wrapper (CCW)
>2) Register your .NET object as a COM object
>
>Use it in this format:
>
>regasm /tlb:mydotnet.tlb mydotnet.dll
>
>This will register "mydotnet.dll" as a COM object and
will generate a
>type library you can add a reference to in VB6. You'll
also need to
>consider giving your DLL a strong-name and placing it in
the global
>assembly cache (GAC). Or, you can simply place the
mydotnet.dll in the
>same directory as your VB6 executable.
>
>Of course, if you just want to call a webservice from
VB6, why not just
>use the SOAP Toolkit?
>
>--
>Patrick Steele
>Microsoft .NET MVP
>
http://weblogs.asp.net/psteele >.