this post should read by those who have used vs 2003.

i have a simple usercontrol with a public sub

Code:
   Public sub Setstr() 
        Response.Write("test message")   
  End sub

this usercontrol loads in the comsumer form.

on the button click in consumer form , i make a call to the public procedure

Code:
 WebUserControl11.Setstr()
error i get
Object reference not set to an instance of an object .
highlighting "Response.Write("test message") "