>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>Can anyone convert these VB lines of code to vfp?
>>>Dim oAddrLookup As New TBMAddressLookup
>>>Dim oLookupResult As TBMAddressLookupResult
>>>oaddrLookup.SourceTBMMap=TBMMap1
>>>Set oLookupResult=oAddrLookup.LookupAddress('address1','address2','','')
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
You need to know two pieces of information: what DLL or EXE holds the TBMAddressLookup class? And what is the value of TBMMap1? Is it a name of a file? A reference to a previously created object?
If you get that info it will look something like this:
oAddrLookup = createobject("TheDLL.TBMAddressLookup")
oaddrLookup.SourceTBMMap=TBMMap1
oLookupResult=oAddrLookup.LookupAddress('address1','address2','','')
The whole problem with the world is that fools and fanatics are always so certain of themselves, but wiser people so full of doubts. - Bertrand Russell