General information
Category:
ActiveX controls in VFP
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
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only