Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Retrieve 'picture' from vb's active-x control
Message
 
 
À
06/09/2001 01:14:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00552966
Message ID:
00552985
Vues:
16
This message has been marked as the solution to the initial question of the thread.
Hi!

As far as I know, VB picture object is compartible with VFP picture object created by LoadPicture() function. Try to do following:

SavePicture(objActiveX...,"Temp.bmp")

Then assign this temporary bmp file to the Picture property of the control where you want to use that image.

You can use sys(3) function to create unique names for picture files. Maintain array of filenames to delete temporary files after work using ERASE command.

>Greetings everybody,
>Here is the situation: I need to use a control that is originally designed for vb. The control will return a picture that's compatible with vb's picture property. Obviously i cannot put it in the vfp's picture property because it contain the picture path instead of 'picture object'
>
>Q: Can anybody show me how to incorporate this kind of control in vfp?
>
>Thanks in advance!
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform