Click here to Skip to main content
15,911,030 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Setting Primary Display Pin
Richard Andrew x6419-Jan-16 8:05
professionalRichard Andrew x6419-Jan-16 8:05 
QuestionThread vs Task, seeking advice before I write code, design point of view. Pin
jkirkerx14-Jan-16 7:49
professionaljkirkerx14-Jan-16 7:49 
GeneralRe: Thread vs Task, seeking advice before I write code, design point of view. Pin
Sascha Lefèvre14-Jan-16 8:10
professionalSascha Lefèvre14-Jan-16 8:10 
GeneralRe: Thread vs Task, seeking advice before I write code, design point of view. Pin
jkirkerx14-Jan-16 8:33
professionaljkirkerx14-Jan-16 8:33 
AnswerRe: Thread vs Task, seeking advice before I write code, design point of view. Pin
Sascha Lefèvre14-Jan-16 9:40
professionalSascha Lefèvre14-Jan-16 9:40 
GeneralRe: Thread vs Task, seeking advice before I write code, design point of view. Pin
jkirkerx14-Jan-16 11:06
professionaljkirkerx14-Jan-16 11:06 
AnswerRe: Thread vs Task, seeking advice before I write code, design point of view. Pin
Wombaticus15-Jan-16 0:05
Wombaticus15-Jan-16 0:05 
GeneralRe: Thread vs Task, seeking advice before I write code, design point of view. Pin
jkirkerx15-Jan-16 6:06
professionaljkirkerx15-Jan-16 6:06 
I went back to the single thread yesterday, and converted my threads to Await or Async. The part that sends the email is threaded already, using Thread and ThreadStart. I mange to run one test yesterday, and so far so good, it worked. Just need to plug in the sending part and test again.

Right now, the subscriber list has about 4000 people, so with a 5 second pause, it doesn't take long to send the list, about 4 hours. And they all go to the same mailserver for sending.

Well for what its worth, at least I have some experience with it, and will be ready if that day ever comes.

I'll probably be back for the stop question, if the cancellation token doesn't work for shutting down the service, and I need to figure how how to save the position of the subscriber list, to pick up where it left off.

But Thanks for the real work view for the proper design aspect!

GeneralRe: Thread vs Task, seeking advice before I write code, design point of view. Pin
Wombaticus15-Jan-16 6:19
Wombaticus15-Jan-16 6:19 
GeneralRe: Thread vs Task, seeking advice before I write code, design point of view. Pin
jkirkerx15-Jan-16 7:13
professionaljkirkerx15-Jan-16 7:13 
GeneralRe: Thread vs Task, seeking advice before I write code, design point of view. Pin
Wombaticus15-Jan-16 7:38
Wombaticus15-Jan-16 7:38 
GeneralRe: Thread vs Task, seeking advice before I write code, design point of view. Pin
jkirkerx15-Jan-16 9:00
professionaljkirkerx15-Jan-16 9:00 
GeneralRe: Thread vs Task, seeking advice before I write code, design point of view. Pin
Wombaticus16-Jan-16 7:22
Wombaticus16-Jan-16 7:22 
GeneralRe: Thread vs Task, seeking advice before I write code, design point of view. Pin
jkirkerx17-Jan-16 6:59
professionaljkirkerx17-Jan-16 6:59 
QuestionHow to alert checked items from checkedlistbox Pin
Daniel Elmnas11-Jan-16 2:46
Daniel Elmnas11-Jan-16 2:46 
AnswerRe: How to alert checked items from checkedlistbox Pin
Richard Deeming11-Jan-16 3:57
mveRichard Deeming11-Jan-16 3:57 
QuestionWindows service and a Form program, serializing data stored in a file, shared between the 2 programs Pin
jkirkerx9-Jan-16 13:29
professionaljkirkerx9-Jan-16 13:29 
AnswerRe: Windows service and a Form program, serializing data stored in a file, shared between the 2 programs Pin
Dave Kreskowiak9-Jan-16 18:17
mveDave Kreskowiak9-Jan-16 18:17 
GeneralRe: Windows service and a Form program, serializing data stored in a file, shared between the 2 programs Pin
jkirkerx10-Jan-16 7:33
professionaljkirkerx10-Jan-16 7:33 
GeneralRe: Windows service and a Form program, serializing data stored in a file, shared between the 2 programs Pin
Dave Kreskowiak10-Jan-16 7:41
mveDave Kreskowiak10-Jan-16 7:41 
GeneralRe: Windows service and a Form program, serializing data stored in a file, shared between the 2 programs Pin
jkirkerx10-Jan-16 9:40
professionaljkirkerx10-Jan-16 9:40 
AnswerRe: Windows service and a Form program, serializing data stored in a file, shared between the 2 programs Pin
Eddy Vluggen10-Jan-16 4:51
professionalEddy Vluggen10-Jan-16 4:51 
GeneralRe: Windows service and a Form program, serializing data stored in a file, shared between the 2 programs Pin
jkirkerx10-Jan-16 7:38
professionaljkirkerx10-Jan-16 7:38 
GeneralRe: Windows service and a Form program, serializing data stored in a file, shared between the 2 programs Pin
Eddy Vluggen10-Jan-16 11:11
professionalEddy Vluggen10-Jan-16 11:11 
GeneralRe: Windows service and a Form program, serializing data stored in a file, shared between the 2 programs Pin
jkirkerx10-Jan-16 13:27
professionaljkirkerx10-Jan-16 13:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.