Visual Basic Application Samples
These samples demonstrate architecture, project, user, and assembly tasks.
These samples demonstrate architecture, project, user, and assembly tasks.
Demonstrates the application events accessed through the Project Designer.
Deploys and updates an application using ClickOnce.
Demonstrates simple input and output using the console window.
Demonstrates how to consume various existing .NET Framework Web services, including services providing the current weather, a cartoon-a-day, and currency conversion.
Demonstrates how to use Visual Basic to start Excel, create a workbook from a template, update cells in a worksheet that then populate graphs in the workbook, and perform other tasks.
Demonstrates the My feature, object-oriented programming, and drawing.
Uses the My.Application.Log object to log information to files and event logs.
Shows two different ways to implement multithreaded tasks.
Demonstrates automation of Microsoft Agent, Microsoft Word, and Microsoft Excel.
Demonstrates how to start PowerPoint, create a blank presentation, add a slide and content, print slides, save your changes, and exit PowerPoint from within a Visual Basic application.
Uses reflection to discover type information in an assembly.
Demonstrates the My.Settings and My.Resources objects.
Shows how to send email over SMTP using classes in the System.Web.Mail namespace.
Demonstrates how to programmatically retrieve information about the call stack at any point from within the executing code.
Demonstrates the use of several classes that provide environment information.
Shows how to use the .NET Framework remoting architecture.
Provides an overview of the My.User object and the Login Form template. It implements a simple custom authentication.
Presents the Visual Basic 6.0 VCR example in both Visual Basic 6.0 and Visual Basic 2005 code.
Demonstrates how to implement a multiparty chat application by using PeerChannel.
Demonstrates a service that implements a contract that defines a request and reply communication pattern.
The My feature provides access to application and user properties.
The My.Application object provides access to application properties.
These samples demonstrate data manipulation tasks.
These samples demonstrate Windows forms applications.
These samples demonstrate Visual Basic language concepts.
These samples demonstrate applications that interact with Windows operating system components.
These samples demonstrate security tasks.
This page is the starting point for all Visual Basic samples included with the documentation.