Skip to content

Visual Basic Windows Forms patterns covering async loading, UI threading, and data binding with validation.

CCM score
53 of 100
skills.sh installs
377
GitHub stars
79
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers async form loading with Await, BindingSource setup, and UI-thread marshaling via Invoke and BeginInvoke
  • Includes BackgroundWorker progress and cancellation handling, object binding with INotifyPropertyChanged, and ErrorProvider validation
  • Enforces that UI controls are only updated on the UI thread by checking InvokeRequired before marshaling
  • Designed for VB.NET desktop developers building data-driven Windows Forms applications with async service calls

Install

$ npx -y skills add bobmatnyc/claude-mpm-skills --skill vb-winforms -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Visual Basic Windows Forms Patterns

Modern Windows Forms development with VB.NET focusing on proper UI threading, data binding, and event handling.

Quick Start

' Form definition
Public Class CustomerForm
    Inherits Form

    Private customerService As ICustomerService
    Private bindingSource As New BindingSource()

    Public Sub New()
        InitializeComponent()
        customerService = New CustomerService()
    End Sub

    ' Async load
    Private Async Sub CustomerForm_Load(sender As Object, e As EventArgs) Handles MyBase.Load
        Await LoadCustomersAsync()
    End Sub

    Private Async Function LoadCustomersAsync() As Task
        Try
            Cursor = Cursors.WaitCursor
            Dim customers = Await customerService.GetAllAsync()
            bindingSource.DataSource = customers
            dataGridView.DataSource = bindingSource
        Catch ex As Exception
            MessageBox.Show($"Error loading customers: {ex.Message}", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error)
        Finally
            Cursor = Cursors.Default
        End Try
    End Function
End Class

UI Threading Patterns

Invoke vs BeginInvoke

Details

Repository
github.com/bobmatnyc/claude-mpm-skills
Category
.NET & C#
First seen
Jun 3, 2026

Questions

What does the vb-winforms skill cover for Visual Basic Windows Forms development?

The vb-winforms skill covers Windows Forms development patterns with VB.NET, focusing on UI threading, data binding, and event handling. It includes examples for async loading with Invoke and BeginInvoke, BackgroundWorker progress and cancellation, BindingSource data binding, and form validation with ErrorProvider.

How do I install the vb-winforms skill?

Run npx -y skills add bobmatnyc/claude-mpm-skills --skill vb-winforms -y in your project. Once installed, the agent gets Visual Basic Windows Forms patterns for threading, binding and validation.

Where does vb-winforms stand in the .NET & C# category?

vb-winforms sits in the .NET & C# category on Claude Marketplaces, alongside dotnet-backend-patterns, dotnet-best-practices, nuget-manager and microsoft-code-reference. Its focus is narrower, on VB.NET desktop UI work rather than backend or general .NET practice.

More from bobmatnyc/claude-mpm-skills

All 154

Similar to Vb Winforms

More .NET & C#