Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Converting VB to VFP 6.0 code
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00442866
Message ID:
00442880
Vues:
12
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform