Form Freeze during process

Advertisement

CoolJack
Joined:
Posts:
1
Location:
GERMANY

Form Freeze during process

Hello!

I use your DLL for my VB2012 project. But if I download or upload a file with "put" or "get" than my form freez while processing. Have anywhere a solution for my problem?

My 2. problem: I would show the current process (eg. upload) with a progressbar. I can't find a solution for it. :(

THANKS for help!!

Chris

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,271
Location:
Prague, Czechia

Re: Form Freeze during process

CoolJack wrote:

I use your DLL for my VB2012 project. But if I download or upload a file with "put" or "get" than my form freez while processing. Have anywhere a solution for my problem?
Well, you need to start the transfer in an background thread.

My 2. problem: I would show the current process (eg. upload) with a progressbar. I can't find a solution for it. :(
Make use of Session.FileTransferProgress event:
https://winscp.net/eng/docs/library_session_filetransferprogress
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum