RegTemplate.Export(@xValue)
>I having problem using this activeX in vfp I have an SDK but in visual basic.>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 >>
>Local xValue > >xValue = "" >RegTemplate.Export(xValue) >>