Friday, March 9, 2012

rs script utility and vbScript

Hi,
I've modified PublishSampleReports.rss and it is working fine to deploy
reports, set data sources and update parameters. However, there is one
thing I can't seem to get working...
I'm trying to read the list of report names to be deployed from a text
file. To do so I was using the following bit of vbScript...
Dim objFSO
Set objFSO =3D CreateObject("Scripting.FileSystemObject")
and trying to use this to connect to the text file to read the report
names. But it tells me that it doesn't recognise CreateObject()
Is this because the .rss file doesn't use vbScript? Or am I just doing
something worng?
Any help would be greatly appreciated...
Thanks
Gear=F3idoops, I think I may have discovered my mistake - the rss script is
written in vb.net, not vbScript. Take 2...

No comments:

Post a Comment