Your question seems a bit ambiguous. Did you mean creating a log file, as Tekmaven gave you a suggestion on how to do it, or do you simply want a message to be shown (like: Good morning John, it is 08:15 AM) at your program startup?
Yes you are correct, I finally got that code to work.
I get some errors with this code any suggestions?
public partial class News
public string GetNews(string xmlUrl)
System.Text.StringBuilder NewsBuilder = new System.Text.StringBuilder();
XDocument NewsFeed = XDocument.Load(xmlUrl);
foreach (XElement Element in NewsFeed...<root>...<NewsFeed>...<news>)
NewsBuilder.Append(((char)(61623)).ToString() + " " + Element.Value + System.Environment.NewLine + System.Environment.NewLine);
catch (Exception ex)
return "Could not retrieve news, " + ex.Message;
I Developed application in C# with crystal reports and created setup file in third party (Advance) Installer.When i installed my application on client system application is working but ...