Home
Search
 
What's New
Index
Books
Links
Q & A
Newsletter
Banners
 
Feedback
Tip Jar
 
C# Helper...
 
XML RSS Feed
Follow VBHelper on Twitter
 
 
 
MSDN Visual Basic Community
 
 
 
 
 
 
TitleFind the first day of the week on this computer in VB.NET
DescriptionThis example shows how to find the first day of the week on this computer in VB.NET. It uses the WeekdayName function.
KeywordsWeekDayName, internationalization, first day of the week, locale, VB.NET
CategoriesSoftware Engineering, VB.NET
 
The program uses the WeekdayName function to get the name of the 1st day of the week. The final parameter tells the function to use the system's setting for the first day of the week.
 
Private Sub Form1_Load(ByVal sender As System.Object, ByVal _
    e As System.EventArgs) Handles MyBase.Load
    lblFirstDayOfWeek.Text = WeekdayName(1, , _
        FirstDayOfWeek.System)
End Sub
 
 
Copyright © 1997-2010 Rocky Mountain Computer Consulting, Inc.   All rights reserved.
  Updated