>>George,
>>
>>GetSystemDirectory() does return D:\WINNT\System32.
>>
>>???
>>
>Ed,
>
>It's a kludge but it may be necessary. Call the function to return the system directory (for portability), then something like
lcshell = ADDBS(lcsysdir) + "Shell32.dll"
>DECLARE INTEGER ShellExecute IN (lcshell);...
where lcsysdir is the value returned by GetSystemDirectory().
I might have to do that just to get it to work on my machine and I guess that it will do no harm having the extra code. I sure wish that I knew what was causing this, however. Have you installed Office 2K SP1 yet by any chance? That is the only difference that I can tell between me and Erik. I have SP1 and he doesn't.
Ed