Previously I use vb6 with crystal report and i use the crystal report viewer with vb6 to preview the report.
now i moved to vb.net 2010 where i cannot find the crystal report viewer Activex control? i specially want to use crystal report Activex viewer in dot.net because it will allow the user to edit the report as user has need,
if the crystal report activex viewer cannot support then give me way to modify the crystal report file after the exe has been build in vb.net 2010?
.NET uses .Net DLLs, not Active X controls. When in .Net Studio...you will be looking for the DLL's that support run time operations...NOT an ActiveX. Dig back into your documentation and samples...it should be covered there.
As Juan said you need to look for .Net DLLs in order to use CrystalReportViewer.
From your question I am assuming you already have installed Crystal Report 13 for Visual Studio 2010. If you haven't https://www.sap.com/india/products/crystal-visual-studio.html this is the link from where you can download it.
Now coming to your question of not being able to find dll of CrystalReportViewer You need to follow these steps:
First in your menu bar go to project and go to properties of the project.
Go to Compile section, then to advanced compile options.
Go to Target Framework by default it will be on ".NET Framework 4 Client Profile" set it to ".NET Framework 4".
Restart your Visual Studio.
Voila you can see it.
Link to download .net Framework 4
https://www.microsoft.com/en-in/download/details.aspx?id=17718
Mark it as Accepted Answer if it works for you.
Related
The Reporting template seems missing in VS2017 (I am using Visual Basic). Any way to get it back?
I have already tried installing SQL Server Data tools and the rdlc extension from the marketplace, but it still doesn't show up.
The template is available in the Add New Item window. Select Visual C# and then look for the Report and Report Wizard templates. These templates are only visible under Visual C#, not under any subitem.
Try updating ReportViewer to version 14.0.0.0 and installing Microsoft.RdlcDesigner. This worked for me for Visual C# and then just like J.Bunch said there is no sub item Reporting like there was before so you just scroll down thorough all items. Also try this although the example is for C# I think it should at least help you with VB.Net as well. Hope it helps.
This has me really stumped. I'm using MS SQL 2008 R2 with SSRS and Visual Studio 2013. The application is written in VB.Net. When I create a report on the server and then try to incorporate it into my application with a ReportViewer the ReportViews shows up below the form and not within the form. When executed as a remote report nothing shows. The report works find in Report Server. When ReportViewer is added to form it is loaded below the form and not IN the form and the options are set for a Server Report. The ReportViewer is version 11. I don't know how this is happening now and not before. I have 2 reports from before as I was developing that seem to work ok and now I'm trying to add more and it's not working. Is this an option within VS2013? I'm confused.
I have the same situation. May work for you:
In Visual Studio in PROJECT -> Project Properties -> References
Make sure you only have Microsoft.ReportViewer.Common Version 11 and Microsoft.ReportViewer.WinForms Version 11
In the references I had Version 10 and when I removed those references the ReportViewer Control worked correctly.
I'm trying to add a chart to my Visual Studio form but the button is greyed out. I'm using .NET Framework 3.5 and C#. Following instructions online I've downloaded and installed the dll files from this link: http://www.microsoft.com/en-us/download/details.aspx?id=14422
I also added them as references and added the following line at the top of my form file:
using System.Windows.Forms.DataVisualization.Charting;
but the button is still greyed out.
What have I missed?
To make the chart control available, you need:
To be using .Net framework 4.0 or higher, OR for .Net framework 3.5 install this: http://www.microsoft.com/en-us/download/details.aspx?id=14422
On the toolbox context menu -> Choose Items... have the Chart control selected. (Sort by name in the Choose Toolbox Items dialog and scroll to Chart. There are two: one for Windows forms, one for Web forms. You need only select what's relevant.)
The chart control appears in the "Data" section of the Toolbox.
You do NOT need to any any "using" clause to the form source file, or any reference in the project references. (The reference is added automatically for you when you add the control.)
I too had this issue and could not resolve it for hours.
As posted here:
Visual Studio 2010 toolbox controls disabled or inactive
In order to solve it for me I just right-clicked one of the items in the toolbox, and chose "Reset Toolbox"
This resets the entire toolbox, so as mentioned in the answer above, all custom tools are lost and need to be re-imported.
Had the same problem.
What I did was to make sure that I was using the same Framework with the chart framework version.
During project creation, by default using .net 3.5. But since the chart is written for Framework 4.0, it will not work with 3.5.
You need to change the solution or project Framework to 4.0 or above by doing this:
On the menu bar of Visual Studio, click <your project name>/Properties.
Change target framework to 4.0 or above.
Save the properties setting.
Rebuild your solution.
After this, you may use that chart component.
I am working with Visual Studio 2010 on a Windows 7 64-bit system. I am coding in vb.net. I am trying to use the SpreadsheetGear DLL (D:\VS2010Code\Report Depository\Bin\SpreadsheetGear.dll) in my DashInApps (D:\TWhitsett\DashInApps) project to load my output data to Excel. Can someone assist and guide me in the right direction to get this done?
Right click on your project and click 'Add Reference'. Then point to the SpreadsheetGear DLL in question. You can't just put it in the bin directory and expect it to work without loading it into the project first.
Is this possible? I installed them, but they don't appear. Do I have to import them or something?
If you cannot see the Chart control in the Toolbox, right click in the Toolbox, select Choose Items, and then select the following namespaces in the .NET Framekwork Components tab:
System.Web.UI.DataVisualization.Charting
System.Windows.Forms.DataVisualization.Charting
Please, take a look: How use MS chart control with VS 2010?
I haven't tried it with VS2010, but I would assume the process for using it is exactly the same as described there for other versions of VS. It won't appear in the tool box until you instal the add-ons
According to this blog post from January 2010:
The Microsoft Chart Control is available as separate installation for .NET Framework 3.5 and will be included in .NET Framework 4.0.
It could be that the controls haven't been updated to work with VS2010 because of this. If they're not in the Beta 2 by default (I don't have it installed on this machine to check) then it might be that they're only going to be included in the full release.
The Chart controls are included in version 4. Here's where you can find the types:
ASP.NET:
http://msdn.microsoft.com/en-us/library/system.web.ui.datavisualization.charting.aspx
Winforms:
http://msdn.microsoft.com/en-us/library/dd489065%28v=VS.100%29.aspx