The problem comes when you run the application on a machine that came with Windows 95 and has never 'seen' Windows 3.1x. This works great under Windows 3.1x, Windows NT and even under Windows 95 - if you installed it using the upgrade version. To display this picture, just use the Picture Tool in the Screen designer or in code (also as generated in the 1.000,25.000 SAY tmp.photo The code to put the picture into a GENERAL field is quite straight forward (e.g.): 'PaintBrush', the OLE server that actually does the work, even comes "free" with every copy of Windows. (In FoxPro for Windows 2.5 see \GOODIES\PHOTOALB and for FPW 2.6 see \SAMPLE\OLE\.) This is definitely an inexpensive way to add the ability to display pictures in your FoxPro for Windows' applications. I'm sure that most of you have at least seen or played with the OLE demonstrations that display pictures (.BMP or.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |