views:

390

answers:

1

VB6 just added a new "feature" right out of the blue: every time I declare a variable, property or function, when I reach the "as" keyword, VB has a fit and hogs the cpu for almost a minute.

Anyone knows what this might be? I turned off all plugins (AxTools, MzTools), restarted VB, rebooted, and still nothing.

This is incredibly annoying, and there's no way I can get anything done this way. Any help would be really appreciated.

+1  A: 

If I were you I'd get a copy of Sysinternals Filemon utility (or Procmon if it's appropriate) and see if you can figure out which files VB6's Intellisense is accessing. Then I would rename then to different names so the VB6 intellisense mechanism might re-create them and see if that fixes anything. Just a suggestion.

Onorio Catenacci
I think in this case SI RegMon is more appropriate as the types are referenced through OLE registration.
MaSuGaNa
Thanks for that correction @MaSuGaNa. I did not know that the intellisense information was accessed via OLE.
Onorio Catenacci
In fact Regmon has been replaced by ProcMon for modern versions of Windows, so you were correct to recommend ProcMon - it's just that you should look at the registry not the files. "FileMon and RegMon have been replaced by Process Monitor on versions of Windows starting with Windows 2000 SP4, Windows XP SP2, Windows Server 2003 SP1, and Windows Vista. FileMon and RegMon remain for legacy operating system support, including Windows 9x."
MarkJ