Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Check email from VFP 5
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00128672
Message ID:
00128990
Vues:
24
Josh,

Thanks for the scoop. Because I also needed to initiate the dial-up, all from within VFP without the user having any interaction, I went ahead and purchased the Internet Pack from Mabry Controls. It is very inexpensive, fantastic to use, offers everything that I needed, as well as some other controls for FTP, RAS, etc. However, I have saved your code example for later... There may be a time where it would be better to use MAPI.

Thanks again,

Patric


>You can do this with the MAPI controls. First, set the message control's FetchUnreadOnly property to .T. Then you can use the control's Fetch() method to get new messages. Something like this:
>
>WITH THISFORM.oleMessage
>  .Fetch()  && Get any new messages
>  IF .MsgCount>0  && See if there are any new messages
>    FOR i=0 TO (.MsgCount-1) && Loop through the message set
>      .MsgIndex=i
>      && Process message here			
>    ENDFOR
>  ENDIF
>ENDWITH
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform