[AccessD] Lebans PDF code in Vista SOLVED BUT DIFFERENT

Stuart McLachlan stuart at lexacorp.com.pg
Thu May 7 00:01:00 CDT 2009


I store the BE directory in a system table, check for the BE presence at startup and if it is 
not found, prompt for a new location, re-link. and store the new location :-)

On 7 May 2009 at 4:46, Max Wanadoo wrote:

> >> That's why I NEVER hardcode paths.
> 
> What do you do about locating the BE on the server, Stu?
> 
> Max
> 
> 
> -----Original Message-----
> From: accessd-bounces at databaseadvisors.com
> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan
> Sent: 06 May 2009 23:46
> To: Access Developers discussion and problem solving
> Subject: Re: [AccessD] Lebans PDF code in Vista SOLVED BUT DIFFERENT
> 
> On 6 May 2009 at 13:50, Carolyn Johnson wrote:
> 
> > BUT the good news is it caused me to play around some more.   I
> > changed the output to RTF to see what would happen, and I got an error
> > because the path for an image on the report was incorrect.  It still
> > had the path used for the Windows XP database folder under Program
> > Files, instead of the Vista database folder under Users.   Once I
> > fixed the path for the image, it worked fine. 
> 
> That's why I NEVER hardcode paths.
> 
> I always use either CurrentProject.Path as the root path or Special Folder
> resolution to get 
> Temp, My Documents, Application Data etc.
> 
> -- 
> Stuart
> 
> 
> -- 
> 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





More information about the AccessD mailing list