>>I try to open BMP file from VFP in Windows Paintbrush. Controls option menu allows to register and use Paintbrush as Insertable object in Form Designer but I cannot find any ways to load file into Paintbrush window (surely I can call Paintbrush as external exe, but it's not the way I am looking for).
>>Thanks in advance for help.
>
>If you embed the bmp in the form with a an olecontainer object, you can
>activate in ( I use a push button to do this on the form) and then
>it will launch Paintbrush with the picutre use ole 2.0 (in place editing) so the menus of VFP (or your app) and those of Paintbrush get merged. ( I think the effect you want). The problem with this is in data storage.
>OLE uses big chunks of wasted disk space for pictures. This is not to bad
>if you are storing/editing bmp's which are big anyway as it doesn't add much, but is a big problem if you are working with gifs/jpgs as it can bloat file size by a factor of 20-30 times. I have opted for a different solution to this. I store the file names in a table. Then use code to automatically generate a html document with a table listing the records
>of the multimedia I want to edit. Then I use DDE to access netscape and
>go to the newly created html document. What this allows me to do is
>to use VFP via Netscape to view/edit any type of multimedia. It avoids
>all extra storage as I simply am storing file names in the VFP table.
>
>Hope this helps.
I really got Paintbrush menu but without
part so I still cannot load/open file in paintbrush. If you know how to do this I will appreciate
if you could give me couple lines of code. Thank you.
Edward Pikman
Independent Consultant