Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to use VFP automation servers and ASP
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00113875
Message ID:
00114102
Vues:
18
>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!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform