Hi all,
I have a question about Object Creation.
In an ASP page, there are several built-in Objects:
Request, Response, Session, Server, Application
These in turn are attached to a ScriptingContext object
I need to create this ScriptingContext object to use in a testing application for a VFP COM server.
MSDN refers to it as IScriptingContext for C++ interfaces (and says its obsolete) and for VB shows it simply as the ObjectContext object.
Does anyone know how to get at this object in VFP?I tried oContext = CREATEOBJECT("ASP.ObjectContext"), but this blew me right out of VFP without even an error (Pretty cool, try it sometime *s*)
Incidently, if I find I can create this object, I am hoping to then be able to do something like:
oReq = oContext.*someContainer*("Request")
oReq.Form("test1").value = "test"
Where *someContainer* is the name of the object container (I don't know this yet either). I don't even know if this part is possible, but as I see it, getting an object reference is the first step.
Thanks In Advance,
Bill