chowchow123
Active member
- Joined
- Sep 6, 2007
- Messages
- 34
- Programming Experience
- 1-3
Hi
I've added a barcode reader recognition which has partially started to work
I get 'Invoke or BeginInvoke cannot be called on a control until the window handle has been created.' error message on the line highlighted
Friend Sub AccessFormMarshal(ByVal action As String, ByVal formText As String)
AccessFormMarshalDelegate1 = New AccessFormMarshalDelegate(AddressOf AccessForm)
Dim args() As Object = {action, formText}
' Call AccessForm, passing the parameters in args.
MyBase.Invoke(AccessFormMarshalDelegate1, args)
End Sub
Thanks
I've added a barcode reader recognition which has partially started to work
I get 'Invoke or BeginInvoke cannot be called on a control until the window handle has been created.' error message on the line highlighted
Friend Sub AccessFormMarshal(ByVal action As String, ByVal formText As String)
AccessFormMarshalDelegate1 = New AccessFormMarshalDelegate(AddressOf AccessForm)
Dim args() As Object = {action, formText}
' Call AccessForm, passing the parameters in args.
MyBase.Invoke(AccessFormMarshalDelegate1, args)
End Sub
Thanks