dear All
i am new comer t0o vc, i want to call a crystal report from MS VC++.
here is my code in VB. Can any Body Covert it to vc
thanks i Advance
dim m_App as new craxdrt.application
dim m_Rpt as new craxdrt.report
m_app.Logonserver "pdssql.dll","eDoX","eDox","sa","sa"
set m_rpt = m_app.OpenReport (App.Path & "\r.rpt"
m_rpt.Parametefields(1).AddCurrentValue "-1"
me.crview1.ReportSource = m_rpt
crview1.ViewReport
i am new comer t0o vc, i want to call a crystal report from MS VC++.
here is my code in VB. Can any Body Covert it to vc
thanks i Advance
dim m_App as new craxdrt.application
dim m_Rpt as new craxdrt.report
m_app.Logonserver "pdssql.dll","eDoX","eDox","sa","sa"
set m_rpt = m_app.OpenReport (App.Path & "\r.rpt"
m_rpt.Parametefields(1).AddCurrentValue "-1"
me.crview1.ReportSource = m_rpt
crview1.ViewReport