General information
Category:
Coding, syntax & commands
Environment versions
Network:
Windows 2003 Server
>>>I dont have that experience, if (by mistake) an image is assigned which is not in the search-path VFP will not hang, it will simply >>show no image, a cross, and will go on.
>>>I believe there must be an other reason the application hangs, could you specify the code when this is happening.
>
>It's difficult to reproduce, on a simple form it seems too quick to measure a difference, but I have seen it on a couple of installs and I experienced it today, I am create a "lite" version of one of our apps so copied all the files I though I needed to a new folder tree. I could'nt work out why the "lite" version was slower that the full fat, then I realised I had missed a couple of graphics off the transfer, I copied them and it ran fine.
>
>Just tried to recreate with a simple form but it did not happen, maybe it related to how I use the graphics or the quantity. Sergey has confirmed VFP WOULD search through the SET PATH for the missing file.
>
>Gary.
> I have noticed a few times now (enough to think I see a pattern) that VFP9 can appear to "hang" if a graphic is missing.
Hi,
Yes you are correct VFP will search the assigned Set('Path') for files, images a.s.o.
However if you have an image in your application which is not in your path, it is my experience VFP will not halt, as you reported, but simply not show the file thus showing you a cross over the object. - see screenshot attached.
So in case your applicaction hangs I suspect an other reason.
The situation you explain in this answer -new application working slower than old same application due to files are missing - can easily be avoided/checked by recompiling your project before you run. VFP will pull any file needed for the project, if not yet assigned to the project to make it run and in case it cant find any files since they are not in your path it will error and prompt for the file.
Regards,
Koen
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only