i try to upload an image for a person on SuperOffice. I use VisualStudio to do it. My Code is:
Dim soDB AS Database = New SuperOffice.COM.SuperOfficeDB.Database
Dim Person as SOPerson = soDB.GetPerson(7)
Person.Picture.ReadFromFile(System.AppDomain.CurrentDomain.BaseDirectory & "Bilder\person_stop.jpg")
On the Line Person.Picture.ReadFromFile i get everytime an error HRESULT: 0xC1010317
The path is correct, i try it with a different directories, everytime the same error.
Additional i test to Person.PictureWriteFile, but it also didn't work, no error, but also no file.
I found a example on https://github.com/SuperOffice/SDK-Doc/blob/master/Examples/vbs/ISOPicture.ReadFromFile.vb.txt, so i think this is the correct way.
Here ist the file.
How it should work?