Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Retrieve images from EXE
Message
From
27/08/2007 17:15:35
 
 
To
27/08/2007 17:05:15
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01250756
Message ID:
01250763
Views:
23
First, I have created a general field in temporary cursor, where I put compiled image, like this...
REPLACE FieldImageName WITH CompiledFileName

Second, I need to display my image in window, like this...
DEFINE WINDOW WindWait FROM 5,50 TO 15,80 NAME oWindWait DOUBLE
oWindWait.left = SYSMETRIC(1) * 0.5
oWindWait.top = SYSMETRIC(2) * 0.5
oWindWait.height = 110
oWindWait.width = 195
oWindWait.AddObject("imgDessin", "image")
oWindWait.imgDessin.picture = FieldImageName
oWindWait.imgDessin.visible = .t.
ACTIVATE WINDOW WindWait

>> Try without general field, I think it works too if you directly assign CompiledFileName to picture property.
Marc Levesque
La Prairie, Quebec (CANADA)
marc.levesque@videotron.ca
Previous
Reply
Map
View

Click here to load this message in the networking platform