Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
|
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 29th, 2004, 02:09 PM
Authorized User
 
Join Date: Sep 2004
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default What are the depencies on deployment of 1 dll

I would like to build one simple dll to call a function that returns hello world, simple as you can get.

What are the dependicies for deployment in .net for that one dll.

Im developing in VB6 and want to call the vb.net dll can i just include the dll in my set up ?

Help really appreciated

Andy

 
Old November 30th, 2004, 08:43 AM
Friend of Wrox
 
Join Date: Feb 2004
Posts: 177
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Are you developing the DLL in VB6 or VB.NET?

Either ways you can do that, if you are creating a DLL in VB6 and to access that DLL in VB.NET you have to create a RCW for that DLL and add it as a reference in VB.NET project.

Try the following link which has explanation for both
http://support.microsoft.com/default...b;EN-US;817248



It is not how much we do,
but how much love we put in the doing.

-Mother Theresa
 
Old December 1st, 2004, 12:49 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

When you create a .NET assembly that you wish to consume from COM, you need to register the .NET assembly for COM consumption. In visual studio there is a checkbox in the project properties to "Register for COM interop" but this only helps you on your development machine.

When you deploy it you need to perform this step manually. This can be done by means of the .NET regasm (register assembly) tool which is in the framework directory. You can either use the tool directly on the deployment machine, or you can use the tool to generate a .reg file that provides the necessary registry branches to be added when you deploy the DLL.





Similar Threads
Thread Thread Starter Forum Replies Last Post
convert unmanaged dll to managed dll nitesh kumar Visual C++ 2005 0 August 4th, 2008 04:53 AM
Install problems - VS 6.0 on XP SCRRUN.DLL PDM.DLL jeff4444 Visual C++ 0 December 6th, 2006 08:48 PM
The database dll crdb_oracle.dll could not be load Yeliz Crystal Reports 0 October 18th, 2006 08:12 AM
Depencies for my VB6 app Tank Beginning VB 6 3 December 22nd, 2005 07:39 PM
DLL & Excel - keep having to reset DLL reference! James Diamond Pro VB 6 2 May 25th, 2004 03:37 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.