473,748 Members | 2,276 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 #1
13 1470
When you are returned to the Code Window, look up at the debug stuff in the
menu bars on the top at the VCR controls for the debugger. Is the play
symbol clickable? If so, then the app is not still running. Or is the
square symbol clickable? If so, then your app *is* running.

I've never seen anything like that.

Robin S.
------------------------------------
"Bryan" <br*******@gmai l.comwrote in message
news:11******** **************@ l53g2000cwa.goo glegroups.com.. .
>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 29 '07 #2
On Jan 28, 4:31 pm, "RobinS" <Rob...@NoSpam. yah.nonewrote:
When you are returned to the Code Window, look up at the debug stuff in the
menu bars on the top at the VCR controls for the debugger. Is the play
symbol clickable? If so, then the app is not still running. Or is the
square symbol clickable? If so, then your app *is* running.

I've never seen anything like that.

Robin S.
The play symbol is clickable. I type one character, lets say 'm', and
this happens:
m()
Then I press another character, lets say g, and this happens
m(g)
After that, I press any number of characters and the following happens
m(g)abcdefghij
The whole time, the code editor is underlining the expression as being
an error, it analysis it after each character stroke, instead of its
usual behavior, which is to check the syntax after you press 'enter'
or space.

Jan 29 '07 #3
This may seem a silly question Bryan, but do you have the VS2005 SP 1
installed? Also, were you running any of the Beta's prior to updating?

Bruce

"Bryan" <br*******@gmai l.comwrote in message
news:11******** **************@ m58g2000cwm.goo glegroups.com.. .
On Jan 28, 4:31 pm, "RobinS" <Rob...@NoSpam. yah.nonewrote:
>When you are returned to the Code Window, look up at the debug stuff in
the
menu bars on the top at the VCR controls for the debugger. Is the play
symbol clickable? If so, then the app is not still running. Or is the
square symbol clickable? If so, then your app *is* running.

I've never seen anything like that.

Robin S.

The play symbol is clickable. I type one character, lets say 'm', and
this happens:
m()
Then I press another character, lets say g, and this happens
m(g)
After that, I press any number of characters and the following happens
m(g)abcdefghij
The whole time, the code editor is underlining the expression as being
an error, it analysis it after each character stroke, instead of its
usual behavior, which is to check the syntax after you press 'enter'
or space.

Jan 29 '07 #4
I don't suppose you're having this problem in any of your other apps, are
you? Couldn't be the soda pop you spilled in the keyboard making you Enter
or Tab key sticky?

Robin S.
-------------------
"Bryan" <br*******@gmai l.comwrote in message
news:11******** **************@ m58g2000cwm.goo glegroups.com.. .
On Jan 28, 4:31 pm, "RobinS" <Rob...@NoSpam. yah.nonewrote:
>When you are returned to the Code Window, look up at the debug stuff in
the
menu bars on the top at the VCR controls for the debugger. Is the play
symbol clickable? If so, then the app is not still running. Or is the
square symbol clickable? If so, then your app *is* running.

I've never seen anything like that.

Robin S.

The play symbol is clickable. I type one character, lets say 'm', and
this happens:
m()
Then I press another character, lets say g, and this happens
m(g)
After that, I press any number of characters and the following happens
m(g)abcdefghij
The whole time, the code editor is underlining the expression as being
an error, it analysis it after each character stroke, instead of its
usual behavior, which is to check the syntax after you press 'enter'
or space.

Jan 29 '07 #5
>This may seem a silly question Bryan, but do you have the VS2005 SP 1
>installed? Also, were you running any of the Beta's prior to updating?
>Bruce
On Jan 28, 9:45 pm, "RobinS" <Rob...@NoSpam. yah.nonewrote:
I don't suppose you're having this problem in any of your other apps, are
you? Couldn't be the soda pop you spilled in the keyboard making you Enter
or Tab key sticky?

Robin S.
Yes SP1 is installed. No betas running at any time. Brand new
keyboard conisidently! This happens in any project, not just a
specific one.
Do I have to explicitly call an exit procedure when my main form
closes?

Jan 29 '07 #6

"Bryan" <br*******@gmai l.comwrote in message
news:11******** **************@ h3g2000cwc.goog legroups.com...
This may seem a silly question Bryan, but do you have the VS2005 SP 1
installed? Also, were you running any of the Beta's prior to updating?
>>Bruce

On Jan 28, 9:45 pm, "RobinS" <Rob...@NoSpam. yah.nonewrote:
>I don't suppose you're having this problem in any of your other apps,
are
you? Couldn't be the soda pop you spilled in the keyboard making you
Enter
or Tab key sticky?

Robin S.

Yes SP1 is installed. No betas running at any time. Brand new
keyboard conisidently! This happens in any project, not just a
specific one.
Do I have to explicitly call an exit procedure when my main form
closes?
If you double-click on MyProject, then click on the Application tab, what
is Shutdown mode set to? Mine is set to "When last form closes" so it
doesn't end until all the forms are closed. You can also set it to "When
startup form closes".

Also, check in the Immediate Window to see if all your forms are closed,
like Debug.Print(My. Application.Ope nForms.Count), when it's exhibiting this
weird behavior.

It sounds like it's stopped, or you wouldn't be able to hit the Start
button. If you show the debug toolbar (View/Toolbars/Debug) so it shows all
the time, is the square (that is used to stop the application when it's
running) clickable when it's exhibiting this weirdness?

Robin S.
Jan 29 '07 #7
On Jan 28, 10:13 pm, "RobinS" <Rob...@NoSpam. yah.nonewrote:
If you double-click on MyProject, then click on the Application tab,
what
is Shutdown mode set to? Mine is set to "When last form closes" so it
doesn't end until all the forms are closed. You can also set it to "When
startup form closes".

Also, check in the Immediate Window to see if all your forms are closed,
like Debug.Print(My. Application.Ope nForms.Count), when it's exhibiting this
weird behavior.

It sounds like it's stopped, or you wouldn't be able to hit the Start
button. If you show the debug toolbar (View/Toolbars/Debug) so it shows all
the time, is the square (that is used to stop the application when it's
running) clickable when it's exhibiting this weirdness?

Robin S.
I tried both shutdown modes, neither help. My application is exiting
with code 0, so there are no errors as far as the CLR is concerned.
everything exits fine. I'm thinking of reinstalling, or installing
SharpDevelop
Bryan

Jan 29 '07 #8
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

On 29 Jan, 08:58, "Bryan" <bryanv...@gmai l.comwrote:
On Jan 28, 10:13 pm, "RobinS" <Rob...@NoSpam. yah.nonewrote:
If you double-click on MyProject, then click on the Application tab,
what
is Shutdown mode set to? Mine is set to "When last form closes" so it
doesn't end until all the forms are closed. You can also set it to "When
startup form closes".
Also, check in the Immediate Window to see if all your forms are closed,
like Debug.Print(My. Application.Ope nForms.Count), when it's exhibiting this
weird behavior.
It sounds like it's stopped, or you wouldn't be able to hit the Start
button. If you show the debug toolbar (View/Toolbars/Debug) so it shows all
the time, is the square (that is used to stop the application when it's
running) clickable when it's exhibiting this weirdness?
Robin S.I tried both shutdown modes, neither help. My application is exiting
with code 0, so there are no errors as far as the CLR is concerned.
everything exits fine. I'm thinking of reinstalling, or installing
SharpDevelop
Bryan
Jan 29 '07 #9
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 29 '07 #10

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

Similar topics

0
2668
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
5965
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
1985
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
1592
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
8995
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
8832
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
8250
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
6798
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
6077
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
4608
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
4879
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3316
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
3
2216
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.