Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to use VFP automation servers and ASP
Message
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00113875
Message ID:
00114102
Views:
19
>Are you using Foxisapi ?? I belive it comes with 5.0 ...
>
>Yes... there is a sample and docs in ..\vfp\samples\servers\foxisapi

No, I am not using FoxAPI. I am trying to create a simple OLE Automation object in VFP and instatiate it on the web via VBScript and ASP:

%
Dim oVFP
Set oVFP = CreateObject("Test1.Test")
%

Result = % = oVFP.Calc() %

The object works when I do it from the VFP Command Window or from a Visual Basic Standard EXE. Running this on the server hangs up IIS 4.0, and I eventually have to reboot the server to set things straight again. I must be missing something obvious. Microsoft Knowledgebase article Q168053 says I can do this. I even tried their example, and it did the same thing.

I am using this approach versus FoxAPI, because I want to share my object with other desktop applications. Do you have any other ideas?

Thanks for the reply!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform