Scanning From .NET Scanner's GUI Opens And Then Closes
Mar 31, 2012
I developed a winform .NET 4 application that has the ability to asyncronous save image from scanner using Bytescout Scan. Anyway I noticed that in some cases (with some scanners) the scanner's GUI opens and then closes immediately after load without performing any scan. Since no error message is raised either from my code and from scanner software itself; is there some settings/tweak somewhere I should pay attention?
I've installed visual studio 2008.is the visual basic in that package known as VB.net? My 2nd question: how can i use scanner for scanning using VB.net?do i have to use WIA? or i can use the default program for scanning?
i was wondering if it was possible to write my own firmware that will run on a device im making. This device is very similar to the price portable price checkers you see in grocery stores. it scans the barcode which returns an id number. More information about my device and about the big project im working on can be found here: My Idea For A New Type Of WCP (Wireless Connection Protocol)
When opening a button and opening a new form as soon as it opens it close for some reason but its not giving any errors as to why its doing this now I've checked the linked linking it to the next form that's fine.
Private Sub PrintPerscription_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Login.con.Open() sql = "SELECT Patient.* FROM Patient where Patient.Wardno = " & Login.WardNo.ToString da = New OleDb.OleDbDataAdapter(sql, Login.con) noOfRows = da.Fill(dsPatient, "Patient") [Code] .....
I have a small problem with sockets (I'm new to sockets). Below is the code I'm using. The problem is that when the client closes, the server closes aswell. How do I stop it from doing that?
I have been messing around with the scanning packages(WIA and TWAIN) and have gotten WIA to work, but not as intended. At first I used the common dialog to show a Image Aquisition Wizard, but that did not return desired results. Next was twain, but st managed to find was the same C# program over and over and over again, "TwainGUI". A program written by NETMaster on codeproject.What I would like to do is scan from the ADF and save immediately to the users working directory. The problem is I can't get WIA to keep scanning until the ADF is empty.
I am ask about the possibility of scanning document (by scanner) from within vb.Net with vb6 I used Kodak image controls(imgscan, imgedit) but with vb.net it seems that they are not working properly.
So - we are FED UP with our medical records packaging (document imaging) system and want to create a simple filing interface for our scanners to use in VB. Part of this deal is getting VB to interact with a TWAIN Driver.
There is some code out there for ASP.NET and C# - does anyone know of a VB.Net based code I could look at?
I have spent part of my day trying to recreate the ASP into VB but the calls are just different enough to get interesting.
I am making an application to scan with TWAIN. I can get to state 4 OK, and scan with the UI. But I need to hide the UI. When I do this the scanner does nothing. I believe it needs some capabilities set (like height and width). So I try to get the physical height and width so I can set them. Herein lies the problem. I get 18874402 back for the physical height and width. (neither can I get the units). I get RC=SUCCESS. I don't think it could be a signed/unsigned issue because what boundary is at 18 million +/- with whatever units? I tried some other code I found but that returns 0. I can't figure out what I am doing wrong. Here's the code:
So I got a request to update specific information on a thumb drive from my program. The idea is that the user does not have to select the drive. If you plug it in and select and option on the program, it will find the drive automatically and update some files for my specific purpose. Is there a way to automatically find a drive in a program?
I was just wondering if there is anyway to invoke finger print scanning in a .NET application? (Eg. Windows 7/Vista Login screens - assuming they have the hardware of course).
Unfortunately, this expression is true for the space character. I don't understand why. I'm trying to determine if str contains any special characters other than the ones indicated by s. If it does, I plan to process the string further.ebassador "Find it, fix it, move on.
I am trying to perform Twain scanning using the twain_32.dll, but no luck. Whatever solutions I have got call the dll GUI.
I want to perform scanning by passing custom settings to the scanner for every scan. For eg. In duplex I want to scan the Front side in color & Back side in Grayscale. OR Scan every Alternate page as Color and B/W
The combination can be anything. I've tried & and succeeded using WIA but it limited me to a certain extent. how to proceed using TWAIN and without displaying the GUI. I am open to options where a communication to Twain Connection Manager is established & commands are passed.
I'm not really sure where to begin for this. I'd like to scan a specified server directory for all files that it contains in the directory. (I will then compare the sizes to files already existing on the user's machine, but that I've got covered.)
If there's any way I could get around using FTP, I'd be very grateful, as this won't be entirely secure.
I did some exploring of the WebClient and WebRequest classes, but failed to conceive of a way to do this.
I have a multiline text box which is used to enter barcode numbers into. I have a barcode scanner and all the barcodes will end in L2, L3 or L4. Once a barcode is scanned in I need VB to detect either L2, L3 or L4 then go to a new line and repeat. Where I can start to accomplish this?
I come straight to the point without going too far. I need to scan all the pixels of a generic image and for each pixel derive the RGB components. I started with the following function that performs its task very good and returns 3 array (R, G, B) with the different values, but unfortunately is too slow.
Alright well, I'm sort of new to VB.NET.I want to create a scanner that scans websites from lets say google or bing.It then dumps those websites into a list/textbox. It then scans each website for a directory, and if the site says something like "test page", then it dumps THOSE into another list/textbox.
Is there any C#/.NET code (or anything that is easily convertible to .NET, such as Java/Python) for virus scanning that is not under the GPL/AGPL ? I found a C# wrapper for ClamAV, but ClamAV is GPL... Something LGPL would already suffice, and as a matter of fact, would be something I prefer. Preferably something in fully managed code, but DllImport is also welcome. COM interop is a no-go, I need it cross-platform (=Windows & Linux).
I am developing an application which will be used to scan the barcode from a particular document, as i am just developing who i will get know that barcode scanning is working i dont have device at the moment
I have the following records in DataGrid .see in Pic. On button click, I am scanning thru all the records. Just tell me that dataGrid RowCount is from: For j = 0 To DataGridView1.RowCount - 2 Or For j = 0 To DataGridView1.RowCount - 1 Private Sub Button11_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button11.Click [Code] ......
I'm re-doing a small application I made a long time ago. It's similar to CCleaner, where it scans specific directories and removes temp files.My old application worked, but it was messy and only had a handful of locations. The new version has a ton more locations and files, but that creates a problem with how the original app was designed.In the old app (I made this a very long time ago) everything was just jammed into the main class, including variables, methods, etc. There wasn't a whole lot of thought put into it.Now, I'm trying to figure out the best way to make this class so when I'm done, I can release it to the community and it be easy to use.The main problem I'm having is how I should set up the methods. There are so many different types of directories and files, that I'm not sure if I should create a separate class for each method, or have a bunch of methods in one class or have one method in one class.
There are some directories that need to be searched recursively, some that don't, some files need a filter and others don't. I think that's the extent that I need.So, what do you all think is the best option so that it will be easy for the end user to just add the directories/files and start scanning?Right now, I have a base class that has two properties. One for directories and one for files, both of which are arrays.Actually, just as I'm typing this, I'm thinking I could create a class that represented a directory and another that represented a file. Both classes would have properties set for them that I could use in the main scanning class. That would allow me to identify what was needed for that directory/file, like recursive searching and filters.
I'm designing a 3 x 3 Magic Square, where the 3 x 3 tables are made of up three adjacent list boxes. Upon starting the program, the 3 x 3 square consists only of the character "?" to represent a variable that has yet to be defined. The user will input through text boxes and button presses the characters 1 to 9, replacing the highlighted undefined "?' with the desired number. I'm required to include a Function procedure that can, at any time scan the 3x3 table and return an integer value of -1 if an undefined character "?" is present, a value of 0 if the rows, columns and diagonals do not sum to the same value, or the sum common to all rows columns and diagonals.
To start with I defined a 2D array and undefined. Dim mSquare(2,2) As String Dim undefined As String = "?"
Then I used a Sub to set the 3x3 table as undefined which I did not show to save space. Next I used a Sub to update the highlighted characters, allowing only one list box to be selected at a time and which I hope also assigns the the values to the array as they are updated. I removed parts of the code so this post isn't too big.
If lstCol2.SelectedIndex = -1 And lstCol3.SelectedIndex = -1 Then lstCol1.Items(lstCol1.SelectedIndex) = input txtInput.Text = "" End If For i As Integer = 0 To 2 [Code] .....
What I'm stuck on is the Function design. I'm trying to design something to scan the array, and give back an integer depending on the results, which are to return an integer value of -1 if an undefined character "?" is present, a value of 0 if the rows, columns and diagonals do not sum to the same value, or the sum common to all rows columns and diagonals.
I'm currently trying Function checkSquare(ByRef mSquare As String) As String For i As Integer = 0 To 2 [Code] .....
At the moment I keep getting the error "Public Readonly Default Property Chars(index As Integer) As Char". I keep getting an error like this even using a single variable and defining each j individually, and I'm wondering if its possible to pass arrays to functions or do I need to do something else. Is what I'm trying to do even possible? I did a longer method in which I just check all the entries individually but I'm hoping there is a more efficient way. Its my plan B for now.