Allow me to preface this with a disclaimer: I'm self taught in C#, basically I type code in from what I've found on the web, and try to get it to do what I want it to. I'm sure there's a lot of us out there, but I really know very little of the terminology. If I'm in error on something, please feel free to correct me.
That being said, I've written an app that generates emails for my support job. Some of these emails are applicable to multiple applications.
The email text is saved in txt files on the drive, and at runtime are selected from a list to be added to an email, depending on the support issue, and the application. What I'd like to do is have some of these be multi purpose emails, and have some sort of text in the email that represents a variable value to be specified at runtime. I've seen applications that allow you to specify variables in saved option text information that populates with information based on the computer name etc. (%computername% ) or something of that sort goes in the text, and at runtime it's replaced with "MYCOMPUTERNAME ".
How would I go about adding this information to a string variable that has been populated from one of these text files, and what sort of escape character can be used in the text file to accomplish this. I'm sure there's some sort of slick term for this sort of activity, but not knowing the term I've been driven to make my first post on a forum such as this :)
Thanks to whoever responds.
That being said, I've written an app that generates emails for my support job. Some of these emails are applicable to multiple applications.
The email text is saved in txt files on the drive, and at runtime are selected from a list to be added to an email, depending on the support issue, and the application. What I'd like to do is have some of these be multi purpose emails, and have some sort of text in the email that represents a variable value to be specified at runtime. I've seen applications that allow you to specify variables in saved option text information that populates with information based on the computer name etc. (%computername% ) or something of that sort goes in the text, and at runtime it's replaced with "MYCOMPUTERNAME ".
How would I go about adding this information to a string variable that has been populated from one of these text files, and what sort of escape character can be used in the text file to accomplish this. I'm sure there's some sort of slick term for this sort of activity, but not knowing the term I've been driven to make my first post on a forum such as this :)
Thanks to whoever responds.
Comment