VB6--- error using GetObjectContext.Item("Request") 
Author Message
 VB6--- error using GetObjectContext.Item("Request")

I wonder if anyone can help.
I'm having problems with the following bit of code. Basically when it hits
line 3 it bombs out with an "object required" error. The annoying thing is
that I have got this to work on another PC. The ASP page which fires this
off is run on a local IIS (Windows 2000)- and the ASP page resides in its a
virtual directory.

Is there anyone who may have an inkling as to why I can't reference the
Request option??

   1   Dim oRequest As ASPTypeLibrary.Request
   2   Dim oServer As ASPTypeLibrary.Server

   3   Set oRequest = GetObjectContext.Item("Request")
   4   Set oServer = GetObjectContext.Item("Server")



Sun, 18 Apr 2004 20:22:40 GMT  
 [ 1 post ] 

 Relevant Pages 

1. VB--- error using GetObjectContext.Item("Request")

2. VB6-- problem with GetObjectContext.Item("Request")

3. Getting objects from GetObjectContext.Item("MyOwnObject")

4. Error from GetObjectContext.CreateInstance("...")

5. getobjectcontext("response")

6. "InputBox" using for password request

7. "Component request pending" error

8. "Send To" menu item - VB6

9. Using "Item.Send"

10. Using collection.Item("key")

11. VB6 ADO, Jet "Error initializing provider"

12. VB6 ADO, Jet "Error initializing provider"


Powered by phpBB® Forum Software