Page 1 of 1
VB6, Runtime ocx
Posted: Mon Mar 14, 2005 4:59 pm
by Alan_Klein
Hi Kathleen et al,____I have a VB6 app that has used R&R for several years now. For a new version, I would like to install the app in the Program Files folder (until now it has always been in the root folder). When I do that, it returns an "Invalid command line argument" error. THis is true no matter what folder I put it in if the folder has a space in its name. Where should I be looking to correct this?____The RSReport1.ReportName = "C:Program filesTwtk30filename.rsw"____Thanks!
=> RE: VB6, Runtime ocx
Posted: Tue Mar 15, 2005 8:18 am
by kfleming
Are you saying that the error occurs when the reports are in a directory with whose path contains a space or when the runtime executable is in a directory whose path contains a space? __Which version of R&R are you using?____Kathleen__R&R Support
==> RE: VB6, Runtime ocx
Posted: Thu Mar 17, 2005 1:51 am
by Alan_Klein
I have not tested it with the app in a folder without a space in its path and the reports in a folder with a space. The situation is that either both have a space or both do not.____The reports are in a subfolder of the main app folder, so the path is usually either:____C:Twtk20 for the app__and__c:Twtk20Reports for the reports____or____C:Program FilesTwtk20 for the app__and__c:Program FilesTwtk20Reports for the reports____I suspect it is the location of the reports that is the issue, since it talks about an invalid command line argument, but I am not sure.____We would rather the users put the app in the root folder, but many companies require apps to be installed in the Program Files folder.
==> RE: VB6, Runtime ocx
Posted: Thu Mar 17, 2005 1:53 am
by Alan_Klein
This has shown up with Arpeggion 2.0, R&R 10+, and R&R 11.0.001.
===> RE: VB6, Runtime ocx
Posted: Thu Mar 17, 2005 10:25 am
by kfleming
I just created a quick project and this code worked just fine for me:____Private Sub Command1_Click()__RSReport1.ReportName = "C:program filesReportWorkssampleBasic Columnar Report.RSW"__RSReport1.Destination = 1__RSReport1.Action = 1__End Sub______Kathleen__R&R Support