The Min Date and the Max Date properties allow you to put limits on the date range. The following are some of the commonly used properties of the Date Time Picker control: In this example, let us create a small application for calculating days of leave. Let us add two Date Time Picker controls on the form, where the user will enter the date of going on leave and the date of joining.
The first time I started trying to understand the VB6 string functions I was somewhat confused.
This tutorial will walk you through all the different ways you can us VB to handle strings.
If you are still confused feel free to post a comment and hopefully we can help get you cleared up.
The Date Time Picker control allows selecting a date and time by editing the displayed values in the control.
If you click the arrow in the Date Time Picker control, it displays a month calendar, like a combo box control.
The user can make selection by clicking the required date.The new selected value appears in the text box part of the control. The form in design view: Add the following code in the code editor window: Public Class Form1 Private Sub Form1_Load(sender As Object, e As Event Args) Handles My Base. VB has numerous built-in string functions for processing strings.Most VB string-handling functions return a string, although some return a number (such as the Len function, which returns the length of a string and functions like Instr and Instr Rev, which return a character position within the string).The functions that return strings can be coded with or without the dollar sign ($) at the end, although it is more efficient to use the version with the dollar sign.