Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VB6 Code
Message
 
À
05/09/2005 23:33:04
Fred Wood
Madera Systems Consulting
Mill Valley, Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
01046885
Message ID:
01046903
Vues:
18
Christof has given you a good VFP interpretation of the code below. In order to translate large blocks of Visual Basic code I use a VB to VFP converter I wrote sometime back. It's not perfect, but it will usually get you pretty close by handling some of the mundane aspects of converting VB to VFP. It's freely available on my blog. Here's the permalink in case you or anyone else is interested:

http://www.sweetpotatosoftware.com/SPSBlog/PermaLink,guid,453c9b02-e964-4311-850b-abcdcd84ddb3.aspx


>Can anyone show me how to translate this VB6 code into VFP8 code?
>
> Dim oSvc As AddressSvc
> Dim oAddress As Address
> Dim oResult As ValidateResult
> Set oSvc = New AddressSvc
> Set oAddress = New Address
> oAddress.Line1 = "900 Winslow Way"
> oAddress.City = "Bainbridge Island"
> oAddress.Region = "WA"
> oAddress.PostalCode = "98110"
> Set oResult = oSvc.Validate(address)
>
>Thanks
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform