JWColby
jwcolby at colbyconsulting.com
Sat Apr 21 18:22:36 CDT 2007
Marty, I didn't have to do a register on this machine since it was the one that I created the VB.Net project on and the simple act of building it caused it to be registered. I will certainly look at that stuff if I need to do this on another machine (actually use this thing). 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 MartyConnelly Sent: Saturday, April 21, 2007 6:52 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DirWatcher - was RE: Cool stuff - was RE: using a dtsx in .Net Just wondering, if you used this method to register the com class dll. It uses regasm and gacutil to remove any previously named dll and reinstalls in the registry. See : http://samples.gotdotnet.com/quickstart/howto/doc/Interop/Building_Samples_C OM2NET.aspx the install batch file looks like this for your dll FX20Wrapper.dll regasm "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\system.windows.forms.dll" gacutil -u FX20Wrapper regasm /u "VB2005\FX20Wrapper\bin\Release\FX20Wrapper.dll" regasm /tlb "VB2005\FX20Wrapper\bin\Release\FX20Wrapper.dll" gacutil -i "VB2005\FX20Wrapper\bin\Release\FX20Wrapper.dll" To use Access set a reference to the tlb file that will be in a directory like below depending on where you installed the project. \VB2005\FX20Wrapper\bin\Release\FX20Wrapper.tlb The tlb will allow Access to see the class definitions and do a compile.