|
-
Apr 9th, 2007, 03:32 AM
#1
Thread Starter
Fanatic Member
[RESOLVED] [02/03] protected vs Dim
if i define a webusercontrol :
lets say ,
dim withevents Webusercontrol11 as Webusercontrol1
then use of any of its public property or method , generates an error
"Object reference not set to an instance of an object ."
if i use ,
protected withevents Webusercontrol11 as Webusercontrol1
it works fine
why ?
Last edited by vishalmarya; Apr 10th, 2007 at 08:58 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|