I have a project that is behaving very strangely. This is a Windows Forms
application written in C# using VS 2003. When I open the form in design
mode
and then right click on the form and select View Code. All the code is
black
text. None of the keywords are highlighted and when I start typing code it
isn't formatting any of it correctly and my local variables and objects
don't
appear in IntelliSense. I can't even press CTRL+SPACE to help complete a
variable or keyword that I am typing. Most System object don't have
IntelliSense either. I can get the keyword highlighting back when I
compile,
but as soon as I start editing it all goes back to just black text.
This appears to be only a problem in this Solution. I have even tried
reformatting and rebuilding my computer and reloading the project from
Source
Safe (6.0d). This didn't fix the problem. The only way I can get the code
view to work is by closing the design view of the form and the code view and
then open the code view.
Also when I look at the events of a control and I double click on an event
to have it create the event for me it doesn't switch to code view and show
me
the event.
Does anyone know how I can fix this. This is really a pain.

Signature
Eric Renken
Demiuirge Software LLC
Hi Eric
> This appears to be only a problem in this Solution. ..
Do you mean this problem only occurs in a particular solution?
If so, maybe its solution file was corrupt, do you have tried to create a
new solution that add its containing projrcts and files into it...
Thanks for your understanding!
Best regards,
Gary Chang
Microsoft Online Partner Support

Signature
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
Eric Renken - 11 Oct 2004 21:01 GMT
It is only in some projects inside the solution. I would hate to have to
recreate a project file, some of them have a lot of files.

Signature
Eric Renken
Demiuirge Software LLC
http://www.demiurge.us
> Hi Eric
>
[quoted text clipped - 15 lines]
> rights.
> --------------------
Gary Chang[MSFT] - 13 Oct 2004 02:54 GMT
Hi Eric,
Do you have used the License controls in the problematic C# projects?
If so, it may be a known issue to the VS.NET 2003:
when you use the License controls in your project, the licenses.licx file
is automatically generated and there may be some blank lines in the
licences.licx file that are incorrectly added. These blank lines wiill
cause a part of the Language service code to fail as well as misfunction of
the CodeSense feature of IntelliSense
For detail information and how to resolve this problem, please refer to the
following MSDN Knowledge Base article:
BUG: IntelliSense feature stops functioning when you switch from Designer
view to Code view
http://support.microsoft.com/?id=839293
Thanks!
Best regards,
Gary Chang
Microsoft Online Partner Support

Signature
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
Eric Renken - 13 Oct 2004 03:47 GMT
I believe that was it. Things seem much better now.
Thanks
Eric
> Hi Eric,
>
[quoted text clipped - 26 lines]
> rights.
> --------------------
Gary Chang[MSFT] - 13 Oct 2004 04:37 GMT
Bingo! Eric,
Good Luck!
Best regards,
Gary Chang
Microsoft Online Partner Support

Signature
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------