Using .net To Do Zonal Ocr Form Processing?
Oct 9, 2009
i does anyone have any examples of using .net to do zonal ocr form processing (I want to extract data from a scanned image based on it's location on the scan and save it), i know there are thrid parties out there for this type of thing, but I'd rather do it myself, does .net natively have the abliity to let me do this?
View 1 Replies
ADVERTISEMENT
Mar 18, 2011
I just learned some basics of multi threading in VB.net recently as I came across processing a large List of records and inserting them into SQL database one by one.
I have code look like this:
Private Sub btnLoadNow_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnLoadNow.Click
Dim autoLoad1 As New Thread(AddressOf AutoLoad)
autoLoad1.Start()
[CODE]...
Itemlists is a global lists i retrieved from database, everything looks fine to me but when i run this program, I found that the threads are inserting one records 9 times into the database(I have 9 threads in total), which makes me think that maybe i need to specifically assign 1/9 of a list to each thread? Is there another way to do it which doesn't require the splitting of the list, if not , how do i split it then assign?
View 1 Replies
Jan 6, 2010
2008 Array Processing and Sequential File Processing
View 14 Replies
May 19, 2011
Im a college student and this is my first programming class, i am having extremely diffcult time with arrays and sequential file processing. Im not asking for the whole program, just something to get me started and hints along as i progress with it. Please help me get started on my program, its due in 2 days.
Here are the requirements....
1. The program must input any number of individual�s last and first names using two separate textboxes.
2. The array of names must be sorted by the last name using a bubble sort. You must code the sort.
3. The program must be able to recall the names from the file and add to the existing list of names so that more names can be added to, sorted, and written back to the file in sorted order.
4. Sort in ascending order: A to Z
5. All names must be displayed in a listbox in sorted order when the user wishes to see them.
6. In the listbox the last and first names must be separated by a comma and a space. Example: Smith, Mary
7. The user must be able to search for a name in the array, using the binary search algorithm. You must code the search.
8. Do not use module-level variables. Instead you may choose to use Static.
9. The program must be designed using Visual Basic 2008
View 3 Replies
Mar 15, 2010
I've been busily working on a solution for my JSP page problem using an AxBrowser instead of a WebBrowser .NET control. However - the problem seems to be that whichever approach I use, the "back to results" button on my work's JSP page produces nothing but an empty white page in the results frame. I've compared keystroke for keystroke in WebBrowser control, AxBrowser, and IE. The in-built solutions all fail, but the standalone IE works perfectly.Might the problem lay in the way the form is handling the processing of the web pages in the in-built solutions? Could it be a problem with Asynchronous processing?If so, would it be advisable to try the WebBrowser control in a BackgroundWorker setup? It must be something to do with my application, since IE processes the form correctly.
View 4 Replies
Sep 1, 2009
I have an add-in application running in Outlook that pops up a form to tell the user something is being processed.The add-in is written in vb. net.The information form has an animated gif on it which should animate as the rest of the program is processing however it stops animating.The code is as follows:[code]
View 5 Replies
Sep 10, 2009
When user click it, it will bring a second form with a waiting animated gif sitted into picturebox..but at the same time it will call processingcard.dll to link to the bank and get results. when finish getting results, the form2 will be closed. if i just show form 2 with animated gif 'Please wait...while processing" when i click button, it works fine[code]...
View 4 Replies
Feb 8, 2012
At the moment, my project has a method do_job(jobid,userid)
This method take a minute or two, and then redirects to another page. This has been rewritten so that it now runs in the background and redirects to another page whilst the thread which do_job is on continues. - This works fine. In a button_click event in a default.aspx page :
Dim d as New do_job_delegate(AddressOf do_job)
d.BeginInvoke(jobid,userid, New AsyncCallback(AddressOf Callback),d)
Response.redirect("results.aspx")
[Code]....
So what i want to happen is - the longest time that do_job takes is the longest time of the longest job (30 seconds), rather than - 30 seconds x number of jobs = time it takes at the moment.
As i'm already using a delegate to detact the process from the ui, can anyone provide any advice/best practice on how i should rearrange my do_job method so that it can handle concurrent tasks to further boost the overall speed.
View 2 Replies
Nov 11, 2009
Is there any way of doing parallel processing in VB.net. Like running a IF-ELSE and CASE in parallel.
For example i'm incrementing a counter in a IF-ELSE statement. And for each count i need to display some thing using a case statement.
View 11 Replies
Mar 15, 2011
How can I keep the GUI active for my windows form application if I am processing some data in db and my process is waiting for result ?
View 2 Replies
Jun 18, 2012
I want to process MSXML which is generated by Visio 2010, Which Language will be helpful to work with the generated XML,
View 2 Replies
Mar 31, 2011
If vb application (windows form app) is calling a store procedure and it takes 5-10 mins to SP to finish and meanwhile the application is (forced to) close,
what will happend at the SQL side?
Will the proc completely run even though the app is not running anymore?
View 1 Replies
Mar 18, 2010
I want to run my vb.net 2003 application from command line and accepting only one parameter(argument)....... BUT it should run without GUI, only a function from my code would get run in background..
[Code]....
View 6 Replies
Feb 3, 2012
Does we have a good & full image processing function in vb.net? If not. what is best reference for image processing in vb.net?
View 2 Replies
Oct 18, 2011
I am looking for a solution to implement Credit Card processing to a POS system I have written. I have been coding VB for about 7 years but never had a need to process credit cards.
View 1 Replies
May 25, 2009
I haven't seen a related thread (yet)I have a VB windows application that uses a datagrid to display a text column and a checkbox column. Only one row in the display can have a checkbox entry = true. If a checkbox is selected, the app is to search the rows and all other checkbox entries are to be set to false.My event handler is: Private Sub dgMember_CellContentClick(ByVal sender As System.Object, ByVal e As ystem.Windows.Forms.DataGridViewCellEventArgs) Handles dgMember.CellValueChangedI first had to have this handler code check a flag and exit if true (when initializing the display) because it was called for each row during initialization.
View 1 Replies
Mar 22, 2011
I have a form with several buttons on it.When a button is pressed,it will execute some remoting proxy method on the server. There is some delay in the process before there is a result returned from server .Currently,I tried to disable the button in the _Click event, hoping that a 2nd, 3rd and the following clicks would not be registered.Unfortunately, those input from the mouse clicks were queued by Windows.
So once the _Click event has finished running, it will immediately get executed again due to the earlier clicking.I tried to create a form (Notice) to display some status message, hoping that clicks won't be registered on the button. Despite setting the form to maximize and on top of the caller form, the clicks still get registered.Then I thought of using .ShowDialog(). Unfortunately, it halts the processing until I close the form. So I did something more complicated by passing in the method into Notice form, so that it would execute the _Click method via an address pointer.Unfortunately, after all these coding. The buttons still get registered with the mouse clicks.So now, is there any way to overcome this clicking queue that Windows registered?
View 21 Replies
Dec 1, 2010
i have 10 checkboxes...i want a short way to check if checkbox1.checked=true and check box3.checked=true.... blah blah blah and so on to do codes...i was using long typeing code like:
if checkbox1.checked=true and checkbox2.checked=false and checkbox3.checked=true and checkbox4.checked=true and checkbox5.checked=true and checkbox1.checked=true.....etc then
msgbox"done"
end if
[code]....
View 6 Replies
Apr 7, 2010
i am using vb.net to program and process some files.I pick files from one folder process them and once i process them successfully i should store them in a different folder. when i do fi.move(destination folder) i get an error message saying "THIS FILE IS USED BY ANOTHER PROCESS" below is my code
[Code]...
View 3 Replies
Dec 17, 2009
I'm thinking of making use of online technology to do some validation and processing for my program but I'm unsure of its feasibility. I need to create a program whereby the client can retrieve the data/settings from website say http:[url].... .Another example would be allowing the program to run until end of December by making use of online time service to check the date so that user can't change any settings from their computer.
While discussing about retrieving the data either through html static site or webservices, another thing I'm concern is transmitting the data from client side to my side.I wonder what is the best and free way to do that? As I'm thinking of using a free smtp gmail to transmit data but I'm worried about the security issue as credentials would be stored inside the program and also firewall might block data from sending out. Another choice would be sending a POST request, but I do not have any server or is there any free server that allows user to post some small bytes of data?
View 1 Replies
Feb 15, 2012
Here's the content of text file:
0022005138450000425081959 091
003200513845161223180000001Doppel-Pack, WET "Warming" & "Original" 0000001499
003200513845161048400000001Handschellen-Set, "Fetish Fantasy" 0000000999
003200513845161214340000001Strap-on, "His Vibrating S(extension)" 0000003999
[code]....
View 2 Replies
Dec 5, 2010
I am sort of stuck on this what I want to do is when you click a button it process's a command in cmd in the background(I dont want a CMD window to appear) and then if the cmd command has finished it shows a message box like
Msgbox("Command Successful")
View 10 Replies
Jun 21, 2010
The following is a program that lets users store business logic for later retrieval by other users.
I am trying to run multiple logical statements pulled from sql server database. one statement may be dependent on another one. I've been compliling the code in a wrapper and In-Memory set to True. I ran 18 logical statements in a loop and it took approx 3 seconds to run. These were simple one line statements containging math and/or If Then's.
Any other methods available out there. please no 3rd party plug-ins.
View 1 Replies
Mar 26, 2010
Is there an easy way of trapping the enter key in a textbox to process the data, instead of having a button beside it?
View 2 Replies
Jun 18, 2012
i have a piece of code that i wanna know that in how many miliseconds it would be run.
Public Sub TurnLeft(ByVal speed As Single)
Dim timer As Single
If Not IsNothing(Me._DriveActor) Then
[code].....
View 2 Replies
Oct 28, 2010
I have a program that opens a fixed length delimited file and process each line depending on what it starts with.
Sample Input:
101 000000000 0000000001010271255A094101National Payment Corp National Payment Corp
5200Happy Company ACH20101021-001.txt PPDDIR DEP 101105101105
[code].....
View 3 Replies
Aug 13, 2011
I am writing a program with a loading bar. I also have a label that says what the program is currently loading (Eg. 'Generating Numbers...', 'Determining Winners...').
It all works fine, but the label sometimes doesn't change or doesn't even appear because the program is too busy processing all the other stuff. I hope that makes sense...
Is there any way to centralize processing on the label and progress bar at times?
View 3 Replies
Jul 15, 2010
I am making a program which will read data from csv and pick up Username & Computer name from the csv.
Then it will run commands via telnet with those username and computer on line at a time. I have reached this goal without any problem. I wanted to paste the code here but its too much.
Basically what i now want to do is have a option for user to skip a command.
Like if csv have 3 users in it. i.e.
j.doe, comp1
t.test, comp2
u.user, comp3
Popup will come and say do you want to run the command "add user j.doe, comp1" something and you will have option to say Yes, No , Cancel.
Where yes will run the command and no will skip that user (go to next one) and cancel will end the whole process.
I know Msgbox yes,no is there but i dont know how to skip that user.
Following is the code which migh
vb
Dim objCmdSelect As New OleDbCommand("SELECT * FROM " & fileNam & "", objConn)
For i = 0 To objDataset1.Tables(0).Rows.Count - 1
[Code]....
View 2 Replies
Aug 15, 2009
imagine i have an image of an whole family, but then i crop just one face, to use, now i have the photo of the whole family, and the photo of a face, which is part of the big photo. what i want is an app that can scan the big image, looking for the small image, and then return if it found it, and the rectangle where the small pictures, fits, in the big picture. any ideas?
View 3 Replies
Jan 7, 2011
I am creating a simple Website where users will update SQL database. The website works fine however, new records in the SQL database records needs to appended every night from a text file. What is best way to append records in the background every night? have created a stand alone vbscript to append the recoeds to the table in SQL Database hoping to schedule it to run every night but the problem I am facing is when users are using the Website my vbscript fails with the message "The file is being used by
View 4 Replies