Click here to Skip to main content
15,906,816 members
Home / Discussions / C#
   

C#

 
QuestionRun preccess in order Pin
cocoonwls21-Jan-07 21:43
cocoonwls21-Jan-07 21:43 
AnswerRe: Run preccess in order Pin
Guffa21-Jan-07 21:59
Guffa21-Jan-07 21:59 
GeneralRe: Run preccess in order Pin
cocoonwls21-Jan-07 23:25
cocoonwls21-Jan-07 23:25 
AnswerRe: Run preccess in order Pin
Guffa22-Jan-07 0:22
Guffa22-Jan-07 0:22 
QuestionTemplates... Pin
quiteSmart21-Jan-07 21:20
quiteSmart21-Jan-07 21:20 
AnswerRe: Templates.. Pin
Christian Graus21-Jan-07 21:38
protectorChristian Graus21-Jan-07 21:38 
GeneralRe: Templates.. Pin
quiteSmart21-Jan-07 21:42
quiteSmart21-Jan-07 21:42 
GeneralRe: Templates.. Pin
Christian Graus21-Jan-07 21:56
protectorChristian Graus21-Jan-07 21:56 
Well, your template will just be a string. Your keys will be things that a user won't ever type otherwise, so I presented it looking like a node: <mailto>, but it could be $MAILTO, or even MAILTO if you like. The point is to come up with something consistent, and the user will just type a template into a textbox, such as

$POSTALADDRESS

Dear $MAILTO,

Thank you for downloading a demo version of $THEPROGRAM. As you're aware, this demo will expire on $EXPIREDATE. We hope you've enjoyed the demo, if you have any questions, don't hestitate to ask us, your designated contact at $COMPANYNAME is $CONTACTEMAIL.

Regards,

$MAILFROM

And so, you just load that into a string, and for each email, make a copy, then call the replace method on the string class to replace each of the keys with the value for that email.


Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog

GeneralRe: Templates.. Pin
quiteSmart21-Jan-07 22:01
quiteSmart21-Jan-07 22:01 
GeneralRe: Templates.. Pin
Christian Graus21-Jan-07 22:39
protectorChristian Graus21-Jan-07 22:39 
GeneralRe: Templates.. Pin
donchev_p21-Jan-07 23:40
donchev_p21-Jan-07 23:40 
QuestionHow to sort datagridview in C#.Net Pin
aaraaayen21-Jan-07 20:52
aaraaayen21-Jan-07 20:52 
AnswerRe: How to sort datagridview in C#.Net Pin
Mircea Puiu21-Jan-07 22:21
Mircea Puiu21-Jan-07 22:21 
AnswerFor the unbound columns Pin
Mircea Puiu21-Jan-07 22:29
Mircea Puiu21-Jan-07 22:29 
GeneralRe: For the unbound columns Pin
aaraaayen21-Jan-07 22:39
aaraaayen21-Jan-07 22:39 
Questionhow to decode mime from email attachment. Pin
Eddymvp21-Jan-07 19:30
Eddymvp21-Jan-07 19:30 
AnswerRe: how to decode mime from email attachment. Pin
donchev_p21-Jan-07 23:41
donchev_p21-Jan-07 23:41 
GeneralRe: how to decode mime from email attachment. Pin
Eddymvp22-Jan-07 3:07
Eddymvp22-Jan-07 3:07 
Questionstatus bar Pin
raju_net181821-Jan-07 18:48
raju_net181821-Jan-07 18:48 
AnswerRe: status bar Pin
Guffa21-Jan-07 19:08
Guffa21-Jan-07 19:08 
Question,Keyboard toggle press Pin
dabuskol21-Jan-07 18:30
dabuskol21-Jan-07 18:30 
Question,Keyboard toggle press Pin
dabuskol21-Jan-07 18:30
dabuskol21-Jan-07 18:30 
QuestionListView Pin
karl170121-Jan-07 16:26
karl170121-Jan-07 16:26 
AnswerRe: ListView Pin
Ravi Bhavnani21-Jan-07 17:23
professionalRavi Bhavnani21-Jan-07 17:23 
GeneralRe: ListView Pin
karl170122-Jan-07 2:43
karl170122-Jan-07 2:43 

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.