Solved

C# & .NET GUI Expert guidance or idea's needed

Posted on 2003-11-11
5
246 Views
Last Modified: 2010-04-17
I could really use some input from one or more of the experts on the list regarding the following conditions:

First we have a GUI under development and the coders are using C# and .NET framework.

I supplied all of the graphics which consists of a couple of hundred gif files.  The individual gif files are cutouts from the main GUI body plus mouse up, mouse over (Hover) and mouse down graphics for the various controls.

Now this is where the initial problems start:!!!!

The GUI is not a square window ? it has many rounded borders or contours. Our graphic artist mentioned using a blue background in the programming process so that the square edges can be keyed out.

The current result is as follows ? We have at least five different people (machines) that attempt to run the C# .NET GUI as the development continues.

1. Windows ME
2. Windows 98SE
3. Three machines with XP Pro

Each person (geographical different) has downloaded .NET ver 1.1 from Microsoft and installed on their machine.

When the GUI is executed on ME and 98SE it always has a ragged border of blue around the GUI ? Not just a square outline but blotches of blue ? They never ever have seen the GUI come up without the blue and the performance is extremely sluggish in response to various button presses. For example the GUI has three roll-out panels.  In the mode just described the panels roll out very slow and a bit jerky ? Same when moving the GUI around the screen it?s a bit jerky.

Now the alternate to the description takes place in my computer environment.  Randomly when I start the GUI on my XP Pro machine it looks perfect! Very smooth as it is moved around the screen ? No blue at all anywhere around the contoured borders.  Panels rollout smoothly and timely ? Demonstration mode that simulates action graphics in an LCD like window are smooth and they startup in less then a second of the button press.

It does not stay that way though ? sometimes it starts up in my XP PRO system and looks and operates pretty much the same as I described above on the 98SE and ME machines.  The demo mode then takes five to eight seconds to start ? jerky around screen ? blue splotches etc.

What is a bit interesting is that I can command my video (GeForce4) to rotate my CRT screen (desktop) 180 degrees and then rotate back to normal and sometimes by doing this the GUI goes back to what I would call the normal mode!

We have been looking long and hard to try and figure this out as our C# .NET developer has not been able to duplicate this on her machine running 98SE.  

Since the GUI coder located out of the country, I?ve emailed screen shots from all of the various machines to her and she still can?t put her finger on the problem.

Between this and trying to resolve issues of threading with C++ backend code that must communicate with the GUI in C# .NET I?m starting to pull my hair out.


Are any known documented or undocumented problems inherent in C#. .Net that might cause this?  Or are we missing some basic concept in the coding of C# or .NET?

Outside of the above items we believe the coder is going to move to C++.NET so that we can thread our native C++ back-end code with the GUI.  I?m holding on to my cap for this as it will probably throw more items into the mix.

Thanks for any help advice.

REN

ren@comcast.net
0
Comment
Question by:RENisME
  • 2
5 Comments
 
LVL 5

Accepted Solution

by:
TRUENEUTRAL earned 500 total points
ID: 9733851
Sounds like your graphics are simply too intense for the processors and video cards on the machines.  The squares on the corners sound like "jaggy's" (a phenomenon related to lost resolution when resizing jpg or gif files.

Things to try:
1. Remove all graphics and animation from the GUI (use text) and benchmark it on each OS you are designing for.  
If this alleviates the problem, try reducing the storage size of the graphics before sending them to the GUI coder.
2. Look at the system specs for the machines you are running the GUI on.  I would suspect the machines it runs better on have a faster processor/more RAM/better video/etc...  You can use your findings here to set the minumum system requirements for your application.

0
 
LVL 5

Expert Comment

by:TRUENEUTRAL
ID: 10321934
I hope my comments were helpful.
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Windows Batch File - Display current time and date in FOR command 8 78
Modify a small python script 19 108
Android development question 2 37
Cygwin - GNU GPL License 1 24
Here we come across an interesting topic of coding guidelines while designing automation test scripts. The scope of this article will not be limited to QTP but to an overall extent of using VB Scripting for automation projects. Introduction Now…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question