Author: Nazi370 | Posted on: 11/10/2008 3:16:03 AM | Views : 235

Hello..

 i have to call another function in another file..

 Private sub OnClickSubmit(ByVal e As ... )

Add_Activity() <!---- it is on another file called Activity.ascx.vb

Get_Activity()

End Sub
 

how do we call it.. when i tried it give error message

 "Reference to a non-shared member requires an object reference"

to correct this error

1. Declare the instance as an object variable
2. reference the instance by the variable name.

 

thanks,

 
...

Go to the complete details ...