| Article: |
Hosting Windows Forms Controls in COM Control Containers | |
| Subject: | Cannot update label.Text value in ActiveX Dot Net? | |
| Date: | 2006-08-02 21:21:36 | |
| From: | HaDV | |
|
I write an ActiveX containing a progressbar and a label by C#. But when ruuning it from IE; the progressbar is OK, but the label's Text cannot be updated. Following is the code: for (int i=1; i <= totalFile; i++) { Thread.Sleep(this.SleepTime); completedFile += 1; lblProgress.Text = String.Format("{0} / {1}", completedFile, totalFile); progressBar.PerformStep(); }
|
||
Women in Technology
Hear us Roar
