NoStartupFormException Constructor ()
Assembly: Microsoft.VisualBasic (in microsoft.visualbasic.dll)
The Visual Basic Application Model requires that the application set the MainForm property before running the OnRun method. If the property is not set, the Visual Basic Application Model raises this exception. For more information, see Extending the Visual Basic Application Model.
The following table shows the initial property values for an instance of NoStartupFormException.
| Property | Value |
|---|---|
| A null reference (Nothing in Visual Basic). | |
| The localized error-message string. |
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Reference
NoStartupFormException ClassNoStartupFormException Members
Microsoft.VisualBasic.ApplicationServices Namespace
Other Resources
Overview of the Visual Basic Application ModelExtending the Visual Basic Application Model
Overview of the Visual Basic Application Model
Extending the Visual Basic Application Model