With Experts Exchange’s latest app release, you can now experience our most recent features, updates, and the same community interface while on-the-go. Download our latest app release at the Android or Apple stores today!
Protected Function LoadEmbeddedTemplate(ByVal EmbeddedFilename As String) As String 'NB - the EmbeddedFilename variable is passed as "MyProject.Templates.Text.TemplateFile.txt" Dim f As Stream = System.Reflection.Assembly.GetEntryAssembly().GetManifestResourceStream(EmbeddedFilename) Dim st As New StreamReader(f) st.ReadToEnd() st.Close() Return st.ToString End Function
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.