CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 1999
    Posts
    3,585

    Delay in visual 6.0 IDE



    Has anyone else encountered the following problem:


    Since installing visual C++ 6.0, editing code has become a nightmare in the IDE.

    There appears to be a 3-5 second delay from the time you type a key, to the

    time the IDE responds. I suspected it had something to do with the new

    "intellisense" features, so, I disabled all the settings in the editor tab.

    That didn't work. Then, someone stated it might be due to the .ncb (no compile

    browser) file. So, I deleted that. It appears to help, but, only for a short

    time, since the .ncb file is recreated by the IDE.


    One last note: the project I'm dealing with has about 600 source files.


    If you've encountered this problem, AND, resolved it, I'd greatly appreciate

    a response from you.


    TIA,

    Mike
    Gort...Klaatu, Barada Nikto!

  2. #2
    Join Date
    Apr 1999
    Posts
    1

    Re: Delay in visual 6.0 IDE

    Hi- I had the problem you described, and thought it was caused by a 3rd party addon that I use (Visual Assist, recommended). It was not, though.

    It turned out that only certain source files caused the delay. We have 7 projects linked w/ dependencies, with well over 600 files total. Some files caused a LONG delay; one was making me wait 8 seconds everytime I stopped typing.

    Here's the solution that worked for me (don't laugh). For the files that were causing the trouble:

    Edit/Select All
    Cut
    File/Save
    Paste
    File/Save

    That's it. Apparently there was a database somewhere that was messed up, and by clearing the file out and forcing it to re-parse, it cleared up the problem. I had about 10 files that were affected, and after doing this to each one, the problem is gone.

    Hope this helps in some way.

    --mtnkodiak


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured