473,765 Members | 1,964 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

VS2005 code editor stays in runtime

I am developing a VB project in VS2005 that has SP2 installed. This
is the process that is causing a problem:
Open VS2005, open the project
Write some code in the code editor
Run the project in debug mode, test some of the forms
Close the main form which returns me back to the VS2005 code editor
*At this point, when I type anything in the code editor, parenthesis
are inserted after every letter I type. Also I can't backspace past
two characters. In general, the code editor is trying to autocomplete
the expression after every character that I type. It is like it still
thinks it is in runmode or something.
I have to exit the project, then reopen it for this behavior to stop.
Has anyone else experienced this? Have any suggestions?

Bryan

Jan 28 '07
13 1471
Hvae you tried this on a different machine? Is it your version of Visual
Studio, or your code somehow?

Have you tried putting in a breakpoint at the Form_Closing of your last
form, and then stepping through to see if it's doing something?

Robin S.
--------------------------------
"Bryan" <br*******@gmai l.comwrote in message
news:11******** **************@ p10g2000cwp.goo glegroups.com.. .
On Jan 29, 3:59 am, "Pritcham" <dontwanttogive myn...@hotmail. com>
wrote:
>Hi

I had issues like this a while back - exactly as you describe here and
it drove me nuts. From memory I think it was actually nothing to do
with Visual Studio itself but with one of the Add-ins I had loaded -
you might want to check those if you have any (disable them one at a
time to see if the error goes away then you'll know the culprit).

Hope that helps
Martin

I wish that was it, but I don't have any add-ins installed.

Jan 30 '07 #11
On Jan 29, 4:50 pm, "RobinS" <Rob...@NoSpam. yah.nonewrote:
Hvae you tried this on a different machine? Is it your version of Visual
Studio, or your code somehow?

Have you tried putting in a breakpoint at the Form_Closing of your last
form, and then stepping through to see if it's doing something?

Robin S.
I have done some more research into the problem to find a strange
pattern. First of all, I am using components from Developer Express,
such as a data grid and some command buttons. Here is the pattern.
If I am editing code, then press start while the active tab is a code
editor, and then upon program exit I try to type in the code editor,
the problems arise. however, if my active tab is a form designer when
I press start, then upon program exit I make the active tab the code
editor for that form, the problems do not happen.
It appeared that I needed to be looking at a form designer when
starting my project to avoid the bug. But it gets stranger.
If the active tab when starting the program is a code editor, then
upon program exit I immediately switch to the form designer of said
code, then back to the code, the problem does not happen.
If the only tab open is a code editor, the problem never arises.
Why would the form designer be messing with the code editor portion of
the IDE?

Bryan

Jan 30 '07 #12
Does the behaviour occur in an app where you do NOT use any of the Developer
Express components?
"Bryan" <br*******@gmai l.comwrote in message
news:11******** **************@ m58g2000cwm.goo glegroups.com.. .
On Jan 29, 4:50 pm, "RobinS" <Rob...@NoSpam. yah.nonewrote:
>Hvae you tried this on a different machine? Is it your version of Visual
Studio, or your code somehow?

Have you tried putting in a breakpoint at the Form_Closing of your last
form, and then stepping through to see if it's doing something?

Robin S.

I have done some more research into the problem to find a strange
pattern. First of all, I am using components from Developer Express,
such as a data grid and some command buttons. Here is the pattern.
If I am editing code, then press start while the active tab is a code
editor, and then upon program exit I try to type in the code editor,
the problems arise. however, if my active tab is a form designer when
I press start, then upon program exit I make the active tab the code
editor for that form, the problems do not happen.
It appeared that I needed to be looking at a form designer when
starting my project to avoid the bug. But it gets stranger.
If the active tab when starting the program is a code editor, then
upon program exit I immediately switch to the form designer of said
code, then back to the code, the problem does not happen.
If the only tab open is a code editor, the problem never arises.
Why would the form designer be messing with the code editor portion of
the IDE?

Bryan
Jan 30 '07 #13
I'm going to answer this, because Bryan and I did some back-and-forth
e-mail. It did turn out to be a problem with his plug-ins, and not related
to his code or to Visual studio. He got a hot fix for it, and his problem
is resolved.

Robin S.
---------------------------------------------
"Stephany Young" <noone@localhos twrote in message
news:%2******** ********@TK2MSF TNGP03.phx.gbl. ..
Does the behaviour occur in an app where you do NOT use any of the
Developer Express components?
"Bryan" <br*******@gmai l.comwrote in message
news:11******** **************@ m58g2000cwm.goo glegroups.com.. .
>On Jan 29, 4:50 pm, "RobinS" <Rob...@NoSpam. yah.nonewrote:
>>Hvae you tried this on a different machine? Is it your version of
Visual
Studio, or your code somehow?

Have you tried putting in a breakpoint at the Form_Closing of your last
form, and then stepping through to see if it's doing something?

Robin S.

I have done some more research into the problem to find a strange
pattern. First of all, I am using components from Developer Express,
such as a data grid and some command buttons. Here is the pattern.
If I am editing code, then press start while the active tab is a code
editor, and then upon program exit I try to type in the code editor,
the problems arise. however, if my active tab is a form designer when
I press start, then upon program exit I make the active tab the code
editor for that form, the problems do not happen.
It appeared that I needed to be looking at a form designer when
starting my project to avoid the bug. But it gets stranger.
If the active tab when starting the program is a code editor, then
upon program exit I immediately switch to the form designer of said
code, then back to the code, the problem does not happen.
If the only tab open is a code editor, the problem never arises.
Why would the form designer be messing with the code editor portion of
the IDE?

Bryan

Jan 31 '07 #14

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

Similar topics

0
2670
by: Don Stevic | last post by:
I am running VS2005 and using VSTO for Word. I keep getting this error saying that there is no source code available for this location when I try and run this application. I am going to try and reinstall Office 2003 and see if that fixes this, but it is talking about the mscorlib.dll and that isn’t Office.
3
5966
by: hayworth | last post by:
I had some code to build the name of a file: ' Build the name of the XML config file. g_strFiles.strConfig = My.Computer.FileSystem.CombinePath(Application.StartupPath, "\Settings\Config main.xml") This worked fine in Visual Studio 2003. But now that I updated to VS2005, it no longer works. The Application.StartupPath apparently seems OK in the editor (no syntax errors and I'm able to select StartupPath from the Intellisense pop up...
9
1986
by: yevvi | last post by:
Hi, We have a product with bunch of dlls which are now built with Visual Studio 2003. We want to switch the build to use VS2005. I have read that in VS2005 runtime libraries come as side-by-side assemblies and that application has to have a manifest binding it to those assemblies. My question is, can previously built apps use my new dlls build with vs2005? It would be really important to make it work, because otherwise we would...
1
1593
by: Victor | last post by:
Hi guys I have a small question abou the vs2005's text editor. in my text editor, any space or tabs become little dot. i forget what shortcut i pressed.It looks not right to me at all. Can anyone knows how to turn it back? I am using vs2005+resharp3.0 Cheers Victor
0
9568
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
10007
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9833
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
8831
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
7378
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
5421
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3924
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
3531
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2806
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.