Re: FPW2.6a Append General Problem



"Ray" <rgk321CUTSPAM@xxxxxxxxxxx> wrote in message
news:jiq_h.11429$3P3.7231@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Thanks for the response Roger. I tried what you suggested with the
following results.
1. The size of the bmp file does not effect the results for me. I
tried files from 151KB to 22KB with the same results. I have not
gotten the 'Cannot create OLE object' error.
2. The times when appending a picture fails, it appears that the
Append General just does not work correctly - the original picture
remains but (until refocused) the picture field shows blank.
3. My results are the same with or without the Class clause as far
as the appending of a picture file is concerned. (I discovered back
in the original design phase that without the Class PBRUSH clause
there was a serious problem. Changing an existing picture without
the clause adds the new data to the old - the fpt file size increases
by the sum of both pictures causing file blote. This can be
confirmed by snooping in the fpt file for the picture data and also
by noting the actual fpt file sizes. With the clause, the original
picture data is overwritten and the fpt file size is correct after a
pack.)

OK. Strange though how on my machine 400K+ BMPs just refuse to display
in FPW with 'Class = PBRUSH' included in the Append General command.

4. I have heard of a few cases where a user has seen the 'Cannot
create OLE object' error in a similar situation but I was never able
to reproduce or troubleshoot it satisfactorily.

Yes, I could find no pattern to them.

5. I get exactly the same results (all of the above) from the
command line as I do from within the program.
6. A big mistery to me is why the problem with my setup occurs
EVERY-OTHER-TIME an image is entered into the same record. This
seems to occur consistently for me.

Very odd indeed. Is there any anti-virus software running on the
XP box? If so, try excluding FPTs from being scanned. I know that
doesn't really explain why this problem happens every other
time but AV software can cause strange behaviour - particularly
when there's so much going on under the hood in an Append General.

I wonder if this could have anything to do with FPW2.6 setup. What
do you have for your config.fpw file? I had to mess around with it a
long time ago in the MEMLIMIT command line. I use MEMLIMIT=60, 2048,
15360.

I've got MEMLIMIT = 25,1024,24276. It's probably worth experimenting
with this.

-Roger


.



Relevant Pages

  • Re: Image control problem on report
    ... "Paul" wrote: ... enter a path in Picture. ... Doug Steele, Microsoft Access MVP ... The image file is set to a .bmp file residing ...
    (microsoft.public.access.modulesdaovba)
  • Re: Icons folder question
    ... So rename the bmp file to ico ... The picture that I would like to ... >a .jpg extension, evidently. ...
    (microsoft.public.windowsxp.general)
  • Re: How to avoid icoHi Ln appeance of BMP files in general fields?
    ... If you query a SQL Server database for a picture it would I think by default ... Blob or Memo column you can use the new PictureVal property of the Image ... control to display it - no need to copy out to a temp bmp file. ... We must use a general field. ...
    (microsoft.public.fox.vfp.forms)
  • Re: Insert Picture Path/Name
    ... Use Insert | Picture | From File: Link to File. ... Word MVP FAQ site: http://word.mvps.org ... >>> I have a .doc file with many images. ... I browse to the .bmp file and click Insert. ...
    (microsoft.public.word.drawing.graphics)
  • Re: PictureBox image + Garbage cleanup problem . .. Please help
    ... take your 1.7 Mb image file and save it as .BMP file. ... So, no wonder, why it takes 25 megs in memory, and to fight that, ... > displays the original picture in the picturebox on a panel control. ...
    (microsoft.public.dotnet.languages.csharp)