Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PNG Files Locked in Image Control
Message
De
27/09/2005 08:27:36
 
 
À
27/09/2005 07:52:39
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:
01053380
Vues:
15
>Hi,
>Nope that doesnt work:
>
>_screen.AddObject( "oimg", "image" )
>_screen.oimg.Picture='C:\IMAGES\PNG\ia3002_1.png'
>_screen.oimg.Visible = .t.
>RELEASE FILE 'C:\IMAGES\PNG\ia3002_1.png'
>DELETE FILE 'C:\IMAGES\PNG\ia3002_1.png'
>
>(last line gives "file is in use")
>
>
>Tim


Sorry a my error.
RELEASE ALL
CLEAR ALL
#DEFINE PNGFILE  'C:\PROGRAMMI\MOVIE MAKER\SHARED\Copia di news.png'
_screen.AddObject( "oimg", "image" )
_screen.oimg.Picture=PNGFILE  
_screen.oimg.Visible = .t.
CLEAR RESOURCES PNGFILE  && oimg lock the handle
DELETE FILE PNGFILE && "FILE IN USE"
_screen.RemoveObject( "oimg")
CLEAR RESOURCES PNGFILE  
DELETE FILE PNGFILE && "THIS WORK"
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform