473,747 Members | 2,946 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Slow switching between code & designer views

Hi all,

I have a moderate-side 'Windows Form Application' (C++)
project, with several forms.

For some reason switching between code & designer views
(right-click ;view code' or 'view designer') is very slow.
How slow? It can take more than 10 seconds for a truely
moderate-size form.

The best workaround I managed to come up with was to
automatically instantiate (at runtime) as many of the screen-
components as possible, leaving the Designer generated
InitializeCompo nent() method as slim as possible.

That, of course, is a serious pain.

Better ideas will be welcomed...
I'm using Microsoft Visual Studio Pro 2005 Version
8.0.50727.42 , with 2.0.50727 .NET Framework.
SamSpide

Feb 10 '07 #1
1 1788
Is it slow when you're mucking around with it in design mode, or when you
are running the application?

Mine is slow when switching between the code and designer window for a
Windows Form; I think it's just a known problem with Visual Studio 2005. I
haven't found that it affects the application at runtime, though. I think
I'm probably going to completely grind my teeth down, it annoys me so much.
;-)

Robin S.
----------------------------------------
"SamSpide" <sa******@hotma il.comwrote in message
news:11******** **************@ v33g2000cwv.goo glegroups.com.. .
Hi all,

I have a moderate-side 'Windows Form Application' (C++)
project, with several forms.

For some reason switching between code & designer views
(right-click ;view code' or 'view designer') is very slow.
How slow? It can take more than 10 seconds for a truely
moderate-size form.

The best workaround I managed to come up with was to
automatically instantiate (at runtime) as many of the screen-
components as possible, leaving the Designer generated
InitializeCompo nent() method as slim as possible.

That, of course, is a serious pain.

Better ideas will be welcomed...
I'm using Microsoft Visual Studio Pro 2005 Version
8.0.50727.42 , with 2.0.50727 .NET Framework.
SamSpide

Feb 11 '07 #2

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

Similar topics

12
2643
by: Neil | last post by:
I previously posted re. this, but thought I'd try again with a summary of facts. I have an Access 2000 MDB with a SQL Server 7 back end. There is a view that is linked to the database via ODBC and has been in place for several years without any performance problems. Recently I added a couple of fields to the output of the view, and it became very slow when scrolling. When just opened in the database window, the linked view takes about...
9
3006
by: AnandaSim | last post by:
Hi All, I've had Access 97, 2000 connections to the corporate Oracle database for a few years now - but seldom use it. When I did use it years ago, performance was not fast but the features were good enough. Now, the version of Access is 2003 with Office SP1 applied, Windows XP against Oracle 9.2. And attached tables are real slow - 5 mins to get to datasheet view and data is incorrect - the same row is repeated several times even in...
5
1532
by: Jacques Cooper | last post by:
Hello, We developed a C# application. How do you changes views within the same application window? With VC++ you changes views within the same window with the SwitchView method. TIA,
0
962
by: ES | last post by:
Hello, I'm using VS 2003 for an ASP.NET project. I have a number of web forms, components, user controls, etc in the project. It compiles and runs correctly. One form when opened in the development environment seems to hang VS. When opened, it displays the form designer. It appears to be OK but immediately will display a "*" in the tab. If I attempt to save the file or switch to HTML view, the CPU utilization skyrockets, the...
6
4543
by: Michael | last post by:
Hi, I'm new to VB.Net but have noticed a few things about the dev interface that is really starting to get annoying. First of all, while trying to work with a form and the code module for the form I notice switching back and forth between the form and code window is very slow, specially if I select the form. Im in the process of trying to add control names into my code and wanted to copy and paste each control into the function, but each...
2
4546
by: Kristof Taveirne | last post by:
Hi, I'm developing an application on PDA using WindowsCE. In my application I have several tabs at the bottom of my screen. However, in one of the tabs I've placed 2 radiobutton, used to switch between between 2 panels on that same tab. (I don't use nested tabs, because I noticed they always show at the bottom, which is unlogic in my application). The first Panel is a custom Panel in where I override the paint method
0
1277
by: Litani | last post by:
Hi everyone, We have a winform application that uses webservices. It has list screens. The user selects a row from the grid and an edit screen is presented to the user with the selected row. Switching from the list screen to edit is slow if I have decent amount of controls. I can see the screen painting. In some cases, I can see the application painting some controls read only or disabled. Any suggestions on how to display the...
3
1848
by: Ryan Liu | last post by:
Hi, I spend most time works on Windows form application and VS 2008 runs at a acceptable speed. While I edit aspx file, especially change to Designer View, it seems very slow. Some time even very slow while in Markup view, maybe it is doing some backup compiling and sycn.
2
1334
by: Bobby Edward | last post by:
Any way to debug why VS 2008 SP1 is slow? Recently it's been really lagging, even though it's a pretty fresh install, with a few "add-ons", like: Devart dbForge Fusion for MySQL, Devart MyDirect .NET, Refactor! for VS 3.0, DevExpress Tools But it seems to lag only recently. Especially moving in between tabs and switching views, etc... Any way to troubleshoot this? Thanks!
0
8979
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
8818
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
9223
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
8233
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
6790
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
6067
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
4860
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3296
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2771
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.