John W. Colby
jwcolby at colbyconsulting.com
Wed Feb 4 19:58:50 CST 2004
oh, ok. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Wednesday, February 04, 2004 8:41 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Date On 4 Feb 2004 at 20:30, John W. Colby wrote: > Charlotte, > > What is the answer to this? It isn't so much "a reference to a specific > version" as it is "a reference to a lib" and that lib unfortunately includes > a "version". I have this problem myself. I use outlook and word both, one > of which requires an actual reference to an OLB. That OLB is a specific > file in a specific location. > Late binding. From http://support.microsoft.com/default.aspx?scid=kb;en-us;Q245115 <quote> 'No reference to a type library is needed to use late binding. 'As long as the object supports IDispatch, the method can be dynamically 'located and invoked at run-time. ' Declare the object as a late-bound object Dim oExcel As Object Set oExcel = CreateObject("Excel.Application") </quote> -- Stuart McLachlan Lexacorp Ltd Application Development, IT Consultancy http://www.lexacorp.com.pg _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com