Closed nileshyadav326 closed 6 years ago
Install the EXE or compile a new one from the provided project.
On Tue, Feb 13, 2018, 2:01 AM nilesh notifications@github.com wrote:
Even after installing getting above error.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mgriit/ScanAppForWeb/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/ASiTYFP_70UVZR-16Tk2JY73TAtlJQX5ks5tUTNPgaJpZM4SDTPq .
--
Not able build Scan_App_Setup Project says incompatible
Don't worry about Scan_App_Setup, publish NewScan that is what you want, then use the "Index.html" to scan
Just Install Scan_App_Setup.msi from DemoProject > SrcFile at ur pc and use DemoProject/Views/Home/index.html to scan
Thanks, awesome script it really helpful. Can u let me know now how to upload the scanned image to the server using javascript?
Also, can we save the settings currently every time after restarting the pc need to do the scanner configuration again
Yes you can do it. To do that you have to set default value at Form1 and publish it again .... suppose for load DPI
private void LoadDPI(ICapWrapper<TWFix32> cap)
{
// only allow dpi of certain values for those source that lists everything
var list = cap.GetValues().Where(dpi => (dpi % 50) == 0).ToList();
comboDPI.DataSource = list;
var cur = cap.GetCurrent();
if (list.Contains(cur))
{
comboDPI.SelectedItem = cur;
}
}
It will get Current DPI of your scanner and set it.
Even after installing getting above error.
on browser console it shows.
Request URL:ws://localhost:8181/ Request Method:GET Status Code:101 Switching Protocols