Search found 15 matches

by mywebforall
Fri Mar 10, 2023 8:56 pm
Forum: VintaSoft Twain .NET SDK Discussions
Topic: Reason: CORS request did not succeed
Replies: 3
Views: 5670

Re: Reason: CORS request did not succeed

Hi Alex, I've already wrote before that i'm running Windows 11 Pro 22H2 and already red and followed the https://www.vintasoft.com/docs/vstwain- ... rvice.html . I'm using a secure connection, my Web App is running on HTTPS and, as speciefied before, i get the error only on the latest stable version...
by mywebforall
Thu Mar 09, 2023 8:17 pm
Forum: VintaSoft Twain .NET SDK Discussions
Topic: Reason: CORS request did not succeed
Replies: 3
Views: 5670

Reason: CORS request did not succeed

Hi Alex,
My WEB App is working fine on Chrome and Edge ,Windows 11 running here, but on Firefox i get this error. I've set security.tls.version.min = 1 on about:config in Firefox, as specified in your documentation but i still get the error,
Any suggestions?

Thank you and best regards,
Luigi
by mywebforall
Wed Mar 08, 2023 2:23 pm
Forum: VintaSoft Twain .NET SDK Discussions
Topic: Which method to make the device asking for more document to scan?
Replies: 8
Views: 6092

Re: Which method to make the device asking for more document to scan?

Hi Alex, Using promises and global variable storage, i managed to get a dialog asking for more papers and to restart the scanning. Now the issue is about finishing the process on End Dialog's button. When the user presses it, i got an error : Error: Image with identifier: 'bla bla bla' is not found ...
by mywebforall
Mon Mar 06, 2023 5:13 pm
Forum: VintaSoft Twain .NET SDK Discussions
Topic: Which method to make the device asking for more document to scan?
Replies: 8
Views: 6092

Re: Which method to make the device asking for more document to scan?

Sorry Alex, maybe i'm too dumb, but how can i ask for more pages? Is there a specifc method for do this? Wht i would achieve is this: 1 Step : Start scanning whatever the source is :ADF or Flatbed. 2 Step : Once finished the 1 Step, prompt a dialog : "End the scanning here or load more papers a...
by mywebforall
Mon Mar 06, 2023 2:57 pm
Forum: VintaSoft Twain .NET SDK Discussions
Topic: Which method to make the device asking for more document to scan?
Replies: 8
Views: 6092

Re: Which method to make the device asking for more document to scan?

Hi Alex, Do you mean that if for example i set the count to 2, after two papers it asks for more? Or it stops to scan? When i set twainDevice.open(true, true), in the UI dialog of the scanner there is a checkbox telling the device to ask if there are more papers to scan. I want to achieve the same r...
by mywebforall
Mon Mar 06, 2023 11:06 am
Forum: VintaSoft Twain .NET SDK Discussions
Topic: Which method to make the device asking for more document to scan?
Replies: 8
Views: 6092

Which method to make the device asking for more document to scan?

Hi Alex, could you tell me if your plugin has a way (when scanning from ADF or not) to ask if there are more papers to scan? If I red properly, it has something to do with WebAcquireModalStateEnumJS, but i was not able to find a function or a method in your Documentation to help me understand it or ...
by mywebforall
Sat Mar 04, 2023 9:48 pm
Forum: VintaSoft Twain .NET SDK Discussions
Topic: Case 9 is executed two times
Replies: 1
Views: 5004

Case 9 is executed two times

Hi Alex, here is the code : try { // open TWAIN device manager self.twainDeviceManager.open(self.twainDeviceManagerInitSettingsJS); // // get the default TWAIN device // twainDevice = twainDeviceManager.get_DefaultDevice(); // open TWAIN device (display device UI and display dialog with image scanni...
by mywebforall
Fri Mar 03, 2023 2:04 pm
Forum: VintaSoft Twain .NET SDK Discussions
Topic: "acquiredImages.get_Item is not a function"
Replies: 2
Views: 5132

Re: "acquiredImages.get_Item is not a function" UPDATE

Find it!

There is a mistake in your Tutorial section : https://www.vintasoft.com/docs/vstwain ... rver.html .

The function is : *.getItem() , not *get_Item() .

Thank you anyway.
Best Regards,
Luigi
by mywebforall
Fri Mar 03, 2023 1:37 pm
Forum: VintaSoft Twain .NET SDK Discussions
Topic: "acquiredImages.get_Item is not a function"
Replies: 2
Views: 5132

"acquiredImages.get_Item is not a function"

Hi Alex, sorry to bother you again :cry: . I get this error while i'm tryng to create the object to send to an ftp server, here is my code: switch (acquireModalState) { case 2: // image is acquired // get acquired image var acquiredImage = acquireModalResult.get_AcquiredImage(); // add acquired imag...