Hi all
I built a small app which i need users to change their profile pic, i added the following Code to the Avatar image so when they click on it a dialog open to get the new image , but its not working and it returns the error 1020 "Invalid destination specified."
this is the Code :
I know there is something wrong and very silly but i couldn't manage to find it
.
Thanks
I built a small app which i need users to change their profile pic, i added the following Code to the Avatar image so when they click on it a dialog open to get the new image , but its not working and it returns the error 1020 "Invalid destination specified."
this is the Code :
Code:
result = Dialog.FileBrowse(true, "Locate File", _DesktopFolder, "Pictures (.png)|*.png|", "", "dat", false, false); File.Copy(result[1], "AutoPlay\\Images\\", true, true, false, true, nil); Image.Load("Avatar", result[1]);

Thanks
Comment