|
Post by glscottmcsa on Jun 3, 2015 13:19:57 GMT -5
I can use loadgraphic #picture, "C:\Inetpub\wwwroot\jewelry\image\0.jpg", but if I try to use a variable it does not seem to work.
I've tried Pic$ = Chr$(34) + PictureID$(x) +Chr$(34) but that does not seem to work when I loadgraphic #picture, Pic$ and I've tried Pic$ = "'" + PictureID$(x) + "'" but that does not seem to work when I loadgraphic #picture, Pic$
Any Ideas How I might do this from a variable?
Thanks,
|
|
neal
Full Member
Posts: 104
|
Post by neal on Jun 3, 2015 20:11:17 GMT -5
You don't need the quotes around the filename when using a variable.
ie.
loadgraphic #picture, PictureID$(x)
should work provided PictureID$(x) contains a valid filename.
|
|