Page 1 of 1

deploying VB6 app using rsw32.ocx

Posted: Tue Feb 08, 2005 4:27 pm
by TJ_(Guest)
I am using the following code to call the report using the rsw32.ocx__I am using Vb6.0 and R&R version 10____Private Sub Printreport(strReportname As String)__Dim fstrReportControlFile As String__ Dim strRptPath As String__ strRptPath = gstrDBPath & "Reports"__ ReportControl.DataSource = "MS Access 2.0 Databases"__ ReportControl.ReportName = strRptPath & strReportname & ".RSW"__ ReportControl.Include = 3__ ReportControl.Destination = 6__ ReportControl.Action = 1____End Sub____When I deploy the application on the users machine, the reports are not displayed. I donnot get any errors either.____I have added the Dll^s in the appropriate directory as explained in R&R SQL Developing Applications PDF Chapter 8.__(rswrun.exe, rrpd.dll, rslib.dll,rssql08.dll,rsutil08.dll,mfc42.dll,snbd6w95.dllrsw.ini,rswsql.ini,rsrpt32.dll,rsw32.ocx,comdlg32.dll,msvcrt20.dll, mfcans32.dll,oc30.dll,threed32.ocx)____When I install the R&R version 10 , all the reports seem to work fine.____That means I am not including proper files in my deployment package.__I would really appreciate if someone could help me with this problem.

=> deploying VB6 app using rsw32.ocx

Posted: Wed Feb 09, 2005 8:26 am
by kfleming
If you execute RSWRUN.EXE directly from Windows Explorer can you select and run the report without error?____Kathleen__R&R Support

==> RE: deploying VB6 app using

Posted: Wed Feb 09, 2005 10:29 am
by TJ_(Guest)
Thanks for your response. I^ll try that and will let you know