In the below there are two methods that can be use to extract the file name from the full file path. Continue reading Get the file name from the full path in VB.Net
You can use the following functions to convert XmlElement to XElement and XElement to XmlElement in VB.Net. Continue reading Code snippet: Converting XmlElement to XElement and XElement to XmlElement in VB.Net
The following article demonstrates how to create new DataTable from the DataView or DefaultView of another DataTable. The general requirement for doing this is that once you have retrieved DataTable from a data source and than you may need to sort or filter the data without retrieving it again. You can use the ToTable() method … Continue reading Create new DataTable from the DefaultView of the another DataTable
Several days past i got a comment of my user on the article ‘Create a new Word document using VB.Net‘. He was facing the trouble to export the image to Word document. He wrote his problem as: I have a Datagridview and all those three fields has been showed in the Datagridview , I have … Continue reading Export the content of DataGridView to Word Document in vb.net
System Restore Point is a very useful feature of Windows Operation System. This is basically used when we got some issue with OS because of any new installation. By the help of this feature we can easily restored our OS with any previous date when this point was created (but we will lost all data … Continue reading How to Create System Restore Point from VB.net
Some time When you need to use some characters as text like and & in your web page, browsers understand these characters as the part of the html tags and they rendered incorrectly these characters unless characters are escaped as <, >, and & respectively. This scenario is same in Web browser control in .net. … Continue reading Render <, >, and & characters in Web Browser in Visual Basic
With the help of the following example you can remove the all empty rows in your datagridview control.
Suppose you need to add some additional functionality to your windows control in your application and you have requirement to use this control with same additional functionality many times in the application. This is same as when we use the textbox or label control classes in the Windows form.
Visual Basic and Visual C#, both have use the different syntax, here we can see the different names of the various data types in both languages.