Language : vbnet

Title User Language Tags Description Date
Get Page Source Code nimblebits VB.NET

You can use this to get the page source code of any valid URL. Tested on VS2010.

April 9
Enum Description dimitrisdapontes VB.NET

Returns the description set in an enum value, or if not description is found it returns the name of the enum value

Example

Friend Enum Duration
    <Description("Every> Year = 1
    <Description("Every> Semester = 2
End Enum

GetEnumDescription(Duration.Year) returns "Every Year"
January 26
Read an external url into a string variable. jprochazka VB.NET

Assigns the contents of a "url" to the string variable "result".

November 30
Get the MIME type of a file. jprochazka VB.NET

By running the function GetMimeType(file.name) the following code will return the MIME type for a file.

November 29
VB.NET Method Perform Scalar / Count nimblebits VB.NET

This is a method that can be used to take a connection string and a valid oledb command and perform a scalar count. The returns an Integer/Int32 value.

November 28
Sample DataView Webpart for SharePoint Designer 2010 juliehogge VB.NET

Sample DataView Webpart for SharePoint Designer 2010 demonstrating adding the WebURL parameter and renaming listID to listName.

November 27
Copy items between 2 ListView Controls ed_trench VB.NET

Copying/Moving items between 2 ListView Controls for reference

September 29
HtmlHelpersEnums dmilligan VB.NET

MVC HtmlHelper that creates a HTML drop-down list from an Enum.

September 1
Security Events nnsense VB.NET August 31
Determine if text file is Unicode encoded ShaneGowland VB.NET

The .NET Framework doesn't support automatic detection of character encoding in the default file I/O methods. This is a quick function that returns True in the specified file is Unicode.

July 23
Auto Scrolling Controls jshultz4 VB.NET

Tested on multiline textbox and listview.

June 5, 2012
Aggregate Into Max() mazrabul VB.NET April 11, 2012
Add a Command Bar mazrabul VB.NET April 11, 2012
Bold a Range mazrabul VB.NET April 11, 2012
Dynamic CSS file in header kzelda VB.NET

Dynamic Add css file in header

April 10, 2012