T
twindscheffel
I have an asp page that runs as a Scheduled Task on an un-manned PC
(Win XP Pro). It loops through a list of recipients, runs a SQL query
for each one, formats the results (if any) as HTML and writes the html
back in to the database at the same time as sending the email.
At the moment, we are only testing it and it sends about 10 emails at
once, taking perhaps a second or two which is fine. When I make it
available to other users, there could be as many as 1000 emails to
send (and there could be 2 sql queries to run for each email) so I am
concerned that that asp page may time out.
Would it be better to use an asp timeout command to increase the time
permitted to run, or would it be better to turn in to a vbs file or
even make it a vb application?
Incidentally, I have tried to write vb applications using VB Studio
Express 2008 but can't find a way to create a connection to my
external SQL database. I know this is probably not the best place to
start but can anyone give a definite yes/no answer to whether it is
possible to connect to external SQL databases in VB Studio express?
(and if yes, any sample code anywhere?)
Thanks
(Win XP Pro). It loops through a list of recipients, runs a SQL query
for each one, formats the results (if any) as HTML and writes the html
back in to the database at the same time as sending the email.
At the moment, we are only testing it and it sends about 10 emails at
once, taking perhaps a second or two which is fine. When I make it
available to other users, there could be as many as 1000 emails to
send (and there could be 2 sql queries to run for each email) so I am
concerned that that asp page may time out.
Would it be better to use an asp timeout command to increase the time
permitted to run, or would it be better to turn in to a vbs file or
even make it a vb application?
Incidentally, I have tried to write vb applications using VB Studio
Express 2008 but can't find a way to create a connection to my
external SQL database. I know this is probably not the best place to
start but can anyone give a definite yes/no answer to whether it is
possible to connect to external SQL databases in VB Studio express?
(and if yes, any sample code anywhere?)
Thanks