Whenever vfp generates an email and outlook is NOT open I get an annoying message
blue box appears - choose profile (heading) - with 'outlook' appearing in profile name.
I have ticked the options to select this as default setting but it reappears each time just the same.
Is there something I can add in the coding to force the email program to open without this presistent option appearing.
Here is what I have running currently.
tnx
k
LOCAL loOutlook, loItem, lnCountAttachments, loMapi
TRY
loOutlook = CREATEOBJECT("outlook.application")
loMapi = loOutLook.GetNameSpace("MAPI")
loMapi.Logon()
loItem = loOutlook.CreateItem(0)
etc......
IF tlOpenEmail
.display()
olNormalWindow = 2
loInspector = .GetInspector()
loInspector.WindowState = olNormalWindow
ELSE
.SEND()
ENDIF