Click here to Skip to main content
15,921,793 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalautomate excel Pin
Gérald Mercet16-Nov-01 4:25
Gérald Mercet16-Nov-01 4:25 
GeneralRe: automate excel Pin
Carlos Antollini16-Nov-01 4:57
Carlos Antollini16-Nov-01 4:57 
QuestionDetermine Memory Requirements? Pin
Derek Price16-Nov-01 4:02
Derek Price16-Nov-01 4:02 
AnswerRe: Determine Memory Requirements? Pin
Daniel Turini16-Nov-01 5:07
Daniel Turini16-Nov-01 5:07 
Generala question about check box Pin
Gérald Mercet16-Nov-01 2:02
Gérald Mercet16-Nov-01 2:02 
GeneralRe: a question about check box Pin
markkuk16-Nov-01 2:26
markkuk16-Nov-01 2:26 
GeneralRe: a question about check box Pin
Daniel Turini16-Nov-01 2:27
Daniel Turini16-Nov-01 2:27 
GeneralRe: a question about check box Pin
Gérald Mercet16-Nov-01 2:48
Gérald Mercet16-Nov-01 2:48 
first i post the function which use it:

double EuropeanSwaption::CallOrPutEuropeanSwaption(COleDateTime StartDate,COleDateTime SwaptionEndDate,COleDateTime SwapEndDate,double Strike,int BaseAnnuelle,double Nominal,int Periodicity,_variant_t RateTable,_variant_t VolatilitySurface,bool CheckPayeuse,bool CheckReceveuse)
{
double Price;
if(CheckPayeuse==TRUE && CheckReceveuse==FALSE)
Price=CallEuropeanSwaption( StartDate, SwaptionEndDate,SwapEndDate,Strike,BaseAnnuelle,Nominal,Periodicity,RateTable,VolatilitySurface);
if(CheckPayeuse==FALSE && CheckReceveuse==TRUE)
Price=PutEuropeanSwaption( StartDate, SwaptionEndDate,SwapEndDate,Strike,BaseAnnuelle,Nominal,Periodicity,RateTable,VolatilitySurface);
if(CheckPayeuse==TRUE && CheckReceveuse==TRUE||CheckPayeuse==FALSE && CheckReceveuse==FALSE)
AfxMessageBox("Il faudrait peut être faire un choix!!");

return Price;

}

this first function is used in the calculation part.
Now i could show a sample coming from the the dlg code, i just post the line which call the function described above:
m_dlgPrice=eur.CallOrPutEuropeanSwaption(m_dlgStartDate,m_dlgSwaptionEndDate,m_dlgSwapEndDate,m_dlgStrike,m_dlgModeDate,m_dlgNominal,Periodicity,"TauxZCEURO","SurfaceVolatilite",m_dlgPayeuse,m_dlgReceveuse);

where eur is an EuropeanSwaption object, and m_dlgPayeuse, m_dlgReceveuse are the 2 variables linked to the 2 check box put in the dlgbox.


GeneralRe: a question about check box Pin
Daniel Turini16-Nov-01 4:38
Daniel Turini16-Nov-01 4:38 
GeneralRe: a question about check box Pin
Gérald Mercet16-Nov-01 4:40
Gérald Mercet16-Nov-01 4:40 
GeneralRe: a question about check box Pin
Mark Terrano16-Nov-01 11:23
Mark Terrano16-Nov-01 11:23 
GeneralPrint preview! Pin
mazy16-Nov-01 1:56
mazy16-Nov-01 1:56 
GeneralGetting IP from a broadband router Pin
#realJSOP16-Nov-01 0:53
professional#realJSOP16-Nov-01 0:53 
GeneralRe: Getting IP from a broadband router Pin
Frank Deo16-Nov-01 3:53
Frank Deo16-Nov-01 3:53 
GeneralRe: Getting IP from a broadband router Pin
#realJSOP16-Nov-01 4:37
professional#realJSOP16-Nov-01 4:37 
GeneralRe: Getting IP from a broadband router Pin
Frank Deo16-Nov-01 5:07
Frank Deo16-Nov-01 5:07 
GeneralRe: Getting IP from a broadband router Pin
Michael Dunn16-Nov-01 6:23
sitebuilderMichael Dunn16-Nov-01 6:23 
GeneralRe: tracert > traceroute Pin
Masaaki Onishi16-Nov-01 7:01
Masaaki Onishi16-Nov-01 7:01 
GeneralRe: Getting IP from a broadband router Pin
Anders Molin16-Nov-01 9:05
professionalAnders Molin16-Nov-01 9:05 
GeneralVanishing bitmap in 2000 Pin
16-Nov-01 0:35
suss16-Nov-01 0:35 
GeneralGetDC from CMainFrame Pin
hierro16-Nov-01 0:29
hierro16-Nov-01 0:29 
GeneralRe: GetDC from CMainFrame Pin
Nish Nishant16-Nov-01 0:50
sitebuilderNish Nishant16-Nov-01 0:50 
GeneralRe: GetDC from CMainFrame Pin
#realJSOP17-Nov-01 3:19
professional#realJSOP17-Nov-01 3:19 
GeneralRe: GetDC from CMainFrame Pin
#realJSOP19-Nov-01 2:41
professional#realJSOP19-Nov-01 2:41 
GeneralRe: GetDC from CMainFrame Pin
hierro19-Nov-01 18:14
hierro19-Nov-01 18:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.