Showing posts with label direct. Show all posts
Showing posts with label direct. Show all posts

Sunday, March 11, 2012

Can it be done? WinForm consumes report, then prints direct to printer

It seems like there must be a way to do this basic task. A winform app
calls a report, passes the parameters and then outputs that report directly
to the printer without user intervention, or browser sessions.
I really dont want to go back to Crystal to do this.
Thanks, MikeNot easily. To integrate with RS from a winform you have to use either web
services or url integration. You can either handle the printing yourself
(render to PDF, save the file to disk, print the PDF) or use the client side
printing but although the client side printing could be driven by URL
integration (which would require a browser control) it will pop up a
printing dialog box. There is no way I know of to prevent this. My
suggestion is to render to PDF, save to disk etc.
You could try beta 2 of VS 2005 which have a winform and webform control but
that is a beta.
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"Michael Morisoli" <michael@.removeme.vieon.net> wrote in message
news:OyKPcNVYFHA.3032@.TK2MSFTNGP10.phx.gbl...
> It seems like there must be a way to do this basic task. A winform app
> calls a report, passes the parameters and then outputs that report
> directly
> to the printer without user intervention, or browser sessions.
> I really dont want to go back to Crystal to do this.
> Thanks, Mike
>

Sunday, February 19, 2012

Can I run SSRS reports from my VB6 application?

Hello,
I'd like to run some SSRS reports from my VB6 application. Is this
possible? If so, could someone direct me to a good tutorial to do so?
Currently I have an installation of SQL 2000 with Reporting Services, on a
Win2K3 server box.
Thanks!
RickJust use hyperlinks and point to the report server folder and file.
Example link:
http://rsserver/ReportServer?/Folder/ItemListing
rsserver would be your report SQL server name, Folder would be the name of
the folder where your report rdl file is and the ItemListing would be
replaced with the name of your report (without the .rdl).
HTH,
David
"Rico" <me@.you.com> wrote in message news:11kui.69479$Io4.17369@.edtnps89...
> Hello,
> I'd like to run some SSRS reports from my VB6 application. Is this
> possible? If so, could someone direct me to a good tutorial to do so?
> Currently I have an installation of SQL 2000 with Reporting Services, on a
> Win2K3 server box.
> Thanks!
> Rick
>|||Thanks David, but I need to manage subscriptions from my application, so
that's why I wanted to know if there was a dll or something that I could use
in VB6. I know there's a webservice for .net, but don't know of anything
for VB6.
Rick
"David C" <dlchase@.lifetimeinc.com> wrote in message
news:eWMy5yf2HHA.4400@.TK2MSFTNGP06.phx.gbl...
> Just use hyperlinks and point to the report server folder and file.
> Example link:
> http://rsserver/ReportServer?/Folder/ItemListing
> rsserver would be your report SQL server name, Folder would be the name of
> the folder where your report rdl file is and the ItemListing would be
> replaced with the name of your report (without the .rdl).
> HTH,
> David
> "Rico" <me@.you.com> wrote in message
> news:11kui.69479$Io4.17369@.edtnps89...
>> Hello,
>> I'd like to run some SSRS reports from my VB6 application. Is this
>> possible? If so, could someone direct me to a good tutorial to do so?
>> Currently I have an installation of SQL 2000 with Reporting Services, on
>> a Win2K3 server box.
>> Thanks!
>> Rick
>>
>