I have seen many developers asking this questions and hence thought of writing this brief post. This post describes the code to send an email in C# using Gmail as mail server. SmtpClient smtpServer = new SmtpClient(“smtp.gmail.com”); smtpServer.Port = 587; smtpServer.Host=”smtp.gmail.com”; smtpServer.Credentials = new NetworkCredential(“username@gmail.com”, “PASSWORD”); smtpServer.EnableSsl = true; MailMessage mail = new MailMessage(); mail.From…
Windows 8 is here and we’re loving it. This post details few shortcut commands that we can use in Windows 8 – + Type – Search your PC + C – Open charms + F – Open Search charm + H – Open Share charm + I – Open Settings charm + K – Open…
In this post, I am sharing the downloadable links of Windows Phone SDK. Windows Phone SDK 8 Offline Installer Windows Phone SDK 7.1.1 Update Offline Installer Windows Phone SDK 7.1 Web Installer Offline Installer
Friends, We use AutoComplete feature in our websites many times. Wonder, how we can achieve the same in windows forms. Let us build it today. We will do it step by step as mentioned below- Open Visual Studio and create a new Windows Form Application Project and name it “AutoCompleter” Drag and Add a TextBox…
Quick Post – Sometimes, we need to remove a specific line from a text file. For instance, when working with .csv files we often need to delete the 1st record as it is the header of csv file and is not required. This post describes how to delete a specific line from your file. The…