>>>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 ;).