Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP Com object not working as expected
Message
De
03/04/2000 15:45:58
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00354504
Message ID:
00354516
Vues:
14
>I'm not sure what I'm missing here but...
>
>I wrote a simple Class definition to query a table, and bundle the results into an HTML table format. The object puts the resulting HTML into a property of the object named cHtml. I compiled it as a Dll. An ASP page then references the object with the following code:
>
><% oServer = CreateObject('WebData.AspTools')
>oServer.ShowTable()
>Response.Write(oServer.cHtml) %>
>
>I tested it under VFP 6, SP3 using the following syntax:
>
>oServer = CreateObject('WebData.AspTools')
>oServer.ShowTable()
>? oServer.cHtml)
>
>This yields the results I want to see in my ASP file. However, when I try the ASP code, I don't get any results. The server I'm testing it on isn't the one I develop on, so I ran RegSvr32 WebData.Dll to register the dll before I tested it. Any ideas on what to look at? I know the code is right, I can run it without any problems within VFP, just not from an ASP page.

Could be a rights issue. Is the dll placed in a subfolder of the root web folder?
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform