I have read posts here and elsewhere online but cannot figure out what the problem is. Please help. FYI, I am new to OOP.
I have 2 (simplified)code files shown below, one with the UI form and one class for the serial port stuff. When the beginInvoke occurs I get the uncreated handle...
Private Sub TreeView1_AfterSelect(sender As Object, e As TreeViewEventArgs) Handles TreeView1.AfterSelect
For Each Thing As String In Directory.GetFiles(e.Node.Tag)
Dim fi As FileInfo = New FileInfo(Thing)
I have an application that provides the users a list of crystal reports that they can run.
I use a datatable, displayed on a datagrid within a form, to show the users descriptive names for the reports, and a check box for each.
The users clicks the check box for the report(s) they want to run...
I made a simple Form1, with Text.Box1 (starting value=1) and Text.Box2 (starting value = 100000), as shown below :
I wanted that, when the Form loads,value of Text.Box1 keeps on increasing by 2 and value of Text.Box2 keeps on decreasing by 3. I wanted to achieve this by multi-threading...
Even though there are many examples of Invoke operations, I can't find something that works for me. (I'm using VS 2008, and working in VB)
Here is what i have:
A main module with functions (thread 1) that starts a BeginRead for a TCPClient. When the callback function executes (on thread...
This is for .NET Compact Framework 2.0
Here's the flow of what I'm trying to do:
1. On the main form a scanner class is instantiated that (in the scanner's constructor) sets the scanner settings (baud rate, parity, etc) and opens the scanner for use
2. A barcode is scanned (via a scanner...