The following code snippet can be used for binding the listview control with dataset or datatable. The following example requires a Listview control name Listview1.
Continue reading “Bind Listview from dataset in vb.net”
Tag: vb.net
Microsoft Visual Basic is simple, modern, general-purpose, object-oriented programming language, included in the Microsoft Visual Studio.
The latest version of Visual Basic .NET, which uses .NET framework 4.5. Async Feature, Iterators, Call Hierarchy, Caller Information and Global Keyword in Namespace Statements are some of the major features introduced in this version of VB. [Wikipedia]
How to get data of one or two column from dataset in vb.net
Suppose if you want to retrieve only one column or some specific columns from dataset or datatable. How can you do it. Is it possible? Continue reading “How to get data of one or two column from dataset in vb.net”
How to register hotkeys for your application in vb.net
This article is for how to register hotkeys for your application in vb.net.
Introduction:
How to perform various task or operation in application while it is not in focus (such as being minimized to tray). For example if we have a data entry application that is running in the system tray. When the user click on ALT + N keys, Continue reading “How to register hotkeys for your application in vb.net”
How to show all drives and their folders in treeview control with checkboxes
In this article i will show how we can bind all logical drives of your computer with their sub directories using vb.net programming languages.
The following example requires a Treeview control named Treeview1. Continue reading “How to show all drives and their folders in treeview control with checkboxes”
How to save a web page in VB.net
If you want to save a webpage on your local drive in vb.net then you can use one of the following approaches: Continue reading “How to save a web page in VB.net”
‘#Region and #End Region statements are not valid’ error message in .net
Some time you face an error message ‘#Region’ and ‘#End Region’ statements are not valid within method bodies/multiline lambdas, the main reason is that you does not put these statements at right place. Continue reading “‘#Region and #End Region statements are not valid’ error message in .net”
How to use resources file to store and play wav media file in vb.net
In this article, we will learn how to use .resources file to store .wav media file. You can use that .resources file into your project, and can play that .wav file programmatically. Continue reading “How to use resources file to store and play wav media file in vb.net”
How to play Beep in window application
If you want to play beep sound on the few some situation such as at the time of the application start up or at the time of displaying an error message or any notification in the application. Continue reading “How to play Beep in window application”
How to create .resources file and write string values using vb.net
You can store strings values in the .resources file at run time by creating .resources file through ResourceWriter class. you can save objects only in .resources and .resx resource files. Continue reading “How to create .resources file and write string values using vb.net”
Adding Bullets to richtextbox in vb.net
You can use SelectionBullet and BulletIndent properties to set the bullet at the beginning of the text. Continue reading “Adding Bullets to richtextbox in vb.net”