JWColby
jwcolby at colbyconsulting.com
Wed May 2 13:53:33 CDT 2007
Eric, Thanks for that. I was in there before but I failed to poke around long enough. I needed to click the browse tab and go find the thing. Done and thanks for the help. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Eric Barro Sent: Wednesday, May 02, 2007 2:43 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [dba-VB] VB.Net - using an outside DLL John, .NET binaries cannot be registered the same way as COM binaries. In your VS.NET project right click on the References tree and then click Add Reference. On the .NET tab click Browse and then locate ICSharpCode.SharpZipLib.DLL. This takes care of "registering" the .NET binary and also copies ICSharpCode.SharpZipLib.DLL to your project's BIN folder. Click on the + sign beside References and you will notice that VS.NET has added a reference to the ICSharpCode.SharpZipLib.DLL. You can then access the objects in that DLL on your projects. Eric -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Wednesday, May 02, 2007 11:35 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [dba-VB] VB.Net - using an outside DLL I copied this ICSharpCode.SharpZipLib.DLL to my windows\system32 directory and tried to register it but it gave an error "no load point" or something similar. As a result the reference wizard inside of VSS cannot find it in the list (which probably comes from the registry). Aint computin fun? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Eric Barro Sent: Wednesday, May 02, 2007 11:30 AM To: dba-vb at databaseadvisors.com; 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [dba-VB] VB.Net - using an outside DLL In VS.NET you create a reference to the DLL and when you compile your project it puts it in the BIN folder. When you create a setup you specify all the files it needs and the setup program knows where to copy it on the target machine. I believe I've covered this in a previous email about where .NET stored the binaries. -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of JWColby Sent: Wednesday, May 02, 2007 8:21 AM To: 'Access Developers discussion and problem solving'; dba-vb at databaseadvisors.com Subject: [dba-VB] VB.Net - using an outside DLL I am looking at using the ICSharpCode.Sharplib.DLL for its unzip stuff. This is actually something that is going to go on the server I am building the project on but might also go on another machine. My question in general is where do you place a component like this in the .Net universe? Do you place it in Windows\System32 like you would all other DLLs? Do you place it in the framework directory? Do you place it in the project specifically using it? Regardless of where you place it, how is it "gathered up, and then reinstalled" on another machine as a project is migrated to another machine? John W. Colby Colby Consulting www.ColbyConsulting.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.467 / Virus Database: 269.6.2/784 - Release Date: 5/1/2007 2:57 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com