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





Microsoft.VisualBasic /

ControlChars 1Err 1

Microsoft.Win32 /

Registry 3RegistryKey 2RegistryValueKind 1

System /

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

System.Collections /

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

System.Collections.Generic /

Dictionary 3KeyValuePair 1List 1

System.Collections.Specialized /

CollectionsUtil 1ListDictionary 1NameValueCollection 4

System.ComponentModel /

BackgroundWorker 7

System.Configuration.ConfigurationSettings /

AppSettings 1

System.Data /

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

System.Data.Odbc /

OdbcCommand 5OdbcConnection 1

System.Data.OleDb /

OleDbCommand 1OleDbConnection 6OleDbDataAdapter 5OleDbDataReader 1

System.Data.OracleClient /

OracleConnection 1

System.Data.SqlClient /

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

System.Diagnostics /

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

System.Drawing /

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

System.Drawing.Drawing2D /

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

System.Drawing.Imaging /

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

System.Drawing.Printing /

PageSettings 5PaperSource 1PrintDocument 7PrinterSettings 5

System.Drawing.Text /

InstalledFontCollection 1PrivateFontCollection 1TextRenderingHint 1

System.Globalization /

CultureInfo 4CultureTypes 1DateTimeFormatInfo 2

System.IO /

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

System.IO.IsolatedStorage /

IsolatedStorageFile 3IsolatedStorageFileStream 4IsolatedStorageScope 2

System.IO.Ports /

SerialPort 1

System.Media /

SystemSounds 1

System.Messaging /

MessageQueue 5

System.Net /

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

System.Net.Sockets /

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

System.Reflection /

AppDomain 7Assembly 12BindingFlags 2Event 1
MemberInfo 2MemberTypes 1MethodInfo 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 3DSACryptoServiceProvider 2HMACSHA1 2
RSACryptoServiceProvider 3SHA1CryptoServiceProvider 1SymmetricAlgorithm 3

System.Security.Cryptography.X509Certificates /

X509Certificate 4

System.Security.Permissions /

EnvironmentPermission 1FileIOPermission 1RegistryPermission 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 1Thread 9ThreadPriority 1
ThreadStart 1

System.Web /

Cookie 1

System.Web.Mail /

MailFormat 1MailMessage 5MailPriority 1Smtp 2

System.Windows.Forms /

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

System.Xml /

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

System.Xml.Schema /

XmlSchemaComplexType 1XmlSchemaElement 4XmlSchemaSequence 1

System.Xml.Serialization /

XmlSerializer 1XmlValidatingReader 3

System.Xml.Xsl /

XslCompiledTransform 2XslTransform 2