Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP Com object not working as expected
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Titre:
VFP Com object not working as expected
Divers
Thread ID:
00354504
Message ID:
00354504
Vues:
59
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.
Oct 31 = Dec 25
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform