How do i change the output of e.OverallProgress

Advertisement

wishmaster
Joined:
Posts:
2

How do i change the output of e.OverallProgress

Hi,

I have a problem with the SessionFileTransferProgress.
When i use: e.OverallProgress i get values of "0.00" where it counts up like "0.02" to "1" How do i get them to be "0" to "100" So that I can use this for a progressbar in vb.net? Do I need to use a math trick to change this? if so please explain.

Any help much appreciated.

Wishmaster

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
28,659
Location:
Prague, Czechia

Re: How do i change the output of e.OverallProgress

The "math trick" is to multiply the value by 100.
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum