Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Declaring Object References in Forms
Message
De
13/05/2005 16:07:31
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Declaring Object References in Forms
Versions des environnements
Environment:
VB.NET 1.1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01014065
Message ID:
01014065
Vues:
67
A declaration of an object reference using WithEvents is preventing my MM.NET business objects from successfully loading data. Code is as follows:
Public Class VisitorVisitsForm
    Inherits mmBusinessForm

    Dim WithEvents CSForm As New CompanySelectionForm
...
When I comment out this line the application works as expected.
I need to declare this reference outside of any code blocks (Subs, Events or Methods).
Why is this preventing the data from being retrieved via my Busniess Objects and bound to my WinForm?
THANKS
Joe Salvatore, Programmer/Analyst - The Stellar Group
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform