Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Declaring Object References in Forms
Message
From
13/05/2005 16:07:31
 
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Declaring Object References in Forms
Environment versions
Environment:
VB.NET 1.1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01014065
Message ID:
01014065
Views:
66
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
Next
Reply
Map
View

Click here to load this message in the networking platform