C# 4.0 |
23 Jul 2011
Updated: 23 Jul 2011
Rating: 5.00/5
Votes: 1
Popularity: 0.00
Licence: CPOL
Views: 12,351
Bookmarked: 0
Downloaded: 0
What is new in this age old method? We can use LINQ too.Dim inputString As String = "Reverse me"Dim input() As Char = inputString.ToCharArrayDim result As String = New String((From i As Integer In Enumerable.Range(1, input.Length) _ Select...
|
Visual Basic |
20 Feb 2011
Updated: 20 Feb 2011
Rating: 0.00/5
Votes: 0
Popularity: 0.00
Licence: CPOL
Views: 11,831
Bookmarked: 2
Downloaded: 0
Here is an API way using WNetGetUniversalNameImports System.Runtime.InteropServices _ Private Shared Function GetUName(ByVal Path As String, ByVal outName As Integer, ByVal bObj As...
|
|
6 Oct 2010
Updated: 6 Oct 2010
Rating: 0.00/5
Votes: 0
Popularity: 0.00
Licence: CPOL
Views: 5,790
Bookmarked: 1
Downloaded: 0
Pretty simple to ignore blank entries..Dim s As String = """" & String.Join(""",""", txt.SelectedTextt.Split(vbCrLf.ToCharArray, StringSplitOptions.RemoveEmptyEntries)) & """"
|
|
31 Jan 2011
Updated: 3 Feb 2011
Rating: 5.00/5
Votes: 3
Popularity: 2.39
Licence: CPOL
Views: 14,044
Bookmarked: 0
Downloaded: 0
Type Character
|
ASP.NET |
9 Nov 2011
Updated: 11 Nov 2011
Rating: 2.71/5
Votes: 4
Popularity: 1.63
Licence: CPOL
Views: 21,630
Bookmarked: 1
Downloaded: 0
Single line in Linq This gets you the number of weekdays, i.e., Monday to Friday between given two dates.[VB]Dim dt1 As New Date(2011, 1, 1)Dim dt2 As New Date(2011, 1, 15)Dim days As Integer = (From d As Date In _ (Enumerable.Range(0, 1 +...
|
|
19 Oct 2010
Updated: 19 Oct 2010
Rating: 4.38/5
Votes: 5
Popularity: 3.06
Licence: CPOL
Views: 10,670
Bookmarked: 3
Downloaded: 0
Here you'll fine many more..http://www.codinghorror.com/blog/files/Visual%20Studio%20.NET%202005%20Keyboard%20Shortcuts.htm[^]
|
|
7 Jul 2011
Updated: 7 Jul 2011
Rating: 3.60/5
Votes: 9
Popularity: 3.44
Licence: CPOL
Views: 63,344
Bookmarked: 2
Downloaded: 0
How to remove characters from a numeric string
|
HTML |
9 Dec 2010
Updated: 3 Jan 2011
Rating: 4.67/5
Votes: 7
Popularity: 3.94
Licence: CPOL
Views: 30,314
Bookmarked: 7
Downloaded: 0
To get recent tweets of any user just with a tag. No code is required.
|