I am saving and retreiving from textfiles.

Saving the image as an imagepath and have added it to my user structure

Writing :

Code:
User.Imagepath = txt_ImagePath.text
Retreiving :

Code:
pbx_UserImage.image = User.Imagepath
however there is an error (syntax blue line) that value of type string cannot be converted to system.drawing.image and I understand that but not sure how else it can be resolved