Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Outlook - chose profile
Message
From
02/11/2014 13:52:23
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Outlook - chose profile
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01610358
Message ID:
01610358
Views:
68
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
Next
Reply
Map
View

Click here to load this message in the networking platform