Question : Runtime error 2220

I have a table in Access containing a field with an image name i.e. pen.jpg. All the images are held in a folder called Medium in Program Files.

 I have created a form to display this information along with the picture that the file path points to.

 PicProduct.Picture = "C:\Program Files\Medium\" & txtProduct.Text

My problem is that different machines get different error messages when the form is opened but on some other machines it work OK.  
I'm running Windows 2000 and Access 2000

1st error message

Runtime error '2220':

Microsoft Access can't open the file


2nd error message
The expression OnCurrent you entered as the event property setting produced the following error: Privilege 2005 doesn't support the format of the file c:\program files\medium\pen.jpg

Can anyone explain how this is happening and how to avoid it?

Thanks

Answer : Runtime error 2220

Try installing this on the "broken" PC's

http://support.microsoft.com/default.aspx?scid=kb;en-us;212265

Dave
Random Solutions  
 
programming4us programming4us