Visual Basic Net Source Code Samples


Windows Presentation Foundation /

The Visual Basic Users Code Library: The VB and VBA users code library. Contains a VAST library of free source code. Utorrent download windows 10 64 bit. Minitool partition wizard 5ch. The code samples include API, SQL, ADO, ADOX, MAPI, ADO.NET, VB.NET, VB.NET Interop. Browse the.NET Frameworksource code online, with search and navigation powered by Roslyn. See details at the.NET Framework blog. How to configure Visual Studio for debugging.NET framework. Find type and member declarations, files, assemblies and GUIDs. Bluestacks mac os indir.

3D17AccessText4
Animation75Application10
ApplicationCommands13ArcSegments2
BackgroundWorker2Binding30
BitmapEffect20Border3
Brush21BulletDecorator1
Button57Canvas33
CheckBox6Clip1
CollectionViewSource5Color22
ComboBox8Command11
Common Dialog1ContextMenu1
ControlTemplate9Cursor3
DataContent2DataTemplate5
DockPanel13DoubleAnimation5
DrawingGroup1Ellipse25
Event21EventTrigger15
Expander4FlowDocument37
Font8Frame5
Geometry33Glyphs1
Grid46GridSplitter7
GroupBox2HierarchicalDataTemplate1
Hyperlink2Image24
ImageBrush38InlineUIContainer1
InputGestureCollection1ItemsControl4
IValueConverter3Key Event19
Label6LayoutInformation1
Line11LinearGradientBrush12
ListBox42ListView8
Margin2Matrix10
MediaElement9Menu13
MessageBox5Mouse24
MultiDataTrigger1NavigationWindow1
ObjectDataProvider5ObservableCollection4
Padding2Page9
Panel3PasswordBox1
Path35Polygon13
Polyline13Popup6
Print3ProgressBar6
RadialGradientBrush9RadioButton7
Rectangle27RepeatButton3
Resource34RichTextBox11
RoutedCommand13ScrollBar1
ScrollViewer7Slider9
Span9SpellCheck1
StackPanel18StatusBar7
Storyboard12Stroke23
Style27StyleSelector1
SystemParameters1SystemSounds1
TabControl5TextBlock36
TextBox28Thread16
Timer3ToggleButton2
ToolBar4ToolTip7
Transform21TreeView5
UI Element16UniformGrid3
ValidationRule2Viewbox7
VisualBrush8Window38
WrapPanel6Xaml26
XmlDataProvider3
Net source code

Data Structure /

Array Multi Dimension14Array Preserve1
Array ReDim3Array Search22
Array Sort17Array41
ArrayList29ArraySegment1
BitArray11CaseInsensitiveComparer1
Collection11CollectionBase2
CollectionsUtil1Column Map1
CompareTo2ConcurrentBag1
ConcurrentQueue1ConcurrentStack1
Connection2Dictionary21
Enumerable13HashSet13
HashTable15HybridDictionary1
IComparable3IComparer2
IConvertible2IDisposable2
IEnumerable3IFormatProvider1
LinkedList6LinkList Yours1
List Yours5List64
ListDictionary4NameObjectCollectionBase8
NameValueCollection5OrderedDictionary2
Queue Yours1Queue12
ReadOnlyCollectionBase3Sort1
SortedDictionary23SortedList38
Stack Yours1Stack6
StringCollection5StringEnumerator1
Tree Yours1

Generics /

+1, this used to be a huge problem when Googling for code examples online. Nobody ever specified VB 5/6, or.NET, so it took some time to find the right stuff. – Brad Mar 30 '11 at 17:21. Free visual basic code, vb code. Visual Basic, VB.NET, C#, ASP, ASP.NET source code snippets and downloads in all categories including, Visual Basic database. Visual Basic Projects, Visual Basic Examples, Visual Basic Source Code Search form Visual Basic is a third-generation event-driven programming language and integrated development environment (IDE) from Microsoft for its COM programming model first released in 1991.

Generic Class4Generic Delegate1
Generic Dictionary2Generic Function1
Generic Interface1Generic List2
Generic Tree2

Class /

Abstract Class2Class Define4
Class Type2Clone2
Constructor8Extension1
Hash Code1Inheritance4
Instance Variables1Interface10
Me1Member Function1
Operator Overload1Overload2
Overridable3Override2
Polymorphism2Private2
Property7Protected1
ReadOnly4Shadows1
Shared5ToString3

Database ADO.net /

Access Connection String2Access Data Delete1
Access Data Insert1Access Data Read1
Access Data Update1Access Database2
ADO.net Exception3Alias1
Data Bind to ComboBox1Data Bind to DataGrid3
Data bind to Label1Data bind to ListBox2
Data Bind to TextBox3Data Provider5
Database ListBox2Database ListView3
Database NULL1Database Reader5
Database to SOAP1Database to XML5
Database Utility2DataColumn2
DataGrid6DataSet Read2
DataSet to Binary1DataSet Update4
DataSet XML4DataTable1
DataView1Db21
Encrypt Database Data2Fill DataSet1
Filter1MySQL2
ODBC2OleDb Adapter1
OleDb SQL Server Connection String1OleDb Store Procedure2
OleDb Table Schema2OleDbCommand Parameter 1
OleDbConnection1OleDbDataReader2
OleDbException1Oracle2
OracleConnectionStringBuilder2Scalar Data3
Sql Data Adapter2Sql Data Type3
SQL Server Connection String2Sql Server Store Procedure4
SqlCommand Builder1SqlCommand Create3
SqlCommand Delete2SqlCommand Drop2
SqlCommand Insert4SqlCommand Parameter4
SqlCommand Select6SqlCommand Update2
SqlConnection8SqlDataReader8
Table Column3Table Relation3
Table Schema2Transaction6

File Directory /

Visual basic tutorials
Binary File Read8Binary File Write12
CryptoStream1Cypher Decypher File4
DeflateStream2Directory40
DirectoryInfo22Drive10
DriveInfo2File Drag Drop1
File Lock1File Open Mode1
File System Watcher3File System3
File46FileInfo26
FileIOPermission1FileMode1
FileOptions1FileSecurity2
FileStream18FileSystemInfo1
FreeFile1GZipStream3
IsolatedStorageFile1Memory Stream4
Path4Serialize Object7
Serialize to XML2Special Directories7
Stream Action1Stream Reader9
Stream Writer23Stream10
StringReader1StringWriter4
TempFile1Text File Read11
Text File Write14TextReader1

LINQ /

All2AndAlso1
Anonymous Object6Any3
Average3Count6
Distinct5Enumerable1
Except2First4
FirstOrDefault3From4
Func3Group5
Intersect3Lambda5
Let1Max6
Min4Order9
Query19Reverse1
Select27SequenceEqual3
Single1SingleOrDefault1
Skip3SkipWhile1
Sum5Take5
TakeWhile2ToArray1
Union3Where13

GUI /

Action Handler1Anchor2
Background Worker1Button7
CheckBox2CheckBoxList5
ComboBox2Container Control1
Context Menu1Control Inheritance2
Control Owner Draw2Control Subclass2
Control8Cursor3
DataGridView2DataRow1
Date Time Picker3Dialog Color Chooser3
Dialog File Save Open6Dialog Folder Browser3
Dialog Font4Dialog Print2
Dialog Your Own4Dock3
DomainUpDown2Drag Drop9
Drag Move1Error Provider1
Form Event2Form Inheritance2
Form OnPaint4Form Owner1
Form Redraw1Frame Form6
Frame Icon1Frame Special9
GroupBox2GUI Basics1
GUI Event4Helper Provider2
Image List1Label Multiline1
Label5Layout Panel1
Layout3LinkLabel6
ListBox12ListView12
MDI6Menu11
MessageBox4Month Calendar4
MsgBox1Notify Icon Tray2
NumericUpDown3Paint Mode3
Panel3Password1
PictureBox5PopupMenu1
Print Document3Print Preview6
Print Setting6Print Setup Dialog1
Progress Bar3Property Grid2
Radio Button5ReDo UnDo1
Resources5RichTextBox4
Rtf format2Ruler1
Screen Capture2Scrollable Control1
ScrollBar4SDI2
SendKeys1Splash Screen1
Split Container2Status Bar4
System Font5System Icons1
TabControl3TextBox Special2
TextBox Validation4TextBox6
ToolBar2ToolStrip Menu1
Toolstrip4Tooltip1
TrackBar1TreeView9
User Control2

Event /

Focus1Key Action4
Mouse Draw1Mouse Enter Leave1
Mouse Move2

2D /

Arc3Area Combination5
Arrow1Bezier4
Bitmap5Bmp2
Brush6Clip6
Color6Curve3
Drag Draw1Draw Image3
Draw String7Ellipse2
Fill Mode1Font Metrics1
Font Paint7Gif1
Gradient16Graphic Path10
Graphic State1Graphics Path Iterator1
Hatch Brush3Icon1
Image Animator2Image File1
Image6Interpolation Mode1
JPG1Line Alignment1
Line Compound1Line Dash3
Line Join2Line Smooth Mode1
Line4LineCaps4
Matrix1Paint Size2
Path String1PathGradientBrush1
Pen Alignment2Pen Join1
Pen7Pie2
Ploygon1PNG1
Public2Rectangle4
Region1Rotate3
Scale9Shape1
Shear2Smooth3
Star2String Format Paint8
String Trim Paint1Text Contrast1
Text Layout2Text Rendering Hint2
Texture Brush5Texture4
Tiff1Transform5
Translate2ttf File1
Wmf4

Network Remote /

Dns9Domain Name1
Email1HttpWebRequest3
IP Address9Message Receiver1
Message Sender1Remote asynchronus1
Remote Basics3Remote Factories1
Remote Life Time1Remote Mode2
Remote Object1Remote Soap Server1
SOAP Envelope1SocketAddress1
SocketPermission2TCP Client1
TCP Server3UDP Client14
UDP Server1URI30
UriBuilder5Web Page4
Web Request17WebClient3
WebException1WebHeaderCollection5
WebPermission12WebResponse8

Thread /

Buffer1Lock1
Producer Consumer3Suspend Resume1
Thread Abort1Thread Basics4
Thread DeadLock1Thread Join3
Thread Priority2Thread Resume1
Thread State2Thread Status1
Thread Suspend1Thread Synchronize4
Thread Wait1

Visual Basic Dot Net

XML /

DOM3Namespace4
Read XML File2XML Attribute26
XML Database1XML DataGrid2
XML DataSet3XML File Creation6
XML File Read9XML Node51
XML Schema44XML Serialize5
XML String1XML Transform7
XML Tree5XML Validation8
XmlConvert7XmlDeclaration1
XmlDocument20XmlElement2
XmlImplementation1XmlNode20
XmlProcessingInstruction1XmlQualifiedName1
XmlReader52XmlResolver3
XmlSchemaSet1XmlTextReader18
XmlTextWriter12XmlUrlResolver1
XmlWhitespace1XmlWriter25
XPath7XPathDocument2
XPathNavigator48

XML LINQ /

Aggregate1Descendants5
Namespace1Query15
XAttribute23XComment1
XContainer14XDocument34
XElement64XML Edit23
XML Load11XML Save4
XNamespace26XObject10
XPath7

Security /

Visual Basic Net 2010

AsnEncodedDataCollection1Cryptography6
DESCryptoServiceProvider2MD51
RSAPKCS1SignatureFormatter1Security3
X509Certificate2Collection1

Windows System /

Clipboard9Email Client1
Environment Setting15Event Log2
Excel2Management1
ManagementClass3Memory1
Process16Registry3
System Data Type1System Web Browser1
User3Volumn1
Web Favorite4Window Message2
WndProc1

Application /

Painter1Text Editor2
Web Browser1

Internationalization I18N /

ASCIIEncoding14CultureInfo I18N16
Encoding44NumberFormat3
NumberFormatInfo27NumberStyles11
RegionInfo8UnicodeEncoding7
UTF8 File1UTF8Encoding8

Date Time /

Date Format8Date Operation34
Date Time Format32Date Time Function6
Date Time Parse21Date Time83
DateTimeOffset4TimeSpan17
TimeZone5TimeZoneInfo31

Development /

Application2Assert1
BitConverter30Calendar23
Command Line5Console Format29
Console34Convert to Boolean13
Convert to Byte16Convert to Char11
Convert to Decimal13Convert to Double12
Convert to Int1615Convert to Int3216
Convert to Int6415Convert to SByte14
Convert to Single13Convert to String29
Convert to UInt1617Convert to UInt3215
Convert to UInt6416Convert19
Debug1Decoder4
Environment25Err Number2
Event2Exception Catch6
Exception Message4Exception Stack2
Exception System4Exception Yours4
FormatNumber1Garbage Collection12
GetType5GregorianCalendar9
GUID4Is Value Type1
Late Binding1Math Function41
Object15OperatingSystem3
Password1Random23
Reflection15Regular Expressions52
SecureString1SerialPort7
Sound1String Format5
StringInfo1Symmetric Algorithm1
Timer2Version2

Data Types /

Visual Basic Tutorials

BigInteger103Boolean10
Byte31Char44
Complex53Convert from String38
Data Type Convert22Data Type15
Decimal Format15Decimal Parse4
Decimal36Double Format36
Double Parse8Double26
Enum Format11Enum44
float4Hex9
Integer Format32Integer Parser2
Integer25Long9
NumberStyles3Numeric Format69
Oct1SByte12
Short1Single26
String Compare26String Search13
String Split14String107
Tuple7UInteger1
ULong3UShort1

Language Basics /

Visual Basic Net Free Download

Action2And2
AndAlso2As2
Attribute3Boxing UnBoxing1
ByRef8ByVal9
Cast1Catch Exception3
Character Trmming12Const5
Delegate11Do Until2
Do While5Exit Try1
Exit3Finalize3
Finally2For Each3
For11Function Parameter4
Function Recursive4Function3
Goto4If7
IIf1Is1
Lambda7Macro2
Main Function2Mod2
Not2nullable3
Operator Logic3Or1
OrElse2Overflow1
Select9StringBuilder45
Structure9Throw7
Variable Scope3Variable1
While1With1
Xor2