Microsoft Chart Controls in Visual Studio 2010? - asp.net-4.0

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

Related

How to make the style of a MenuStrip like that of the MenuStrip in Notepad? (VB.NET)

and I was wondering if there was a way to get this style of MenuStrip:
in a WinForms application, instead of this style:
I've already tried browsing through the different appearances Visual Studio offers, but I think it might be the version of the .NET framework I'm using, which is 4.5, I'm fairly certain.
Edit: Sorry, I should have said this before, but I'm using Windows 7 and Visual Studio 2010.
I've found the solution. Just simply replace a MenuStrip with a ToolStrip, and but the RenderMode property to "System". I feel rather silly now heh
I found the solution.Right click on toolbar and click Choose Item.Now select .Net Framework click Main Menu.
Now use it. But I have windows 7 and visual basic 2010 express...

Reporting template in Visual Studio 2017

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.

Crystal Report Viewer

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.

Reason for toolbox items being greyed out [duplicate]

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.

Windows Workflow 4.0 Activities not being added to the toolbox

I've created a class project in VS 2010 Beta 2. I've added one Activity to it. Saved it. Created another Activity. I would expect the first Activity to appear in the toolbox so I could drag it into my workflow, but it's not. Any ideas?
I had this problem with Visual Studio 2010 RTM as well. I wrote a blog post with a potential solution here.
Essentially, the toolbox doesn't load your custom activities if you have two projects in your solution that share the same folder.
Make sure your Custom Activity class is marked as public.
I experienced this issue too. My workflow service project was part of a solution with other projects. I removed the workflow service project from the main solution and created a new solution only containing the workflow service project. After a build, the custom activities were generated and listed in the toolbox.
I don't know if this is still relevant for you but I had the same problem.
I could solve it like this:
Right click on the Toolbox to open context menu.
Select Choose Items...
Select the tab System.Activities Components
Click on browse and select the dll that contains the custom activity
Make sure that the activity shows in the list and is checked
Click OK
Not really the same question but in Visual Studio 2012, on a 64 bit windows, I had a 64 bit application with CodeActivity and NativeActivity and they were not showing up in the toolbox. I changed the application to AnyCPU and built it, and the activities are now displayed...
I hope it will help someone :)
I resolved this by creating a Windows Workflow 4.0 Console application and then removing out the Program.cs. Very odd, but it worked.