VB6-- problem with GetObjectContext.Item("Request") 
Author Message
 VB6-- problem with GetObjectContext.Item("Request")

Hi-
I wonder if anyone can help- as I've exhausted deja and microsoft.com in an
effort to find a solution.

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 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")

thanks

Paul.



Sun, 18 Apr 2004 22:53:39 GMT  
 
 [ 1 post ] 

 Relevant Pages 

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

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

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

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

5. getobjectcontext("response")

6. "Send To" menu item - VB6

7. : VB6 Problem: "The memory could not be "read"/"written""

8. VB6 Problem: "The memory could not be "read"/"written""

9. Problem With "window.showmodaldialog("")"

10. Renaming "Inbox","Calender", "Send items"

11. "InputBox" using for password request

12. "Requesting Virus Scan"

 

 
Powered by phpBB® Forum Software