Hi Fred,
>Can anyone show me how to translate this VB6 code into VFP8 code?
This depends on what kind of object the names refer to. If they are registered COM objects, you can use the following code. If they are VB objects defined in a class module, you have to compile them into a COM server before you can use the classes from VFP:
LOCAL oSvc, oAddress, oResult As ValidateResult
oSvc = CreateObject("AddressSvc")
oAddress = CreateObject("Address")
oAddress.Line1 = "900 Winslow Way"
oAddress.City = "Bainbridge Island"
oAddress.Region = "WA"
oAddress.PostalCode = "98110"
oResult = oSvc.Validate(address)
--
Christof