VintaSoft Twain .NET SDK Discussions
Questions, comments and suggestions concerning VintaSoft Twain .NET SDK.
Board index < VintaSoft Twain < VintaSoft Twain .NET SDK Discussions
_device.Capabilities.Find(DeviceCapabilityId.CustomDsData). If device has this feature, application continue with this code,
AddHandler _device.UserInterfaceClosed, AddressOf _device_UserInterfaceClosed _device.Setup()
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.