Using threads to run multiple processes at Startup
IT_at_ECommunity
Date: 01/13/05
- Next message: Joe Fallon: "Merge String with Variables"
- Previous message: roy.anderson_at_gmail.com: ""Cast" error with VB code in .aspx page, with a twist..."
- Next in thread: Peter Huang: "RE: Using threads to run multiple processes at Startup"
- Reply: Peter Huang: "RE: Using threads to run multiple processes at Startup"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 13 Jan 2005 15:33:04 -0500
I want to fire off threads to start retrieving File from several locations.
FTP and the local network. Is it ok to start these threads on the main form
load.
Ex.
Every day we load EDI files into a SQL server. When the main form start out
can I have a thread run this process and disable the menu item so that the
user does not try to load the files until they are all downloaded. And is it
ok to disable the dispose method of the form until all transfers are
complete?
I have tried using a service to process this but it need to be setup to run
under a local user account which is the only way I can get it to hit network
shares.
Any suggestions on a better way. I chose to go the way of a service to
prevent user error when FTPing files and handling all the file movement so
all they have to do is generate the reports. The more steps I can take away
from the end-user, the less errors.
Thanks,
Phil
- Next message: Joe Fallon: "Merge String with Variables"
- Previous message: roy.anderson_at_gmail.com: ""Cast" error with VB code in .aspx page, with a twist..."
- Next in thread: Peter Huang: "RE: Using threads to run multiple processes at Startup"
- Reply: Peter Huang: "RE: Using threads to run multiple processes at Startup"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|