Progressbar

0
0

I have label control on desktop which is being updated in long run process to display the status of progress.

I am using Application.Update, but its not working.

How can I achieve the same.

  • You must to post comments
0
0

It means that WebSocket is disabled on your server. If using IIS you have to enable the WebSocket feature.

  • Vishal Paskanthi
    Hi, Luca I have enabled web socket on server which is working fine. One thing i need know in this case, Is their any other solution instead of enabling web socket. My problem in this case, all of our customers are using Windows 2008 R2 servers on which IIS 7.5 is running. As mentioned in Official web site of Microsoft Web socket can only be supported on IIS8 and above. I have installed IIS 8 Express on the same server, but still i can not find Web Socket Protocol to Enable in Role Management. Please help me out. Thanking you, P Vishal
  • Luca (ITG)
    See sample here: https://wisej.com/support/question/send-backgroundtasks-notifications-based-on-client-criteria Just dropping a timer enables the automatic updates.
  • You must to post comments
0
0

Hi Vishal,

have you enabled Winsockets on your IIS and also in your application ?

Best regards
Frank

  • You must to post comments
0
0

Hi, Frank

I have downloaded the sample project of progress bar (https://wisej.com/blog/progress/) and deployed on IIS.

One thing I have observed that, once I click on start button it does not showing any progress, but if I just click on anywhere on desktop, then the object is refreshed.

Thanks in advance.

P Vishal

 

  • You must to post comments
0
0
    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Application.StartTask(Function()
updateTest()
Return True
End Function)
End Sub
    Sub updateTest()
For p_i As Integer = 1 To 7000000
Me.Controls(“lbl_progress”).Text = “Processing… ” & Format(p_i, “00000000”)
Application.Update(Me)
Next
End Sub
  • You must to post comments
0
0

Hi Vishal,

it depends on how you start the long run process. Can you please share some details / code ?

Also, you might want to have a look at our progress bar blog entry:

https://wisej.com/blog/progress/

Best regards
Frank

  • You must to post comments
Showing 5 results
Your Answer

Please first to submit.