VB.Net by API examples (example source code) Organized by topic





Microsoft.VisualBasic /

ControlChars 1Err 1

Microsoft.Win32 /

Registry 3RegistryKey 2
RegistryValueKind 1

System /

Activator 1ApplicationException 1
ArgumentException 1ArgumentOutOfRangeException 1
ArithmeticException 1Array 13
AsyncCallback 1Boolean 1
Byte 1Char 10
CharEnumerator 2Console 11
ConsoleColor 1Convert 6
Date 17DateTime 8
Decimal 6DivideByZeroException 1
Double 7Environment 21
Exception 3FormatException 1
GC 5ICloneable 1
IComparable 1IDisposable 1
IFormattable 1Integer 6
Long 1MarshalByRefObject 1
Math 13My 36
Now 5ObsoleteAttribute 1
Random 1SByte 1
Short 2Single 1
String 24Timer 3
TimeSpan 2TimeZone 3
Today 1Type 7
UInteger 1ULong 1
Uri 7UriBuilder 1
UriHostNameType 1UShort 2
WeakReference 1

System.Collections /

ArrayList 9Collection 4
CollectionBase 1hashtable 5
ICollection 1IComparer 1
IDictionaryEnumerator 2IEnumerable 2
IEnumerator 2Queue 4
SortedList 3Stack 6

System.Collections.Generic /

Dictionary 3KeyValuePair 1
List 1

System.Collections.Specialized /

CollectionsUtil 1ListDictionary 1
NameValueCollection 4

System.ComponentModel /

BackgroundWorker 7

System.Configuration.ConfigurationSettings /

AppSettings 1

System.Data /

CommandBehavior 1CommandType 1
DataColumnMapping 1DataSet 5
DataTable 4DataTableMapping 2
DataView 1DataViewRowState 1
ParameterDirection 1

System.Data.Odbc /

OdbcCommand 5OdbcConnection 1

System.Data.OleDb /

OleDbCommand 1OleDbConnection 6
OleDbDataAdapter 5OleDbDataReader 1

System.Data.OracleClient /

OracleConnection 1

System.Data.SqlClient /

SqlCommand 3SqlCommandBuilder 1
SqlConnection 7SqlDataAdapter 7
SqlDataReader 5SqlException 6
SqlParameter 1SqlTransaction 1

System.Diagnostics /

Conditional 1Debug 5
EventLog 6EventLogEntry 3
EventLogEntryType 1FileVersionInfo 5
PerformanceCounter 3Process 7
StackTrace 1Stopwatch 1

System.Drawing /

Bitmap 16Brushes 3
Color 9ColorTranslator 2
Font 1FontFamily 5
FontStyle 5Graphics 36
GraphicsUnit 4Icon 5
Image 8ImageAnimator 2
KnownColor 1Pen 8
Point2D 1PointF 2
Rectangle 11RectangleF 3
Region 6RotateFlipType 3
SelectionMode 1Size 3
StringAlignment 2StringFormat 3
StringFormatFlags 1StringTrimming 6
TextureBrush 4

System.Drawing.Drawing2D /

ColorBlend 2CombineMode 2
CompositingMode 1CompositingQuality 2
DashCap 1FillMode 2
GraphicsPath 4GraphicsPathIterator 3
HatchStyle 2InterpolationMode 4
LinearGradientBrush 3LineCap 2
LineJoin 2Matrix 8
MatrixOrder 1PathGradientBrush 6
SmoothingMode 2WrapMode 2

System.Drawing.Imaging /

ColorMatrix 3EncoderParameter 1
ImageAttributes 7ImageCodecInfo 3
ImageFormat 7Metafile 1

System.Drawing.Printing /

PageSettings 5PaperSource 1
PrintDocument 7PrinterSettings 5

System.Drawing.Text /

InstalledFontCollection 1PrivateFontCollection 1
TextRenderingHint 1

System.Globalization /

CultureInfo 4CultureTypes 1
DateTimeFormatInfo 2

System.IO /

BinaryReader 4BinaryWriter 5
Directory 10DirectoryInfo 9
DriveInfo 9EndOfStreamException 1
File 10FileAccess 2
FileAttributes 4FileInfo 7
FileMode 2FileStream 7
FileSystemEventArgs 1FileSystemInfo 2
FileSystemWatcher 8MemortStream 5
Path 11SeekOrigin 1
StringReader 2StringWriter 1

System.IO.IsolatedStorage /

IsolatedStorageFile 3IsolatedStorageFileStream 4
IsolatedStorageScope 2

System.IO.Ports /

SerialPort 1

System.Media /

SystemSounds 1

System.Messaging /

MessageQueue 5

System.Net /

Cookie 1Dns 5
HttpWebRequest 1HttpWebResponse 5
IPAddress 2IPEndPoint 4
IPHostEntry 1NetworkStream 2
WebClient 3WebRequest 18
WebResponse 2

System.Net.Sockets /

AddressFamily 1ProtocolType 1
Socket 5TcpClient 2
TcpListener 2UdpClient 3

System.Reflection /

AppDomain 7Assembly 12
BindingFlags 2Event 1
MemberInfo 2MemberTypes 1
MethodInfo 4

System.Runtime.InteropServices /

InteropServices 1

System.Runtime.Remoting.Channels /

ChannelServices 1

System.Runtime.Serialization /

IDeserializationCallback 1

System.Runtime.Serialization.Formatters.Binary /

BinaryFormatter 2

System.Runtime.Serialization.Formatters.Soap /

SoapFormatter 3

System.Security.Cryptography /

CryptoStream 1DESCryptoServiceProvider 3
DSACryptoServiceProvider 2HMACSHA1 2
RSACryptoServiceProvider 3SHA1CryptoServiceProvider 1
SymmetricAlgorithm 3

System.Security.Cryptography.X509Certificates /

X509Certificate 4

System.Security.Permissions /

EnvironmentPermission 1FileIOPermission 1
RegistryPermission 1

System.Security.Principal /

Principal 1WindowsIdentity 2

System.ServiceProcess /

ServiceBase 1

System.Text /

Encoding 4StringBuilder 6

System.Text.RegularExpressions /

Regex 2

System.Threading /

Monitor 2Mutex 1
Thread 9ThreadPriority 1
ThreadStart 1

System.Web /

Cookie 1

System.Web.Mail /

MailFormat 1MailMessage 5
MailPriority 1Smtp 2

System.Windows.Forms /

AnchorStyles 4Application 13
Button 23CheckBox 5
CheckedListBox 10CheckState 2
Clipboard 2ColorDialog 7
ComboBox 8Control 9
ControlPaint 6ControlStyles 3
Cursor 1Cursors 2
DataFormats 5DataGrid 2
DataGridView 1DataObject 1
DateTimePicker 6DateTimePickerFormat 1
DialogResult 3DockStyle 3
DomainUpDown 7DragDropEffects 2
DragEventArgs 1DrawItemEventArgs 1
ErrorProvider 2FlowLayoutPanel 2
FolderBrowserDialog 5FontDialog 6
Form 42FormStartPosition 1
GroupBox 3HelpProvider 1
HScrollBar 6ImageList 1
IMessageFilter 1KeyEventArgs 1
KeyPressEventArgs 1Keys 2
Label 25LinkLabel 9
ListBox 23ListView 8
ListViewItem 2MdiLayout 1
MeasureItemEventArgs 1MenuItem 8
MessageBox 2MessageBoxButtons 3
MessageBoxDefaultButton 1MessageBoxIcon 3
MonthCalendar 5NotifyIcon 4
NumericUpDown 6OpenFileDialog 8
PageSetupDialog 7PaintEventArgs 1
Panel 4PictureBox 2
PrintDialog 7PrintPageEventArgs 1
ProgressBar 4PropertyGrid 2
RadioButton 2RichTextBox 9
SaveFileDialog 9SplitContainer 1
StatusBar 4StatusBarPanel 1
SystemBrushes 1SystemColors 3
SystemIcons 3SystemInformation 5
SystemPens 1TabControl 10
TableLayoutPanel 6TabPage 1
TextBox 18ToolBar 1
ToolBarButton 1ToolBarButtonClickEventArgs 1
ToolStrip 1ToolStripMenuItem 1
ToolStripProgressBar 1ToolStripStatusLabel 1
ToolTip 1TrackBar 9
TreeNode 1TreeView 10
TreeViewAction 1UserControl 1
VScrollBar 6WebBrowser 4

System.Xml /

XmlDataDocument 1XmlDocument 9
XmlElement 3XmlNode 2
XmlReader 1XmlReaderSettings 2
XmlReadMode 2XMLTextReader 2
XmlTextWriter 2XmlWriteMode 1
XmlWriter 5XmlWriterSettings 2

System.Xml.Schema /

XmlSchemaComplexType 1XmlSchemaElement 4
XmlSchemaSequence 1

System.Xml.Serialization /

XmlSerializer 1XmlValidatingReader 3

System.Xml.Xsl /

XslCompiledTransform 2XslTransform 2