Implementing a progressbar in VB.NET
Posted on 2004-04-24
I want to implement a progressbar to show the mail merge progress after a user has selected a letter from a combobox on Form1. My script so far as follows:
Private Sub cmdOK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdOK.Click
If ComboBox1.SelectedItem = "Letter1" Then
ElseIf ComboBox1.SelectedItem = "Letter2" Then
*Module1 contains the mail merge script
I want the progress bar to move on Form1 while the mail merge (Module1) is executing. I would appreciate any solutions as this is my first VB.net project.