View Single Post
  #3 (permalink)  
Old 09-15-2007, 08:49 PM
Erel's Avatar
Erel Erel is offline
Administrator
 
Join Date: Apr 2007
Posts: 3,205
Default

Looks great!
Two tips:
1. Users with WM6 devices should use the Serial2 library instead (no nead for any other dll).
2. Instead of all the Button??_Click subs you could do something like:
Code:
Sub App_Start
 ...
 For i = 3 to 75
   AddEvent("Button" & i,Click,"KeyPad")
 Next
End Sub
Sub KeyPad
 serial.Output (sender.Text)
 label1.Text = strlabeltemp & sender.Text
End Sub
Reply With Quote