Page 1 of 1

SaveSettings()

Posted: Sat Feb 11, 2012 5:01 pm
by snksoft
Hi,

My application queries

Code: Select all

_device.Capabilities.Find(DeviceCapabilityId.CustomDsData)
. If device has this feature, application continue with this code,

Code: Select all

AddHandler _device.UserInterfaceClosed, AddressOf _device_UserInterfaceClosed
 _device.Setup()

Code: Select all

Private Sub _device_UserInterfaceClosed(sender As Object, e As EventArgs)
        Dim filePath As String = System.IO.Path.Combine(System.IO.Path.GetTempPath(), Guid.NewGuid.ToString())
        Using dummyFileStream As FileStream = System.IO.File.Open(filePath, IO.FileMode.CreateNew)
            _device.SaveSettings(dummyFileStream)
            _device.SaveSettings()
        End Using
End Sub
But I get "Cannot get profile of device." exception.

Device is Canon ImageFormula DR-C125

Re: SaveSettings()

Posted: Mon Feb 20, 2012 11:22 am
by Alex
Hello,

Thank you for your message.

We have fixed a bug in version 8.0.4.1 and since this version your code will work correctly.

Best regards, Alexander