<Switch Word Wrap On>

Pic View is a small ocx control brought to you by Ken Howe of www.pbdr.com

It is written using Visual Basic 5 and as such requires the VB5 runtime library (what did you expect for free :-)). You can get the VB5 runtime for free from countless sites so you can easily download it.

Once you have the VB5 runtime, start up PB create a window, click the OLE control and place it on the window. Then click on the third tab, click register new and select the picview.ocx. In your list will be a picviewproject.picview control. Select this.

Then in your powerscript code: ole_1.object.picturename = 'myjpeg.jpg' and viola you can now show jpegs, and gifs in PB5 and 6.

V1.1
- Added funxtions to get the image size

V1.2 2/18/2000
- Added a print function to print the image
- Added an Imgae load function that shoudl work with other OCX


Ken Howe
khowe@pbdr.com
http://www.pbdr.com