I'm a newbie to a large project. I need to edit a report form. As i know it was made in newer version of VS and it used an earlier framework for form and as i know it have something with devwxpress. When i try to open it it only showing me an error:
Combo box and drop down controls cannot be created via automation.
But it still running well in debugging mode. And that's all. Anybody knows why it is causing?
As stated here, I think your project was developed using DevExpress < 12.2, and you're trying to open/edit a DevExpress report on Visual Studio > 2012.
This way, even you could edit some forms that uses DevExpress components, you will not be able to edit DevExpress Reports. I had the same result here, lot of googling with no avail
Related
I'm new to Visual Studio and in trying to follow a tutorial I can't seem to find the DataGridView on the ToolBox for Windows Forms. I understand I can go to "Choose Toolbox Items" to select what I want but even then when I try to drag and drop the DataGridView it doesn't allow me to drop it.
I don't understand it because in every tutorial I watch this seems to be a pretty straightforward operation. If this is not possible, or if this is not the control I should be using, what is the other option to display a datatable on windows forms?
Any help is appreciated.
Here is the fix:
Trying adding using System.Windows.Forms;. From .Net Framework only.
OR
After watching your image I think that it is a fresh project. So, create a new project. (Windows Form App(.Net Framework)), don't use .Net Core (still in progress as #JhonG said).
I want to know anybody knows if there is in VSTO a control or a way to create a popup like Quick Analysis that appears at the right-bottom of a given range:
I'm creating an Excel plugin in VS2013 with C#, the plugin should be compatible on Excel 2007, 2010 and 2013. If such control can only be created on the latest version of Excel (2013) that may not be an option for deploy. I´ve already created a traditional Windows form to do this, but I'll like to know if there are better ways to show new controls to the user, closer to where the action is occurring. Thanks!
I am getting to reporting with C# and Visual Studio 2010 for the first time. Most of my applications are win forms apps drivin by sql server data. What should I use to get started with reporting? I see there is a built in report designer in the toolbox and also a way to add reports at the project level. This includes some sort of built in report designer and a report wizard. Also I noticed a reporting designer called Crystal reports.
Is there a good direction I should go? Also any tips to get me started so I do not waste a lot of time?
Any help or direction would be appreciated! Thanks!
Go for Crystal Reports, Its a well known reporting tool and you will find a lot of resources on the net about it. In addition to that, It is totally Free.
Check these for more details:
http://msdn.microsoft.com/en-us/library/aa287920%28v=vs.71%29.aspx
http://msdn.microsoft.com/en-us/library/ms225615%28v=vs.90%29.aspx
http://www.youtube.com/watch?v=wud4VtqpetU
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..
Hey guys I'm a newbie and I just wanted to know of the people who do Winforms on Visual studio, at your place of work do your forms have IDE support. Because for some reason I don't have IDE support on 99% of the windows forms I'm working with. I mean I can not see anything on the design view except for errors is this the usual case in industry????
Are you using any 3rd party UI controls? Some have dll's for the design view to work, and if you haven't installed the toolkit on your developer machine you might get errors like this.
One possible explanation for having errors on forms is licensing. If your company uses third-party controls on their forms, they could cause errors when trying to display the forms on unlicensed machines.
Another possible explanation for errors with third-party controls is simply installation. If you don't have the controls installed and referenced properly, that could also cause errors.
You could try to post some of the errors you have to another Stack Overflow question, and perhaps the community could help you solve your errors.
Sorry, WinForms is not broken for us (me). Check your code. Sometimes WinForms applications that were developed under Visual Sudio 2003 (or earlier) when upgraded to Visual Studio 2005 (or later) become unstable.
Start with a new form, and if the IDE (it is called a visual designer) works fine, then think about re-creating the old forms from scratch with the newest VS installation.
Your question isn't clear!, if the Visual Studio Designer not working well then re-install the IDE
Or explain more...
You should be able to view the forms in the design view.
Always unless there is an error in code. In case the project is building you should get the same error (this is a runtime error) that you will generally get when you run the code.
In case the project is not building it will be simpler to fix the errors :)