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.comICQ #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.