Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get listing of loaded classes. other than set('classlib'
Message
De
18/06/2007 09:55:35
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01233647
Message ID:
01233916
Vues:
15
>>>I have looked all over and the only command I can find to list the currently loaded VCX classes is set('classlib') which just outputs a string. Is there any function that puts them in an array like adlls(). They have array functions for everything else. I want to plug it into the error trap prg before I upload it.
>>
>>
n=ALINES(aa,SET("classlib"),1,",")
>>
>>You may parse the array to check whether the alias differs from the filename (and then yank anything beyond the ALIAS word), and to replace the full paths with relative paths.
>
>Dragan,
>thanks for the amazing line of code. I knew alines() existed but had never really looked at it. I put it in my error trapping prg that I just uploaded to the download area.

The nice thing about Fox is that it has hundreds of functions - and the more you use them, the easier it gets. The bad thing is that it has hundreds of functions and it doesn't get easier until you get used to them ;).

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform