String can be modified by using stringbuilder class. We can take an example for better understanding, suppose there are two string string11 and string2: Dim String1 As New StringBuilder("Hello") Dim String2 As New StringBuilder()
A verbatim string is one that does not need to be escaped which makes it easy to write, for example, a fully qualified file path like c:\myfolder\myfile.txt. This file path string can also created as verbatim string. Verbatim strings are those who started with @ symbol.
The common way to develop new functionality or custom functionality to outlook, word, excel is to develop COM addins. There are many different different technologies for making these types of addins such as Visual Basic 6.0, Delphi, C++ and .net etc.
Read Unread Messages from the Outlook Inbox This section describes how to use Microsoft Outlook Object Library to retrieve unread messages from the Outlook Inbox in Visual Basic .NET. Mailbox folders contain all Outlook built-in and custom folders. One of the ways to add a reference to a folder in the Mailbox is to specify one … Continue reading Read, delete and send email from Outlook in vb.net
We know that PDF is not Microsoft technology, it is created by Adobe system and widely used for document exchange, and based on post script. .Net framework does not provide any library to handles PDF files or it is not easy to handle PDF files in .net.
Ques 1. What’s the implicit name of the parameter that gets passed into the class’ set method? Ans : Value, and its datatype depends on whatever variable we’re changing. Ques 2. How do you inherit from a class in C#? Ans : Place a colon and then the name of the base class. Notice that … Continue reading C# Interview Questions And Answers: part-1
In this article we will discuss about notify icon control in vb.net, basically notify control is used for showing process that run in the background and don’t have their own interface. In Windows Services, we can use these notify icon’s to associate various functionality.
It is very easy to understood your code to another programmer if you write it in a managed manner and follow some standards.
Code snippet for decompressing file with GZipStream class in C# (Apply for .net 4.0). GZipStream class is for compressing and decompressing file(s) into gzip (read about gzip format on wikipedia) format which is based on based on the DEFLATE algorithm. So data is read in on a byte-by-byte basis, so you can not perform multiple … Continue reading Decompress, Extract, Unzip file with GZipStream Class in C#
In this article we will discuss that how to import data from any excel file into datagridview control in c#. – Start a new project in your visual studio in C#. – Add reference of Microsoft ADO Ext. 2.8 from .net COM component. We will use this library to extract all Excel Sheet from Excel … Continue reading Import data from excel to DataGridView in C#