I know this is Xojo 101 but how to I retrieve a picture.
I have a sqlite table and one of the fields is the name of the picture. Now I want to retrieve that picture from a folder and put it in a canvas. I got this code but I get a compile error because I am telling that f is a string instead of a picture.
Dim currentFolder As FolderItem currentFolder = GetFolderItem("").child("fotos") Dim f as Picture msgbox currentFolder.name f = currentFolder.name + rs.Column("pic1").StringValue canvas2.Backdrop = f