Excellent, that's just what I need to know. Thanks.
E;)
"Will Crichton" wrote in message
news:70DA711B318A6812DEB8BB3A43108B39@in.WebX.maYIadrTaRb...
> Hi Eric,
>
> I think that once you have loaded the reference library into your VBA
> project, the reference is saved in the dvb. When the application is
executed
> on a production machine, the dvb file looks for the linked libraries on
the
> local machine. As long as the production machine is running Map, the
> reference library should be present and registered and the application
will
> find them.
>
> So to summarize:
> Load the Map component library when you start a new VBA project.
> Write your code.
> Save the project to a dvb file.
> Distribute the dvb file to your production machines.
> You are done.
>
> The only time the reference library needs to get loaded is when you start
a
> new project as it is not loaded by default.Hope this helps clarify things.
>
> Cheers,
> Will
>
>
> "Eric Smallwood" wrote in message
> news:691799FA3E6B5877011D6DBA383F7035@in.WebX.maYIadrTaRb...
> > I'm doing some (beginning) programming in VBA in AcadMap 2000i, and I
> > discovered that the reference library for AcadMap had to be manually
> loaded
> > (from the VB editor, Tools, References...) in order for the Map
components
> > to be made available.
> >
> > Is there a way of loading the reference library programmically so that
> when
> > I give the completed VBA program out to production I won't have to add
the
> > note that the reference library needs to be loaded before it will work?
> >
> >
> > Eric Smallwood
> >
> >
> >
> >
>
>