Using the ReportViewer Control

Hello People.

Please, can anybody tell me if is it possible to use the ReportViewer Control with Visual Basic Express Edition

I'm asking this because I've downloaded and installed the redistributable package of this control but I couldn't find a way to use it.

I'm sure that it is correctly installed because I browse c:\windows\assembly and I can see 4 entries of it as follows:

Assembly Name Version Public Token P.A.
---------------------------------------------------------------
-----------------Microsoft.ReportViewer.Common 8.0.0.0 b03f5f7f11d50a3a MSIL
Microsoft.ReportViewer.ProcessingObjectModel 8.0.0.0 b03f5f7f11d50a3a MSIL
Microsoft.ReportViewer.WebForms 8.0.0.0 b03f5f7f11d50a3a MSIL
Microsoft.ReportViewer.WinForms 8.0.0.0 b03f5f7f11d50a3a MSIL

Neither the control nor any of its references are available at VB 2005 EE. If I select "Tools -> Choose Toolbox Items..." or "Project -> Add Reference..." I can't find any trace of the control.

The strange part is that I've also downloaded the samples for the ReportViewer Control and the WebLogAnalyzer sample compiled and worked without problems. It even shows that it is using the references: "Microsoft.ReportViewer.Common" and "Microsoft.ReportViewer.WinForms". But I can't figured out on how to add these references for myself.

And one last thing... Is there also a free report designer available, because if there isn't the control itself is a pretty useless, or not

Any help and/or suggestion is very welcomed.

Thank you very much for all your time and attention.

Cheers,

Rodrigo.




Answer this question

Using the ReportViewer Control

  • JohnGBunch

  • compucv621

    You need to add a reference to the dll via the add reference > browse> select your dll from the filing system. Once your project has referenced the relevant dll's you can add the components to your toolbox by right clicking>Choose Items>check the tickbox next to the dll you just referenced. As to whether you can do this in Express, not sure as I'm using pro version. hope this helps
  • David S. Anderson

    this sound a bit obvious but can you not move/copy the dll to another directory, then add it to your project (assuming this doesn't violate any license and you have re-distribution rights) that way Just an idea ...
  • jaymc

    Hello Mark!

    First of all, thank you for your reply.

    I've tried that, but the problem is that the dll in under "C:\WINDOWS\assembly\GAC_MSIL" and it is impossible to browse a level below "C:\WINDOWS\assembly\". This is a special system directory, similar to "temporary internet files"; the windows explorer and windows commom dialogs do not allow you go below "C:\WINDOWS\assembly\". The only way to browse below this level is via a command prompt, but unfortunately it is useless in order to add a reference.

    Anyway, tanks a lot for your help!

    Cheers,

    Rodrigo


  • Using the ReportViewer Control