MSMVPS.COM
The Ultimate Destination for Blogs by Current and Former Microsoft Most Valuable Professionals.
Sign in
|
Help
Home
Blogs
Media
Groups
Sushila
»
All Tags
»
.NET Faq
(
RSS
)
Browse by Tags
Sushila
Home
Syndication
RSS for Posts
Atom
RSS for Comments
Email Notifications
Go
Recent Posts
How To: Hide close button for Windows Form
How To: Get Selected Date from MonthCalendar control
How To: Get the foldername in which the file resides
How To: Extract numbers from string
How To: Open a pop-up window using dropdownlist
Tags
.NET Faq
Code Samples
General
Tips and Tricks
View more
Archives
May 2007 (1)
April 2007 (2)
November 2006 (2)
October 2006 (1)
September 2006 (2)
August 2006 (5)
January 2006 (3)
Sorry, but there are no more tags available to filter with.
How To: Hide close button for Windows Form
Several times there is a requirement to hide/disable the close button and to close the Form with a button on the Form to exit the application. To hide the Close Button on the form we can set ControlBox propertyof the Form to False (by default its set...
Published
Mon, Sep 09 2006 10:53 PM
by
Sushila Patel's Weblog
Filed under:
.NET Faq
How To: Get Selected Date from MonthCalendar control
VB.NET Private Sub MonthCalendar1_DateChanged(ByVal sender As Object, ByVal e As System.Windows.Forms.DateRangeEventArgs) Handles MonthCalendar1.DateChanged 'Display the dates for selected range Label1.Text = "Dates Selected from :" &...
Published
Tue, Aug 08 2006 9:03 PM
by
Sushila Patel's Weblog
Filed under:
.NET Faq
How To: Get the foldername in which the file resides
We come across situation many a times where we need the name of the folder in which the file resides. Let's say the folder is as "C:\Project1\CSProj1\somename\file1.cs" We need to get the folder "somename" We can do this by using...
Published
Fri, Aug 08 2006 10:49 AM
by
Sushila Patel's Weblog
Filed under:
.NET Faq
How To: Extract numbers from string
VB.NET Shared Function ExtractNumbers( ByVal expr As String ) As String Return String.Join( Nothing, System.Text.RegularExpressions.Regex.Split( expr, "[^\d]" ) ) End Function C# static string ExtractNumbers( string expr ) { return string.Join...
Published
Thu, Aug 08 2006 9:56 PM
by
Sushila Patel's Weblog
Filed under:
.NET Faq
How To: Open a pop-up window using dropdownlist
To open pop-up window using <asp:dropdownlist..> VB.NET Protected Sub DropDownList1_SelectedIndexChanged(ByVal sender As Object, ByVal e As EventArgs) Response.Write("<script>window.open('" + DropDownList1.SelectedValue + "'...
Published
Wed, Aug 08 2006 11:13 AM
by
Sushila Patel's Weblog
Filed under:
.NET Faq
How To: Customize Calendar Control to limit the users to select day on or after today
In this Sample code we will see how to customize calendar control to limit the user to select the day on or after today Step 1: Drag Drop Calendar Control <asp:Calendar id="Calendar1" runat="server"></asp:Calendar> Step 2: In code behind use...
Published
Sun, Jan 01 2006 5:32 PM
by
Sushila Patel's Weblog
Filed under:
.NET Faq
Copyright © is the original authors. Blog site is an independent site not sponsored by Microsoft. The Yoda blog server and the Brianna SQL server would like to thank www.ownwebnow.com and www.exchangedefender.com. They wouldn't be here and broadcasting without the generosity of Vlad Mazek and his companies.