Hi Peter,
>>Try something like this:
>Hugh, thanks for the tip. However, the CheckServer() tip has more potential, for it opens the possibility to check why an ole-server isn't detected as such. As Della Martin explained, sometimes a user claims that the server/app really exists although it can't be created as an object. CheckServer() can then give useful extra information.
That sounds like a good methodology. Sometimes I forget to check other answers before I give mine. Oh well!
>BTW, I see that you're still not a full member of UT. But after your recent initiative you should get a free membership for at least a year :).
I am a full member but my puppy dog pee'd on my envelope. <g>
No seriously, Michel is a great guy and deserves every dollar he receives from this effort. (Not to mention that it was his credibility and work that made the 10th Anniversary card the success it was.) We have a great resource in Michel. The Visual FoxPro community would be almost nothing without his vision and work.
Hugh
Microsoft hears loudest what the VFP community says about Visual FoxPro by looking at the bottom line!
Support the product. Buy the latest version!
Hugh Winters @ WorldData 408-512-1131