It will depend, but most barcode readers offer an API that returns the code as a string.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
i have declared
Public arrBarCodeInformation() As BarCodeInformation
Public Structure BarCodeInformation
Dim tRegionRect As rect
Dim dwBarType As Integer
Dim fOrientation As Single
Dim lDecodeStatus As Integer
Dim lNoOfCharacters As Integer
Dim lpbDecodByteArray As Integer
Dim lReserved As Integer
Dim hReserved As Integer
using this i want to copy the memory value from integer value into the structure variable.how can it been done.tell me the syntax are any function to copy memory
Popular question This was asked just a few posts down. I believe you can't position the msgbox. You could make your own message box though. All it is is a form. It's little more work to re-invent the wheel but if you want to place it then you'll need to create your own. It will also allow you to make it topmost.
The background worker and the UI run on separate threads. In order to send results to the UI from the backgroundworker you can use the ReportProgress method of the background worker. In the UI you will need to handle this event to add new items to the grid.
Or you can return the results in the RunWorkerCompleted method than have the UI update the grid.
I want to write a realtime application - one window (running in the main thread) will talk to the outside world and get stock prices - then there could be any number of other chart windows each running in their own threads. When a new price comes into the main window I want to raise an event (new price) that all the other windows will pick up and if they are interested in it plot the value. So How do I raise an event that any number of other threads will pick up and process.
I am trying to add a line of text to a log file over HTTPS and after trying lots of different methods I either get a 405 error (method not valid) if I use POST or if I use PUT it simply overwrites the file rather than appending. I am literally pulling my hair out with this. Any help would be much appreciated. My code at the moment is:
Dim client As New System.Net.WebClient()
client.Credentials = New System.Net.NetworkCredential("XXX", "YYY")
I am using VB Dot net 2005. in my project i am using datagrid. i filling data grid with this command dgStudentDetail.DataSource = ds.Tables("tblStudentInfo") . i am using Fname Column Name for Father Name. in the grid it is showing column name Fname. How i can change Column Name in Data Grid.
I have deployed an application I created in VB.NET on a client's PC. The application accesses a local Access database file. Everything works fine.
When I move the locally stored Access DB file to a shared network drive, and update the appropriate connection strings in my app to reflect this change, the app will crash when it runs the next time with the usual Microsoft Send Error Report dialog box appearing. It gives you a memory dump and a System Unauthorized Access error message.
The shared network drive has full read-write properties enabled for the appropriate user.
However, the trouble is that once it crashes, even if you change the connection strings and move the Access file back locally, whenever you try to run it from then on it still refuses to work and crashes. Uninstalling and reinstalling the app bears no results. The only way I have found to get it to work again is by going into the appropriate user's Local Settings folder and renaming or deleting the local configuration files.
Is there a setting or a permission I need to set to get it to work on the shared network drive? Do I need to alter settings in the .NET framework? If so, what do I need to change and where do I need to change it? While on my development PC in Administrative Tools there is a 1.1 .NET framework configuration link and 2.0 .NET framework configuration link, on my client's PC where I deployed the app there is only a 1.1 .NET framework config link, even though .NET 2.0 is installed. Examining the link on my development PC, I discover that it points to a file in ProgramFiles\MSVisualStudio8, as compared to the 1.1 .NET config link which points to Windows\Microsoft.NET\Framework. So how do I configure 2.0 .NET framework if I don't have Visual Studio installed on that machine?
I know I've rambled on long enough and I've probably bored you guys, but any help would be greatly appreciated. Thanx.
The perfect code is always in your head...it just a matter of how hard you bang your head against the wall to get it out!
Last Visit: 31-Dec-99 19:00 Last Update: 2-Dec-23 5:27