Click here to Skip to main content
15,881,380 members

Articles by Prerak Patel (Article: 1, Tip/Tricks: 8)

Article: 1, Tip/Tricks: 8

RSS Feed

Average article rating: 4.87

Programming Languages
Visual Basic
4 Jan 2011   Updated: 5 Jan 2011   Rating: 4.87/5    Votes: 18   Popularity: 5.99
Licence: CPOL    Views: 58,378     Bookmarked: 27   Downloaded: 331
Please Sign up or sign in to vote.
You can reduce human efforts by automating the work.

Average blogs rating:

No blogs have been submitted.

Average tips rating: 4.23

C# 4.0
23 Jul 2011   Updated: 23 Jul 2011   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: CPOL    Views: 11,990     Bookmarked: 0   Downloaded: 0
Please Sign up or sign in to vote.
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,660     Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
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,710     Bookmarked: 1   Downloaded: 0
Please Sign up or sign in to vote.
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: 13,714     Bookmarked: 0   Downloaded: 0
Please Sign up or sign in to vote.
Type Character
Web Development
ASP.NET
9 Nov 2011   Updated: 11 Nov 2011   Rating: 2.71/5    Votes: 4   Popularity: 1.63
Licence: CPOL    Views: 20,760     Bookmarked: 1   Downloaded: 0
Please Sign up or sign in to vote.
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,460     Bookmarked: 3   Downloaded: 0
Please Sign up or sign in to vote.
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: 61,213     Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
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: 28,453     Bookmarked: 7   Downloaded: 0
Please Sign up or sign in to vote.
To get recent tweets of any user just with a tag. No code is required.

Average reference rating:

No reference articles have been posted.

Average project rating:

No projects have been posted.
Software Developer
India India
Working since 2006 on VBA, VB6, VB.Net, C#, ASP.Net, MSSQL




  • Courage is not the absence of fear, but rather the judgement that something is more important than fear.
  • The fear of suffering is worse than the suffering itself.
  • People need not fear the unknown if they are capable of achieving what they need and want.
  • Every blessing ignored becomes a curse.
  • Sometimes what's in your head isn't as crazy as you think.
  • We never really grow up, we only learn how to act in public.
  • You can make very bad teams with very good individuals.
  • Admitting mistakes means you have a sense of responsibility in your actions and that shows you are more matured than almost anyone. -Nithin