hey one more problem dear friends, With the mentioned above problem, the oMyWordObj.AppMaximize() dosent always maximize MS Word.
Any ideas ?
>Dear friends,
>
>oMyWordObj = CREATEOBJECT('Word.Basic')
>oMyWordObj.AppMaximize()
>oMyWordObj.AppShow()
>
>The following code initiate MS Word but the control immediately return to VFP.
>
>What I want is the user to close MS word and then the control is shifted to VFP.
>
>Any ideas,
>
>Aashish