Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help me resolve a dilemma.
Message
From
15/05/2002 11:20:31
Charles Symons
Lyme Software Development Inc.
Lyme, Connecticut, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Internet applications
Title:
Help me resolve a dilemma.
Miscellaneous
Thread ID:
00656942
Message ID:
00656942
Views:
72
This is a question about using ASP objects in FoxPro.

When calling a method on a FoxPro COM component from ASP is it better to Pass the ASP Request and Response objects as parameters...

Dim MyObject
Set MyObject = Server.CreateObject("DllName.ClassName")
MyObject.ProcessForm Request Response

Or

Is it better to obtain the ASP objects from the Context object within the code of the method...

oAppServer = CreateObject("mtxas.appserver.1")
oObjContext = oAppServer.GetObjectContext()
oRequest = oObjContext.Item("Request")
oResponse = oObjContext.Item("Response")

I would very much appreciate your views on the matter.


TIA
- Charles
Next
Reply
Map
View

Click here to load this message in the networking platform