Thanks everyone, but I am still getting the error 2220 cannot open file.
BTW, image100 is actually a form. What I am trying to do is change the background image on the form depending on the client who logs into the system.
Just can't seem to get it work as a variable, so I have resorted to a...
The statement:
image100.picture = "c:\dir\picture.jpg"
works just fine.
BUT - when I try and assign the picture to a variable it fails:
str_pictureName = "c:\dir\picture.jpg"
image100.picture = str_pictureName
I get an error 2220 - Can't open file
Any suggestions?
Thanks
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.