This article is the extension of the past article How to crate Image Thumbnails in vb.net( The article shows how to create a user control for viewing all images of the directory or folder in a thumbnail view). Continue reading “Create Image Slide Show in vb.net”
Category: Visual Basic .Net
Get the list of all active visual Windows in vb.net
The Following code example demonstrate how we can bind a ListBox control with all active visual windows names in vb.net. Continue reading “Get the list of all active visual Windows in vb.net”
Change font color and style of the all label controls on the form using menu.
In the following example you can see that how you can change the font color and font style of all label controls using defined menu items.
Continue reading “Change font color and style of the all label controls on the form using menu.”
How to Set the Minimum And Maximum Dates at run time in MonthCalendar control
Some time users need to select date within some specific date-range, for it developer can set the minimum and maximum date for the MonthCalendar control such as Continue reading “How to Set the Minimum And Maximum Dates at run time in MonthCalendar control”
Bind Listview from dataset in vb.net
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”
Iterators in Visual Basic 11
An iterator method or get accessor performs a custom iteration over a collection. An iterator method uses the Yield (Visual Basic) or yield return statement in c# to return each element one at a time. Continue reading “Iterators in Visual Basic 11”
Add ContextMenu for each datagridview cell at run time in vb.net
In this article i will explain you how we can create dynamic context menu with cut,copy and paste menu items and how to add the this context menu to every cell of the datagridview at run time. Continue reading “Add ContextMenu for each datagridview cell at run time in vb.net”
Get all tables from sql server database into ListBox using vb.net
The following code is for binding all tables names from SQL server database into listbox. For it we are using query that select all object from sysobjects with an xtype of ‘U’. Continue reading “Get all tables from sql server database into ListBox using vb.net”
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”