swordfish1973
Technical User
I need to launch an Excel file from my project, I tried WinExec but it seems to do nothing when I try:
void __fastcall TForm::Button2Click(TObject *Sender)
{
WinExec("excel.exe C:\Projects_Borland5\BookTracker\\zero_curve.xls", SW_SHOW);
}
Can anyone tell me why?
Thank you
void __fastcall TForm::Button2Click(TObject *Sender)
{
WinExec("excel.exe C:\Projects_Borland5\BookTracker\\zero_curve.xls", SW_SHOW);
}
Can anyone tell me why?
Thank you