Posted on 2004-04-24
I tried to write an windows application using my .dll file. I created a library MyLibrary in which I implemented a class called Scanner. In the Scanner class, I had a method called Scanning which used a method from another .dll file to scan the driver license. In the Scanner class, I also had another method called MyThread which created a thread with the starting entry is Scanner (New Thread(AddressOf Me.Scanner)). Also, I created a windows application with a form and a button. I import MyLibrary into this windows application. When I click the button on the form to scan the driver license, the scanner scanned the driver license, but I could not interact with the form to type something in during the time the scanner scanned the driver license. After it finished scanning, then I could interact with the form. Is there anyway that I can interact with the form during the time the scanner scans the driver license? Please help me out and it would be nice if I can see the sample code. Thanks.