Object variable or With Block variable not set 
Author Message
 Object variable or With Block variable not set

Project References: ASP.DLL and MTXAS.DLL
Dim mResponse as Response
Dim mContext as ObjectContext
Sub WriteASP()
    Set mContext  = GetObjectContext()
    Set mResponse = mContext("Response")
    mResponse.Write "HELLO"
End Sub

I also did then <Implements ObjectControl> and Activate, Deactivate and
CanBePooled.
When the code get to: Set mResponse = mContext("Response"), that's where I
got the error as above heading.

Any suggestion?

Thanks
Thai Vuong



Mon, 08 Sep 2003 03:43:52 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Error msg: Object variable or With block variable not set

2. Object variable or With block variable not set when calling COM Dll

3. Object variable or With block variable not set

4. ADO recordset: Object variable or with block variable not set

5. Runtime error 91/Object variable or With block variable not set problems

6. Object variable or With block variable not set

7. Object variable or with block variable not set

8. Object variable or With block variable not set error in Class

9. runtime error: 91 Object variable or with block variable not set

10. Object variable or With block variable not set when using simple class example

11. Object variable or With block variable not set (Error 91) Please Help

12. Object variable or With block variable not set

 

 
Powered by phpBB® Forum Software