We are both getting mixed up. Honestly, I thought you were crazy<grin>
because my A2K version does not contain the converted Form to Report you
were looking at with the uncommented out code. This is the kind of stuff
that happens when you maintain two different verions(A2K and A97) on two
different machines.
The code you want is in LoadSaveJpeg.
http://www.lebans.com/loadsavejpeg.htm
The code was developed in A2K. When I converted it to A97 I always
compile it and test in A97. I inadvertently left in the report that is
causing you the problems at compile time. Just delete it and the sample
Form will work.
The original A2K source MDB has a functioning sample Report that works.
I have published new A2k and A97 versions tonight. If you have been to
my Web site recently you may have to click on the REFRESH button within
your Browser to see the new files.
Sorry for the mixup. As penance, I will modify this solution to use the
Microsoft GDI+ DLL to enable you to Load/Save Jpeg, Tif, BMP, EMF, WMF,
GIF and BMP in the next few days.
--
HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.