Why would intellisense suddenly stop working? In other words, is this something that can be configurated and could for some reason be erased?
Just one hour ago it was working. I closed the project I was working on, walked out of the office, came back,, started the IDE and IS was gone!
Lottery is a tax on people who are bad at maths
If only mosquitoes sucked fat instead of blood...
To do is to be (Descartes). To be is to do (Sartre). To be do be do (Sinatra)
Is Intellisense for everything off? Try hitting Ctrl+SpaceBar. What happens?
Edit
Few other suggestions...
1) Use RegMon to see if you can figure out which files VB6's Intellisense is accessing. Then try renaming then to different names so the VB6 intellisense mechanism might re-create them and see if that fixes anything
2) If everything fails, re-install VB6
Last edited by Siddharth Rout; Jun 26th, 2009 at 10:36 AM.
A good exercise for the Heart is to bend down and help another up...
Please Mark your Thread "Resolved", if the query is solved
MyGear:
★ CPU ★ Ryzen 5 5800X
★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
★ Keyboard ★ TVS Electronics Gold Keyboard
★ Mouse ★ Logitech G502 Hero
As a long-shot -- did you try a cold reboot of your computer (ie,
a complete restart)?
Spoo
I did.
As for the other replies, I'll have to wait till monday for I'm no longer sitting in front of the office computer.
Lottery is a tax on people who are bad at maths
If only mosquitoes sucked fat instead of blood...
To do is to be (Descartes). To be is to do (Sartre). To be do be do (Sinatra)
If you start a new project does intellisense work for it? Does the project you are working on now run without errors? A lot of times when intellisense stops working it is because of a programming error.
I've had the issue several times on multiple computers, and the cause has always been what MarkT described (often caused by a typo, and sometimes by moving a routine/variable to a different code file).
To see if that is the case, simply start the project with full compile (Ctrl-F5).
Yep. The IDE can't make heads nor tails out of your code if you have a compilation error in the General section of a module, and so Intellisense stops working.
Have a look in Options\Editor\CodeSettings. Seems a bit odd that they should just change like that though. A registry problem maybe??
I don't know what to look for... at any rate, it's working today.
Lottery is a tax on people who are bad at maths
If only mosquitoes sucked fat instead of blood...
To do is to be (Descartes). To be is to do (Sartre). To be do be do (Sinatra)
Definitely I can't get it to fail today so I'll be back as soon as it happens again.
Lottery is a tax on people who are bad at maths
If only mosquitoes sucked fat instead of blood...
To do is to be (Descartes). To be is to do (Sartre). To be do be do (Sinatra)
It might be a good idea for you to check that box next to Require Variable Declaration...
Glad it is working for you today...
I always remember to include a 'Option Explicit' statement, but I agree it's a good idea, thanks.
Lottery is a tax on people who are bad at maths
If only mosquitoes sucked fat instead of blood...
To do is to be (Descartes). To be is to do (Sartre). To be do be do (Sinatra)
I had a similar, puzzling problem and I thought it was because the building had a power outage. Turns out I had two functions with the same name. Once I tried compiling and fixed that error, intellisense came back.
I have ran into this issue before myself. I forget what the exact problem was but it was code related. I think I had pasted something from another project that caused an issue. Possibly a duplicate function name as pointed out above, can't be sure but it was definitely something I did and it worked fine again once I fixed the code.
I have ran into this issue before myself. I forget what the exact problem was but it was code related. I think I had pasted something from another project that caused an issue. Possibly a duplicate function name as pointed out above, can't be sure but it was definitely something I did and it worked fine again once I fixed the code.
Yes, I've had similar problems with Intellisense going haywire. Usually, restarting VB6 resets everything. However, even then, sometimes the UpperLower case is off. It's not a major problem for me, but I wish there was some kind of a tool or addin that would list all the variables, procedures, and objects that Intellisense was tracking. I've just recently started snooping into how Intellisense works, having just "lived" with its idiosyncrasies up to now, but I'm just procrastinating a bit and thought I'd look into it. If anyone knows of how to "snoop" into the guts of the Intellisense system, links would be much appreciated.
Not sure why you quoted my post to post this link. It definitely is not related in any way to the issue that I ran into as I was not using anything .Net related.
( I am using MS Access 2013 , ignore compact and repair step ) I noticed you have the problem inside the visual basic 6 , anyway just try out my suggested solution it might work with it too .
I came a cross this problem recently and the fix was very easy , here is what i did :
Compact and repair , then I looked into the Form Module that i want to reference it in my vba editor , and I found out that there is a typing mistake in (Option Compare ) declaration instated of having this line typed like this ( Option Compare Database ) it was ( Option Compare LogicForm ) . I used find and replace tool , which caused this typing problem.
Bottom line : Look for typing mistake error inside the module you are trying to reference it in your code .
Note : The intellisense was working fine when referencing to other form except that Form in which i found the typing mistake in its module .
I hope this will help you getting rid of this intellisense problem .
Last edited by capsule; Apr 23rd, 2015 at 07:43 AM.
Well this is an old thread, but no one has really mentioned a general solution: when there's an error that will prevent the program from even starting, Intellisense stops working. Run the project, and the error will immediately be shown.
Well this is an old thread, but no one has really mentioned a general solution: when there's an error that will prevent the program from even starting, Intellisense stops working. Run the project, and the error will immediately be shown.
This thread ain't getting any younger!
Yes just to confirm that this solution works, just had this issue, intellisense just disappeared in a sub I was writing.
The cause was declaring a parameter like below
The IDE didn't complain but intellisense disappeared for the rest of the sub.
As fafalone says, a compile flagged it right away. Intellisense then returned.