Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
U .are. U in VFP
Message
 
 
À
27/01/2005 04:14:12
Maltin Lacsina
Angeles Electric Corporation
Angeles, Philippines
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
00981125
Message ID:
00981151
Vues:
36
You've to pass parameter by reference to UDF/method in order to return value in it.
RegTemplate.Export(@xValue)
>I having problem using this activeX in vfp I have an SDK but in visual basic.
>
>Can anybody help, please..
>
>Here is the code:
>
>
>Private Sub cmdSave_Click()
>        On Error Resume Next
>        Dim blob() As Byte
>        Dim bvariant As Variant
>
>        If RegTemplate Is Nothing Then
>                Exit Sub
>        End If
>
>        RegTemplate.Export bvariant  <--- when I write this line in vfp
>        blob = bvariant
>        Kill "c:\template.fpt"
>        Open "c:\template.fpt" For Binary As #1
>        Put #1, , blob
>        Close #1
>End Sub
>
>
>Example:
>
>
>Local xValue
>
>xValue = ""
>RegTemplate.Export(xValue)
>
>
>When I run the code I get no error but xValue has no value.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform