Yes you were right my syntax was wrong, corrected it with your suggestions and everything is working as isSamuel wrote:This works for me.The number you were using to identify your image was 0, but then you were storing the data label instead of the image identifier. I use #PB_Any because it will return an auto generated number that is not already in use.Code: Select all
Image2 = CatchImage(#PB_Any, ?Logo)
This code should work as well, but it's one extra line of work.If you still can't get it to work. Then maybe your image path is incorrect because of wrong default directory.Code: Select all
CatchImage(0, ?Logo) Image2 = 0
Thank you Samuel, you have been a wonderful help