Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PNG Files Locked in Image Control
Message
 
 
À
22/09/2005 04:50:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Oracle
Divers
Thread ID:
01051876
Message ID:
01051998
Vues:
11
Tim,

I'm not seeing the issue in XP here:
_screen.AddObject( "oimg", "image" )
_screen.oimg.Visible = .t.
_screen.oimg.picture = 'C:\DOCUMENTS AND SETTINGS\DAVID\MY DOCUMENTS\MY PICTURES\FPNORMAL.PNG'
It displays the image and I can delete the file.

What about setting the binary content of the image using .PictureVal rather than the .Picture?

>If I am using the image control in VFP9.
>- If the JPG is open in the control it can be deleted from the disk
>- If the PNG is open in the control it cannot be deleted from the disk.
>
>I also noticed if a PNG is open in the XP image viewer (dbl click it)
>then it can be deleted while being viewed.
>
>Can anyone tell me why PNG files are locked when they are open for viewing?
>Is there anything i can do about this?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform