Question
· Sep 23, 2016

Stream .File Binary

I tried to get a image from user . But It did not run. So please solve this problem

Class Quadramed.Chennai Extends %Persistent
{

Property Image As %Stream.FileBinary(LOCATION = "C:/Images");

Method imagefile()
{
obj = ##class(Sam.binary).%New()
"enter your name",img
obj.Image.Write(img)
status = obj.%Save()
}
 

Discussion (5)0
Log in or sign up to continue