Grouping Expert causes lockup - c#

I'm working on a report in Visual Studio/Crystal Reports (2005). Whenever the grouping expert is accessed, the development environment locks up. It happens both when I try to open it directly, and when trying to use the design expert for a new report.
I've done many Crystal reports before with out this trouble. The lockup occurs when I revisit an existing report.
I have no idea how to find this error.

The cause turned out to be that the Expert dialog box had been moved to a second screen on a previous occasion. Once I discovered that, it was easy to move it back into view. (Alt-Space, choose Move, move it with arrow keys.)
I found the solution on a Microsoft Q/A site using Bing. Not surprisingly, I find Bing has better coverage of MS data than Google.

Related

Broken UI Text 5.4.2p3

I'm having an issue with some UI Text objects in my company's project (sorry if I may not give some details, since I cannot share everything) where sometimes they break. In the print screen below I show you the editor window but this happens on runtime as well. In the editor I just need to target the window or move the view so they refresh but in runtime this is not so easily fixed.
Some details that might help:
These text components are dynamic and use a non-native font; I've
tried to use .SetAllDirty() after the changes but it won't work;
I've seen people speaking about clearing the characterinfo but
sometimes works others not;
I've also found a solution that pushes
them 10 units in the "z" axis but that doesn't smells me right. We
have lot's of text objects to pull and most of them are
instantiated;
Thank you for your attention towards this issue and for any solutions that you might give. I'll try to answer them as soon as I can.
Broken UI Text
Actually, this is a known bug of Unity.
I've also got this bug, but you can try to send a bug report to Unity.
You can send one by using the shortcut at the start menu. (Unity [version] > report a problem), if you don't see it, go to Unity, then Help > Report a problem.
Or you can try to report the bug to the issue tracker.

Why is Visual Studio altering my Winforms when editing them on another computer?

I am having a rather odd issue that I have been unable to find the answer to. I have 2 PCs that I am doing coding on - one a desktop PC and one a notebook (QuadHD resolution). Each has Windows 8.1 & Visual Studio 2013 Update 5 installed.
I have localized all my Forms and it seems that when I edit the Winform on my notebook, it causes very odd resizing issues to occur. For example, if I simply change the "Language" property from one language to another (that I have already translated), the entire form is skewed and re-sized, completely destroying all the layout of the form in the selected language. On another form, the "ImageScaling" property is erroneously changed from 16x16 to 40x40.
The issue seems to be related to the changing of the 'Language' property. Almost like there's some sort of resizing logic & layout logic being applied when this property is changed.
When I perform the same operation on my desktop PC, I get no such odd modifications (as I'd expect). This obviously renders my notebook completely useless for being able to do any WinForms work!
I initially thought this might be related to some quirk with the QuadHD display (i.e. 3.2k x 1.8k). I have tried to reduce the screen resolution to a regular HD quality, however this doesn't seem to resolve the issue.
Does anyone have any hints about what I could try to fix this problem?
Thanks.
The only workaround I have been able to come across so far is to ensure that your Windows Settings->Display->Scaling is 100% BEFORE making any modifications to the form (including changing any seemingly innocuous properties such as 'Language').
On high-resolution screens, this unfortunately makes the content almost unreadable but at least the forms are not completely ruined/resized when you edit them.
You will unfortunately need to do all your edits in this mode and commit them before reverting your scaling back to its original setting.

Crystal Reports c# VS 2012 - Can't add picture to my report, not displaying?

I'm working in Visual Studio 2012 Ultimate c# and using the designer for creating Crystal reports. I want to add an image in the head section by doing: Rightclick -> Insert -> Picture and then I select the picture (png/bmp) and nothing happens. I tried to do this with an OLE link to the image files as well, but (besides the OLE object) no image shows up.
I checked all around the web but couldn't find a solution to my problem. Any suggestions or ideas as to what can cause this or how I can circumvent the issue?
Ok appearently I found the cause for nothing happening by continually trying to make things happen in the designer :p.
Crystal reports is quite buggy when it comes to adding pictures, first of all it does not generate a single error message when something goes wrong with loading image files. For example, Crystal reports can't support gifs or transparent images and will not show any error message when trying to load one.
The second (and in my case most important) cause is that by double clicking an image while loading it immediately places the image under your cursor and when your cursor is outside the drawing surface of your report it will immediately disband your picture. Selecting the image and pressing the Enter key to confirm will allow you to move your picture onto your report.
I hope this will help other people with similiar problems in the future.
Selecting the image with single click after going to Insert->Picture and then pressing enter to confirm worked for me.

Pluggable reporting tools in C# WPF application

My application needs the ability to create and produce reports and it seems that the 2 major options are SSRS or Crystal Reports with a whole host of other options like Infragistics, Active Reports and so on.
As the application will be used in a variety of different corporate environments there will be different prefrences for which is their reporting tool. So for example 1 customer might be a SSRS user and another might think that Crystal is the best thing ever.
This means that it is important not to tie my application to one particular reporting tool but have the ability to plug in the relevant one out of a list of many.
Has anyone done something similar?
At the general level, how would you go about implementing this and what problems should I look out for?
Thanks in advance for any help
Alex
The problem you will likely have is that all these systems use their own datasource objects and rendering engines, you will need to implement each system separately with its own proprietary viewer control. You could probably style all the viewers to look the same but they will like not all have the same functions.
If you are using business objects as your datasource, I highly recommend sending your data to a database first, as you will find much less overhead on each reporting solution if you are pulling your data directly from a DB.
Each report viewer (the ones from each different reporting solution) will allow you to strip off everything from the viewer except the main Report View pane. You can then implement your own buttons like "Print, export to PDF, XLS, Zoom, Page Back, Page Forward. There are more. You can then wire your buttons to functions on the the report viewer control i.e. Viewer.Zoom(100). You will likely be wasting a lot of time on this though as it is a lot of effort to recode buttons that are already there and functional, just so that they look the same.

C# Dev Express Ribbon Form - Design-Time: System Out Of Memory Exception

.......
I keep getting that nasty out of memory exception, for which I plan to blame Dev Express completely. Any ideas what I could be doing wrong to make this happen?
I've got a Ribbon Form (Which takes ages to load up in Design view when I want to play with the controls on the form........But I'm guessing thats just the nature of the thing.
Help greatly appreciated.
EDIT
When I double-click on my form in Visual Studio, instead of it displaying the form it displays this HUGE ERROR MESSAGE.
I had a similar problem. The workaround I found is to close all design views and rebuild the project. Following these, I could open the form in design view.

Categories

Resources