Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VB6 Code
Message
 
To
05/09/2005 23:33:04
Fred Wood
Madera Systems Consulting
Mill Valley, California, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
01046885
Message ID:
01046903
Views:
19
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform