Link to home
Start Free TrialLog in
Avatar of sharpodal
sharpodal

asked on

Help on Long resource intensive operation with images

I need to combine image files and show progress dialog in a windows based application. I do not want to block the existing windows application and should be able to do other operations with it.

Please help with an approch. I have heard of worker thread and UI thread but which to use at what time to solve this issue would be helpful
Avatar of larkvale
larkvale
Flag of United Kingdom of Great Britain and Northern Ireland image

A simple solution is to periodically call Application.DoEvents() inside the image processing loop which will keep the user interface responsive

Alternatively you can use background worker thread
ASKER CERTIFIED SOLUTION
Avatar of JimBeveridge
JimBeveridge
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial