Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing parameters to COM object in ASP
Message
 
À
31/08/2005 21:34:42
Alan Harris-Reid
Baseline Data Services
Devon, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01045717
Message ID:
01045746
Vues:
21
Hi Alan,

>I guess there is something wrong with the way I am passing parameters.

You are using single quotes where you should be using double quotes in VB Script.

>Also, instead of passing every parameter as a character string, how do I pass numeric, date and logical parameters?

You can pass numeric parameters just like you would pass them to a VFP function. To pass a logical value, you can pass True and False. I don't think you can pass date values, though:
oCOM.Method "String", 123.4, True
Result = oCOM.Method( "String", 123.4, True )
--
Christof
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform