Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

Convert BeginInvoke(Function) from vb 2010 to vb 2008

$
0
0
Hi, i need your help to convert fragment code from vb 2010 to vb 2008.

i only have visual studio 2008 and i must developer a application with your codes and examples.

The follow part code what is red in VBNET 2008 is a error to compile.

Private Sub ONCAPTURE(ByVal captureResult as CaptureResult)
If (CaptureResult.ResultCode <> ResultCode.DP_Success) Then
BeginInvoke(Function()
lblinfo.text = "Some Text" & CaptureResult.ResultCode.tostring()
......
Return True
End Function )
Endif
End sub

Please help me this mistake.


Thanks.

Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>