Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MsMapi en Decimals
Message
De
10/01/2002 09:36:58
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
MsMapi en Decimals
Divers
Thread ID:
00602951
Message ID:
00602951
Vues:
63
Hi all,

In our program we use the msmapi to send e-mails strangely enough after sending an e-mail i start having troubles with other ocx's that we use. The problem is that after calling the Signon() method of the msmapi my system seems to change the decimal separator from . to , and all the values are rounded without any decimals left. All the calculations in vfp are still ok but a number of external ocx or applications are displaying the wrong values.
Maybe this is hard to understand so i will give an example with the ctCalc from dbi-tech that we use

In a form i open the calculator and type something like 12*1.21 and this gives a result of 14.42, in vfp i type the same and get the same value.
Then
loSession=CreateObject(CREATEOBJECT("MSMAPI.MAPISession.1")
loSession.SignOn() etc etc

after doing this the result in vfp is stil the same but in the ctCalc i get a value of 12, (see the , at the end !!!!).

The problem disappears after quiting VFP and restarting.
I already checked all the SETting and nothing seems to change in the VFP enviroment.

Does anybody have any suggestions on where to look because i am going bonkers over this one.

Thx in advance

Guillaume
Répondre
Fil
Voir

Click here to load this message in the networking platform