Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / IDE / October 2004

Tip: Looking for answers? Try searching our database.

Report: Lose all formating and most IntelliSense

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Eric Renken - 07 Oct 2004 23:11 GMT
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

Gary Chang[MSFT] - 11 Oct 2004 08:22 GMT
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.

--------------------

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.