How to read barcode from ASP.NET? [closed] - c#

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I'm not sure, is this possible or not? I want to scan barcode from within ASP.NET website. Anyone know how to do this?

You would need a scanner and the relevant software to interact with the scanner. Most hand held scanners simply output the text into whatever field is in focus, so this could be Notepad, Word, or even a textbox in your app.
Best approach is to find a scanner that suits your needs and then look into the Driver software it provides.

The simplest way would be to use Flash to gain access to a user's web cam and have them place the barcode infront of the camera. I'm sure Silverlight can do this as well.
No matter how you cut it, though, you're going to need to use some sort of third-party control, whether Flash/Silverlight, Java applet, or browser extension/addon.
An alternative would be to use a specific brand of barcode scanner whose software can insert the results into an arbitrary textbox.

Related

How to extract image features through C# [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
My adviser told me to use Accord Framework for C# to extract features and patterns from images. Our project is about image analysis and comparison of tobacco leaves. Does anyone here have an idea on how to do it? Thank you.
This is pretty high level stuff, but from what I've learned in my time faffing with it, I'd use the Accord.Imaging library to scan your pictures. Followed by using the Accord.Neuro namespace to "learn" from some manual data you feed into it.
Seems your goal is to create a program that scans images quickly, gleaning only the useful data from the full image, and then checking for some particular features of the image. I've never used the library, but it looks like it'd be possible to use it.

how to use bar code reader in c# windows application? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I want to create windows application in c# that can work with bar code reader.
I want following feature to be add in my windows application:
-> Details of Product should be fill up automatically in form when bar code reader scanned correct bar code of product.
There are (at least) two types of bar code readers:
working as keyboard input
working on Serial Port
So the first one is really easy. Just plug in your reader to your computer, put the cursor on your TextBox and read barcode. As it works as keyboard input, the code will automatically fill your TextBox. There may be line break at the end of read (it depends on reader and/or its settings).
This works out of the box. The problem is that your textBox MUST HAVE focus.
Other type is ComPort. This is great if you want more functionality (or don't want to have focus on control). But needs more work. But C# has a class to do that: https://msdn.microsoft.com/pl-pl/library/system.io.ports.serialport(v=vs.110).aspx
You will need to set some things like baudrate, parity bits, port name (COM1, COM2, etc). It's more complicated but the question is about how to do it - not about COM ports. So I am not writing about COM ports.

How to control a scanner from a browser application? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I know this is a difficult issue, but I'm asked to build an application that allows users to scan pages (from an Automatic Document Feeder) , and upload them into an FTP server. And I should integrate this into a PHP web application.
Any programming language will work, I just want to know how.
I have found a C# library called WIA. Is it the best option I have ?
Can I build a browser application (with Flash or Java) that can interact with the scanner ?
Thanks !
Perhaps you can check out the following sourceforge project called phpSANE.http://sourceforge.net/projects/phpsane/
Essentially need to setup and use SANE to work with your scanner. You can then use or modify (cause it's open source) phpSANE running on your web server which will then pick up the files and save them to an FTP server.
I'm not sure how you might automatically detect documents put into the Automatic Document Feeder, perhaps there is a way SANE is notified and you can get this use this to call a PH script?

can i write an Autosave plugin for microsoft windows notepad? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I use notepad for writing daily notes.some times when system gets restarted by accidentally, I loose my content.
So my question is"can I write an auto-save plugin for notepad" ?
Please let me know if I can write an auto-save plugin for Notepad using C#.NET.
I know about Notepad++ but I want to use notepad only.
Thanks in Advance.
There is no direct way of doing this because NotePad is a separate application and you don't have its code. Even if you did have the code, I'm highly sure it wouldn't be in a .NET-based language.
There is an alternate though. You could recreate entire NotePad from scratch in .NET. Believe me it won't take more than a couple hours for a guy who knows his tools (someone out there might already have done that). Then you can add any new features at your choice.
Yet another way would be hooking into NotePad's low-level messages through Platform calls and trying to somehow inject your features into it, but that's something I'm not an expert at and that would probably take more effort/expertise than writing your own NotePad from scratch.

finding type of a dll functions ? how to see them? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am developing a .net program that needs to communicate with a magnetic card reader/writer.
it has a DLL but i couldnt find its functions and the producer company told me that i have to use only with serial port commands.
In its manual, there is some commands that has been explained not clear enough ! I tried to use them but i couldn't get any response for non of commands.
Does any body has experience with card reader devices ?!
Is there any handshaking or initialization i need to set ?!
My card reader model is : Skankyo 6940
As said Dennis asking a vendor and reading its docmentation is more productice and most accurate way you can approach to work with the library .
Alternatively you may think of using: DUMPBIN.EXE utility, to dump all export functions of that (presumably C) dll. I repeat,in this way is much harder then reading a documentation, but, yes, you can also find some "hidden gems".
Hope this helps.

Categories