Code:
dim f as folderItem
dim theurl as string
theurl="http://workbench.realsoftware.com/images/template-realbasic-header.gif"
f=getfolderItem(nthField(theurl,"/",countFields(theurl,"/")))
httpsocket1.get(theurl,f)
then in httpsocket1's downloadcomplete handler
Code:
canvas1.backdrop=file.openaspicture