>>>What I need is the image control to automatically resize for the picture and the form should resize as well. May be we need to use Web Browser control? If yes, how can I make the Html based on the binary representation of the image?
>>
>>What if the picture is bigger then you current screen resolution?
>
>I should be able to use scrollbars.
>
>So, my first question - do you think I need to switch to WB control or keep using image control and form with scrollbars?
AFAIK you can't use WB if you don't know the extension.
If you want to use WB you should store it as file first and then make an HTML.
So better (for me) is to use VFP Form with scrollbars.
This worked for me in command window :-)
_screen.AddObject([aaa],[Image])
m1 = GETPICT()
aaaaa = FILETOSTR(m1)
_screen.aaa.Top = 0
_screen.aaa.Left = 0
_screen.aaa.PictureVal = aaaaa
_screen.aaa.Visible = .t.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.