Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to AddObject Ole-objects to a form at runtime?
Message
 
To
18/05/2005 05:58:54
Evert Meulenkamp
Meulenkamp Automatisering
Hengelo Ov, Netherlands
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 6 SP3
OS:
Windows '98
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01015240
Message ID:
01015250
Views:
18
Why you not use a starndart VFP Image Control to show pictures?
Also lcPicture is LOCAL variable, it is out of scope within Init Event of the olePict1. try:
THISFORM.AddObject("olePict1","olePict",ALLTRIM(v_pic.pictname))
THISFORM.olePict1.Visible = .t.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform