>Whenever i use the mapi function in my project for sending emails.
>
>immedeately my default file location changes to this
>
>
>"c:\program files\common files\system\mapi\1033\nt" from "c:\myproject"
>
>Could you please tell me how to revert the default location back to "C:\myproject"
>
>Thank you very much.
As far as I can see it is
only the signon() that changes the current directory
local olddir
olddir = fullpath(curdir())
this.OleSession.SignOn
cd (OldDir)
Gregory