How to pass arguments to a BackGroundWorker
问题 Imports SpeechLib Public Class Form1 Public vox = CreateObject("sapi.spvoice") Private Sub cmdSpeak_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdSpeak.Click Dim text2 As String = "Hello , This is a Text. Hello , This is a Text." BackgroundWorker1.RunWorkerAsync() End Sub Private Sub cmdPause_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdPause.Click vox.pause() End Sub Private Sub Form1_Load(ByVal sender As Object, ByVal e As