all groups > sql server reporting services > november 2004 >
You're in the

sql server reporting services

group:

How to view reports in dektop application?


RE: How to view reports in dektop application? Charles Kangai
11/24/2004 6:37:06 AM
sql server reporting services: Use the browser control in your application. In Visual Studio go to
Tools,Add/Remove Toobox items, then click on COM Components tab and check
Microsoft Web Browser (the file is \windows\system32\shdocvw.dll). Add that
to your form and programmatically change its URL property. For example if
your report is "New Year Budget" in the Budges folder, you can use the URL
http://MyServer/ReportServer?/Budgets/New Year Budget

If you want to have your Windows application have the list of all reports,
you can load them into a TreeView control at form load. You need to add the
web reference http://MyServer/ReportServer/ReportService.asmx. This has
methods such as ListChildren which will allow you to drill down the folder
hierarchy and load items into your TreeView.

HTH

Charles Kangai, MCT, MCDBA

[quoted text, click to view]
How to view reports in dektop application? Abdus Salam Atif
11/24/2004 4:32:05 PM
Hello All,

I want to open a report in a desktop application, the ReportViewer control
works fine on ASP.Net web form but not on the windows form. Can anyone help
me here?

regards,
Atif

Re: How to view reports in dektop application? Abdus Salam Atif
11/25/2004 11:55:30 AM
Thanks alot, solved my problem.

Regards,
Atif

[quoted text, click to view]

AddThis Social Bookmark Button