Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Interop / April 2006

Tip: Looking for answers? Try searching our database.

should vb dll be packaged for interop

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Debi - 28 Apr 2006 07:19 GMT
Hi,

 I'm referencing a vb dll from my .net windows application. When I deploy
this application to the client's machine should I include this dll, or is the
interop dll that vb creates enough? If I have to include the vb dll, do I
have to register the dll using regsvr32?

Thanks in Advance ,
Debi
Herfried K. Wagner [MVP] - 28 Apr 2006 13:22 GMT
"Debi" <debi@nospam.com> schrieb:
>  I'm referencing a vb dll from my .net windows application. When I deploy
> this application to the client's machine should I include this dll, or is
> the
> interop dll that vb creates enough? If I have to include the vb dll, do I
> have to register the dll using regsvr32?

Deployment in Visual Studio -- Deployment and Dependencies
<URL:http://msdn2.microsoft.com/en-us/library/12w3fhd2(VS.80).aspx>

Note that the VB6 runtime libraries must to be installed in order to use the
VB6 DLL on the target machine.

Signature

M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>

Debi - 28 Apr 2006 21:15 GMT
Thanks for the reply. I'm familiar with deployment as discussed in the url,
but not sure on how the interop works. Suppose my .net application is calling
a vb dll, is it enough that it's present in the application directory or
should I register it. The article says it will look in GAC and then app.
folder. But when I install my app without registering the assembly it gives
an error.

One more question is: Suppose I use regasm to register the dll, instead of
regsvr32 will that make any difference?

> "Debi" <debi@nospam.com> schrieb:
> >  I'm referencing a vb dll from my .net windows application. When I deploy
[quoted text clipped - 8 lines]
> Note that the VB6 runtime libraries must to be installed in order to use the
> VB6 DLL on the target machine.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.