deploying VB6 app using rsw32.ocx

Meeting place for R&R customers and clients to share tips and ideas. Post your questions, messages or problems here.
Post Reply
TJ_(Guest)
Posts: 2
Joined: Tue Oct 10, 2017 12:44 pm

deploying VB6 app using rsw32.ocx

Post by TJ_(Guest) » Tue Feb 08, 2005 4:27 pm

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.

kfleming
Posts: 5795
Joined: Tue Oct 10, 2017 12:44 pm

=> deploying VB6 app using rsw32.ocx

Post by kfleming » Wed Feb 09, 2005 8:26 am

If you execute RSWRUN.EXE directly from Windows Explorer can you select and run the report without error?____Kathleen__R&R Support

TJ_(Guest)
Posts: 2
Joined: Tue Oct 10, 2017 12:44 pm

==> RE: deploying VB6 app using

Post by TJ_(Guest) » Wed Feb 09, 2005 10:29 am

Thanks for your response. I^ll try that and will let you know

Post Reply