473,785 Members | 2,488 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Moving from VS2003 to VS2005 solutions

I have a solution that is in development under VS2003 and has been 'ported'
to VS2005. The painful experience of running this newer version of VS
revolves around one form. This form is very dense in controls and has
difficulty in VS2003 when changes were being made to the form in question
( as if the entire code behind was being rewritten adding the new lines of
code behind -- albiet very predictable and stable ). The experience is
VS2005 is much worse (unpredictable and very unstable -- ie. losing its way
and locking up and dumping all codebehind in the form and the designer goes
to lunch and doesn't come back .. etc.). My question is this -- WOULD my
taking areas of this heavily control populated form and putting those areas
in a user control and then adding that user control to the form reduce the
lag in dealing with this form?

Rich ... thinking of step one .. not wanting to think of step two ;)
Dec 25 '05 #1
1 1302

If you are talking about collections of controls situated on
tab pages, you could consider creating a usercontrol for each
tab page, containing the controls originally found on those pages.
When running the form, add those usercontrols programmaticall y
when needed, rather than at design time. Alternately, load all the
controls in code if you can.

In some cases I have worked with forms containing a 3rd-party
docking windows framework, i.e. when dragging the toolbar/menu
manager to the form, a number of "hidden" controls would be added
to the form. Working with the form in the designer afterwards, I often
found that it was easy to mess up the docking framework and I would
have to start all over again. The solution was to carefully design the
form, then move all the designer-generated code outside the designer-
controlled area and initialize it myself. I would get an empty form if
I opened it in the designer, but at least it worked when I ran it.
All the time.

Bit of a pain to work with, but if you have a form which is "dense
in controls", perhaps there is an interface design (or "user
experience") problem that should be dealt with first.
....
I am not making excuses for Microsoft, but until a service pack
appears for the VS IDE, we just have to work around those problems.

/JB

On Sat, 24 Dec 2005 15:54:12 -0800, "Rich" <r.*******@comc ast.net>
wrote:
I have a solution that is in development under VS2003 and has been 'ported'
to VS2005. The painful experience of running this newer version of VS
revolves around one form. This form is very dense in controls and has
difficulty in VS2003 when changes were being made to the form in question
( as if the entire code behind was being rewritten adding the new lines of
code behind -- albiet very predictable and stable ). The experience is
VS2005 is much worse (unpredictable and very unstable -- ie. losing its way
and locking up and dumping all codebehind in the form and the designer goes
to lunch and doesn't come back .. etc.). My question is this -- WOULD my
taking areas of this heavily control populated form and putting those areas
in a user control and then adding that user control to the form reduce the
lag in dealing with this form?

Rich ... thinking of step one .. not wanting to think of step two ;)


Dec 25 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
1557
by: White Knight | last post by:
I need the new "Port" functionality of Net Framework 2 to complete a project that is being produced using VS2003 and C#. If I download the release version will this cause problems with VS2003, and my earlier C# projects?
2
1717
by: Carlo \(MCP only\) | last post by:
Hi to all I'm askyng you a suggestion about the best way to share the same source code between VS2003 and VS2005. The project I'm developing is a controls and components library, and the Solution.sln includes a standard WindowsForms application for testing pourposes. What I need is an efficient and reliable way to edit and test the DLL assembly in both environments, since the library will be distributed for Framework 1.1 and 2.0.
2
1102
by: Peter Bradley | last post by:
We have upgraded an ASP.NET solution from VS2003 (.NET 1.1) to VS2005 (.NET 2.0). On rebuilding the solution, no dll appears in the bin folder of the Web site. Is this the usual case for VS2005 solutions? If so, how can a solution be deployed? If not, can anyone suggest what might have happened? Peter
6
1892
by: =?Utf-8?B?SGFycnkgVg==?= | last post by:
I wrote a C# Windows app using VS2003 to read selected text files and write the data to 3 tables in an Access database. After "upgrading" to VS2005, I tried to add a feature and rebuild - what a can of worms. At this point, the solution builds and runs, but if I open or restore another window, program or application, the app will go to a "Not Responding" status. Sometimes, it writes records, sometimes it doesn't. I'm really not sure...
0
9645
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9480
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10325
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9950
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8972
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7499
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6739
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5381
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.