DevExpress Toolboxes don't get created on Visual C# Express - c#

I installed DevExpress v2011 vol 1 on my Win7-32 Home Premium computer running Microsoft Visual C# 2010 Express.
The DevExpress controls do not appear in the ToolBox. I tried running the ToolboxCreator program with logging, and it resulted in:
VS 2005 not found
VS 2008 not found
VS 2010 not found
It looks like I can manually add DevExpress controls to the ToolBox by doing the "Choose Items..." method and selecting a DevExpress tool, but that's a lot of controls, and even though I specified to only install the WinForm controls, it looks like a lot of web controls are there, too.
Is this the way I have to do it, or is there a better way?

It seems like this is a known problem according this post. The post acknowledges issues with VS Express, and links to this support article. Unfortunately, it says:
It is possible to use our ASP.NET and WinForms products in Express Editions, but you will have to manually add the required product items to your Toolbox. This can be done via the "Choose Items..." command of the Toolbox' context menu as described bellow.
So, sorry, there doesn't seem to be an easier way; I am guessing DevExpress themselves would be suggesting it if there were.

I resolved the issue in the following manner. I ran the devexpress toolboxcreator. But after that the toolbox was still abscent any devexpress controls. Then I right clicked the toolbox and selected 'Reset toolbox'. Maybe that would have worked if i'd tried it first, but it did the trick for me!

Note that if you use 60 free DevExpress controls then you should use only DevExpress.Utils.v11.2.dll and DevExpress.XtraEditors.v11.2.dll (for winforms) like in this video http://www.youtube.com/watch?v=QovScQvyvNM

DevExpress Controls not showing up (disable) in Visual Studio toolbox:
This issue was caused by the application Target Framework being set to .Net Framework 2.0
once the Target Framework was changed to 4.0, the controls became available in the Toolbox.
To change the Target Framework in Visual Studio:
For VB.net:
Right click the project in the Solution Explorer and click Properties...
On the Compile tab, click the Advanced Compile Options... button
Change the Target framework (all configurations) to .NET Framework 4.
For C# .net:
Right click the project in the Solution Explorer and click Properties...
Click the Application tab and change the Target framework to .NET Framework 4.
After that you need to repair toolbox by right clicking on toolbox tab, where controls exist.
Visual Studio will close automatically and will reopen after some configuration will apply.
Now you will find all devExpress Controls available on toolbox..

Related

Missing ListView Control in RIDER

I am fairly new to C# and Rider. I was creating a Windows Forms Application in .NET Framework 4.8.
I checked the Designer Toolbox and saw that ListView is not available as one of the options.
Any solution for this or would I have to be forced to move to Visual Studio? (I came from IntelliJ so Rider was more familiar for me)
This is a known issue and is in progress. https://youtrack.jetbrains.com/issue/RIDER-30456/.
So far, you can add required assembly through "Toolbox manager"

Cannot Open Form [Design] View in Windows Desktop Form .NET Core Application

When I create a new Windows Desktop Form Application using .NET Core with the latest Visual Studio 2019 Community Edition update, I cannot view the design view of the form, i.e., Form1.cs[Design]. When I click on the appropriately labeled Form1.cs file, it only opens up the code view.
New Solution Open Form1.cs code view only
Edit: At the time the question was asked Microsoft hadn't released the visual designer for WinForms in .NET Core in Visual Studio 2019. It needed a separate preview install. By May 2020, Visual Studio version 16.6, the designer was still in preview but could be enabled from Tools/Options/Environment/Preview Features/'Use the preview Window Forms designer for .NET Core apps' without needing an install.
As of November 2020 the designer is still in preview, but is enabled by default in projects in Visual Studio 2019 version 16.8 and later. It's still not complete, particularly re data binding, but the number of issues is much smaller. It can now be disabled via the Tools/Options menu as discussed above.
Took me a while, but...
Apparently, according to this page, you can bring up form designer in the following mysterious steps:
In the Solution Explorer, look for the head toolbar,
Find the icon that looks like an empty HTML tag: <>
When you click it, it will disappear, which makes no sense, but then,
Your plus signs (tree expand buttons) on the left side of the files will be gone too - that's a good sign:
Now you can doubleclick on your Form1 (or whatever it's called),
And after a few seconds of thinking, it will open the Form Designer.
Why this?... I literally have zero idea. But it worked for me.
Maybe tomorrow I'll find out more about this and yes I promise to come back and update - until then, just follow this little yellow brick road. I hate the fact that in 2021 some of the modern tools require dark sorcery to operate on a basic level, but hey. We're in this together.
Good luck!
This thread is the first when requesting "c# visual studio 2019 cannot open designer", so the solution may be useful for those who have encountered an error when the WinForms constructor stopped opening in VS2019.
The screenshot shows the steps to DISPLAY the ERROR that caused WinForm to stop displaying
I found this trick worked for me:
Right click your project in Solution Explorer and select 'Unload Project' from the context menu (near the bottom).
Right click again and select 'Load Project'
Now when you double click on your form class, it opens in the design editor

Chart tool is greyed out in Visual Studio

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.

When controls are hidden/disabled in the Visual Studio 2010 Toolbox?

What are some of the criteria for the controls get disabled in the Visual Studio 2010 Toolbox?
If the user enables "Show All" all the controls in the Toolbox are shown, but some of them are disabled. What causes the controls to be disabled?
One reason could be if the control is cannot be dragged-and-dropped on the design surface, depending on what type of document is open.
However, I noticed that, my .NET 3.5 controls are disabled, when developing a 3.5 windows forms application in Visual Studio 2010. What could be causing this issue?
Any help is greatly appreciated.
Datte
i solved this by selecting project -> properties , in application tab , selecting .NET framework client profile to .Net Framework. the controls are enabled after this.
It seems to be the target framework which causes this to happen.
hope this helps you
this depend of your project, if this target .net 2 you cannot see the .net 4 controls is very common with third party controls with target 2.0.3.5 etc
my experience was with third party controls.

.NET 3.5 Chart Controls Disabled

I've been using .NET 4.0 C# Windows Form Application utilizing the chart controls to render a chart on my form. I've recently had to switch to .NET 3.5 to use a reference that doesn't support 4.0. Now, I can’t use the chart controls for my application.
I’ve downloaded and installed the recommended packages:
Microsoft Chart Controls for Microsoft .NET Framework 3.5
http://www.microsoft.com/download/en/details.aspx?id=14422
Microsoft Chart Controls Add-on for Microsoft Visual Studio 2008
http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=23903
But my problem is that I am using Visual Studio 2010, the add-on is only for vs2008.
I had to select 'Show All' on the toolbox in order to even see the chart option, but now it is disabled and when I attempt to click and drag I get a error icon as my mouse pointer.
I tried to upload the image that shows the disabled chart, but SO wouldnt let me.
Is there any way that I can use the .Net 3.5 Chart Controls with VS2010?
Thanks,
Bryan
Right click into toolbox
choose items...
filter for "chart"
check out chart-checkboxes
Now they should be available.
If you upgraded to framework 4.0, remove manually added references of chart control, because framework 4 already has chart control.
Go to Project|Application properties and change your target framework to .NET Framework 4. It will close the solution and reopen it by itself. your chart control will be enabled.
This is how I included chart in .net 3.5. Download the dll from "https://www.nuget.org/packages/System.Windows.Forms.DataVisualization/". You can check the license there. Now open visual studio/visual c# express(In my case it is Visual C# express 2008). Go to Tools->Choose ToolBox Items-> In the window there would be a "browse" button in the bottom side. Browse the downloaded dll. Now it will show the "Chart" control in the same window's ".Net Framework Components" tab.Now click on it and press "OK". Now go to your toolbox , there you can find the "Chart" Control.

Categories