[AccessD] Lebans PDF code in Vista SOLVED BUT DIFFERENT

Max Wanadoo max.wanadoo at gmail.com
Wed May 6 22:46:14 CDT 2009


>> 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




More information about the AccessD mailing list