Jim Lawrence
accessd at shaw.ca
Thu May 7 11:25:39 CDT 2009
\\MyServer\MyPath Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo Sent: Wednesday, May 06, 2009 8:46 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Lebans PDF code in Vista SOLVED BUT DIFFERENT >> 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