ITransactions::InvokeAddTransactionDlg

SalesMate+

No parameters

Method description

It is used to invoke the Add Transaction Dialog

Example code

CComPtr<ITransactions>m_Transaction; 
HRESULT hr=m_Transaction.CoCreateInstance(CLSID_Transactions);
if(FAILED(hr)) 
{  
 AfxMessageBox(_T(""Transaction Settings Failed""));
 return FALSE;
} 
if(E_FAIL==m_Transaction->InvokeAddTransactionDlg())
{  
 AfxMessageBox(_T(""Access denied""));
}

(C) 1999-2001 My Company All rights reserved