Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Suggestion Lists show too much ?

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
PeterSt Posted - Jul 09 2011 : 06:16:06 AM
Hi, new user here, now working with the demo version for two weeks.

C++/CLI application.

Below you see two examples of members etc. which are totally unrelated to the object. The first is a WASAPI class (player) and the second a Kernel Streaming one.





It is always the paint objects being there and a lot more.

I have set everything to Off in the settings (not only the Suggestions), except for cacheing the symbols and Format after paste.

I'm sure that at these lines in the code will be related :

using namespace System::Diagnostics;
using namespace System::Threading;
using namespace System::Drawing;
using namespace Microsoft::Win32;

because it sure looks like that just everything of these name spaces occurs in the suggestions.

Can I do something about this ?
Thanks,
Peter
30   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Aug 11 2011 : 10:06:05 AM
Thank you for the update. I am sorry you have had so many problems here.

Obviously, if you run into any VA problems in VS2008 please say, and I will do what I can to help.
PeterSt Posted - Aug 11 2011 : 05:24:21 AM
Good news ? well, I don't have good news at all. My problems are bigger by now, and beyond what I like ...

I setup VS2010 in order to be compatible with some (C++) source environment, whatever. Of course this is where VS intellisense stopped in the first place (and where I found VA).
My VB environment hopped over to VS2010 as well, not being sure I actually needed that, but knowing about other VS2008 bugs, I just did that.

All the time I had to stay out of my visual form environment, because it contained errors. Errors coming from whatever I all needed to reinstall with 5 years of history, coming from pre-released Vista. So, since I at last needed to make changes to the visual environment (the form), I sat down to perform those installs.

So I did, but that triggered a rebuild of the "form code" so to speak, and now I can't compile my program anymore because of a VS2010 bug and an error coming from that "is not a valid win32 application" springing from the .resx file. If you Google for
is not a valid win32 application .resx
you'll see what I mean, and thus far I didn't find a solution, nor that MS really is working on it. Similar to the intellisense story they are just never going to solve, but which is good for you.

Ok, I'm telling you this maybe too long story, to suggest that this may be the real problem; something needs to be parsed but it can't.
This should be in that visual area, which -mind you- won't (wouldn't, now it does) compile because of some 48 errors about 48 external (ActiveX) controls which needed a formal install to work in the dev environment (but allowed recompilation (and linking) as long as the form stuff wasn't changed (and no rebuild all was applied).

Since I see no solution, I have to go back to VS2008 for the VB part.
I also can't help anymore to find out the real culprit, unless it shows in VS2008 as well.
The C++ needs to remain in VS2010, and when I'm at it (needing changes in there again), I'm sure I'll get myself a VA license. So no worries about that.

Whether the problem is there again within VS2008 or not, in either case I will let it know.

Thanks once again,
Regards,
Peter
feline Posted - Aug 08 2011 : 5:51:46 PM
Actually this is good news. There is a clear problem with VA and this specific VB solution. Can you please copy one or two of the problem files from the main solution into the test solution, and add them to the test solution.

If you now open the test solution, and make sure VA is working in the original .vb files, what happens when you open the problem .vb files?

Do you still get the VA context and definition fields?
VA colouring?
Does VA Outline show anything?

I am trying to find out if it is the files themselves, or something about the solution that is confusing VA.
PeterSt Posted - Aug 08 2011 : 12:58:08 PM
Yep, clear.
But nope, does not work. So :

- Opened the small solution from a blank situation (started VS2010 without project) - worked;
- Closed the small solution from the file menu;
- Opened the large solution from the file menu (recent files) - does not work.

It's doomed.

Peter
feline Posted - Aug 05 2011 : 7:29:05 PM
Since the forum works better, I am quite happy to continue discussing this here.

If I understand correctly, your last test was done using two instances of the IDE. So this time can you test with just a single instance of the IDE.

Make sure there are no open instances of the IDE. Now load the test VB project, and make sure VA is working correctly. You may need to edit VA settings to make VA work in .vb files. If VA works correctly, use:

IDE File menu -> Close Solution

then load your main VB solution. Since the IDE has not been closed and reloaded we don't have to worry about any problems with saving or loading settings. Does VA now work as expected in your main solution?

Hopefully this makes sense, and you can see what I am getting at.
PeterSt Posted - Aug 05 2011 : 11:24:41 AM
Got it now, thanks !
feline Posted - Aug 05 2011 : 10:27:13 AM
The first email was sent to your .nl email address. I have just re-sent the email to this email address, hopefully you will get it this time.
PeterSt Posted - Aug 04 2011 : 11:31:18 AM
Hi,

I just checked in and saw your message about the email. But ... I never saw one ! Maybe it has landed in my spambox, but I don't know what address to look for.

Can you please send it again ?
sales -atblah- phasure.com

Thanks,
Peter
feline Posted - Aug 01 2011 : 12:05:45 PM
I have emailed you about this Peter. I think we are getting closer to finding out what is going on here.
PeterSt Posted - Jul 30 2011 : 01:22:20 AM
quote:
If you just use a single IDE instance, making sure VA is working correctly in the .vb test project, and then load your main VB solution, does VA keep on working in .vb files,

I think it does (hopefully that shows from my presented sequence).

By now my evaluation has expired, so I can't re-check things at this moment.

Thanks for all the help,
Peter
feline Posted - Jul 29 2011 : 10:37:29 PM
The behaviour of VA settings is what I am expecting. VA settings are read from the registry on IDE load, and saved to the registry on IDE exit. Just changing the settings in one IDE instance will have no effect on any other running IDE instance.

If you just use a single IDE instance, making sure VA is working correctly in the .vb test project, and then load your main VB solution, does VA keep on working in .vb files, or does it start to go wrong?

If VA is failing to work correctly in your main VB solution then either there is something in these specific .vb files that is confusing our parser, or the solution its self is the problem.

If you copy one or two problem .vb files into the small test application, add them to this test solution, and open them in the editor, does VA work reasonably well? I am trying to test the files in a known, working environment. Obviously some things will fail, since the files are out of context, but hopefully you should be able to tell if VA is working reasonably or not.
PeterSt Posted - Jul 29 2011 : 2:19:18 PM
Thanks.

The results of "keeping open the IDE instance" :

1. Removed the .vb and set the Quick Config settings all to Max in the original VB instance, then created the new small VB Form app from File there. Worked in the small app as bfeore. The large VB instance was closed automatically at creating the new project.

2. Opened the large VB app while the small stayed open. Does not work. Checked the Quick Config settings and they were all reset to minimum as they were before. In the small app all is set to Max except for Underlines which is Min. .vb is not there in both.

3. Set the Quick Config in the large app all too Max again (+ Apply). Quit the still open Settings form in the small app. Re-asked for the Settings in the large app, and all is to Max except for the Underline which is to Min.

4. Pressed cancel in the large app (Settings disappear) and tried. - Suggestion lists are from VS10. Unchecked Get content from default intellisense from VS10 - does not help. Btw, this is/was on in the small app.

5. Set all to Min in the small app (Get default Intellisense On), and VA Suggestion Lists keep on working.

6. Added .vb in the small app, but it keeps on working.

7. Quit the large app (without Saving). Small still works.

8. Created another small app from the earlier small one (earlier is closed); this one does not apply VA (as should).

9. Opened settings, and removed the .vb. VA is applied again.

10. Quit the small (new) app, and saved along the lines.

11. Started large app - Does not work. .vb is not in there, as should.

(12. Put .vb in there to avoid "Parsing").


If these weren't the combinations you intended, let me know.
Peter

feline Posted - Jul 28 2011 : 7:21:08 PM
I have the process monitor log file, thank you for this. There is no sign of anything odd here in the logs, and your logs look a lot like the results I see on my test system. So no real clues there.
feline Posted - Jul 28 2011 : 1:35:19 PM
The buffer overflows are normal. My understanding of how this works is that you pass the registry API a small, known length buffer and ask it to load the string. If the string is to large the API tells you it did not fit, and tells you how big a buffer you actually need. This is the official method of finding out how big a buffer is needed to load the string value.

The side effect is lots of apparent errors in the process monitor log.

Name not found is also normal, since VA has a number of optional registry keys that can be set, but if they do not exist VA does not create them, and it just uses the default values instead.

If you had been getting errors like access denied then we would have found something that needed looking into more closely.

For sending me log files, please submit the files via the form:

http://www.wholetomato.com/support/contact.asp

including this thread ID or URL in the description, so we can match it up.

Just to double check, is VA working as you expect, and feel it should, in VB in the small test app? If so, can you keep this IDE instance open, close the current solution, and then load your main VB solution. Does VA keep on working correctly in VB files or not?

This should eliminate any problems with VA loading or saving settings, since the IDE instance is kept open, and we know it was working.
PeterSt Posted - Jul 27 2011 : 1:01:13 PM
PS: Before I am confusing : That ProcessMonitor output was from the VB application that does not work (not from the little test app).
PeterSt Posted - Jul 27 2011 : 12:27:47 PM




During Save there is one Name not found error. During Load many. I guess this is harmless.

But what about the buffer overflows ? These are all during Load.
There are quite some more than you can see here.
If needed I can send the log file (but provide an address please).

Btw, if I look at those keys erroring out, it plainly looks like I have too large paths or too many libraries mentioned or something ?
(ehm, if this is relevant at all)

PeterSt Posted - Jul 27 2011 : 11:59:58 AM
Might you have read it already ... I just scratched the post.

This works allright.
(of course I forgot to remove the .vb at first)
PeterSt Posted - Jul 27 2011 : 11:54:29 AM
First response :

Noooo ... I am not able to let VB work whatsoever !
(remember, I also reinstalled VA for it)

I will try the little VB project now ...
feline Posted - Jul 27 2011 : 11:21:33 AM
Thank you for the information about your system. I am not yet sure if this explains the problems you are seeing or not. VA is designed to pick up edits to files before you save them. If this is working correctly, and VA is understanding your existing code, then VA is probably running without to many problems.

Process Monitor, apologies for not being more clear. If I understand correctly your VA settings for VB can be set correctly while the IDE is running, but they are not remembered correctly when you restart the IDE for working in VB.

If so, then the simplest answer is that the settings are not being saved out to the registry correctly, or they are not being loaded correctly from the registry, or some other IDE instance is overwriting the registry settings. Hopefully a Process Monitor log for loading and exiting the IDE will tell us if this is happening.

The VB listboxes, do you have time to run a quick test please? I have just created a new, default VB.Net Windows Form application in VS2010. I added a single button to the form using the Design view, and double clicked the button. This generated the "Button1_Click" function.

Inside the function I typed:

Button1.n

When I hover the mouse over the listbox this is what I am seeing:



There are no tabs, the listbox has shrunk, and I am seeing the VA filtering buttons at the bottom of the listbox. Do you get the same thing, or do you get an IDE listbox with tabs?

I can upload my test project if that helps, but it is so simple it hardly seems worth it.
PeterSt Posted - Jul 27 2011 : 09:24:35 AM
Before we continue ... and I wanted to tell you a dozen times at least ... which I decided not to do ...

I'm running with virtually no services most of the time. This, a.o., implies that some "write cache" (I just call it like that) is improperly active - at least at the file level. For example, it may take 45 seconds or so before I can recompile (because the output exe is still in use by the OS somewhere).
However, since I don't expected you to use any files to be deleted / created (all is in the Registry, right ?) I avoided mentioning it.

Besides this I have all kind of uncommon privileges, use large page memory and whatever stuff.

Anyway, it is one of the reasons to (in the end) avoid the whole subject, knowing that I can do what I want anyway. Also, if you'd ask me to "first work in nomal fashion" I had to say No ... It is too tedious to do so (or change back and forth) and I am trying to do some work as well.

To answer your question : no, I never change permissions. In this area it's always with UAC at the lowest setting.

Tabs are always there, but I don't recall how things were at first (after the first install). I mean, then in VB all worked, so I suppose this (Suggestions) too.

I can try the Process Monitor, but I'm a bit clueless at this moment about your "until you next have a problem where your VA settings are not being correctly loaded or saved please." This would be instantly, functionally speaking. Otoh, it will tell you whether something happens in there in the first place.

But as said, before I continue you may point out that I'm working in a too illegal fashion to let this go right. Please say so when needed - I have no problems with that. It may be more important to you to know *why* this is happening, so other users can be helped earlier.

Let me know,
Peter


PS: Might you have an idea what service should be active in order to let this "write cache" work as intended, please let me know. Can be some COM+ service...
feline Posted - Jul 25 2011 : 11:15:50 AM
I am quite confused by VA not saving its settings like this. I don't know of any good explanations for this.

Do you ever run the IDE with different permissions? So sometimes as administrator, and sometimes as a limited user?

If there was a "simple" permissions problem in your registry stopping VA from saving its VB settings on exit then you would never be able to save your settings. I am starting to see why this is so confusing.

Your screen shot, yes, this is a VS2010 listbox. Do you see this listbox style, with the tabs, all the time, or only some of the time? I am not seeing tabs in my listboxes in VS2010, .vb files, with VA 1854 unless I actually disable VA, or tell it to ignore .vb files.

Can you please try downloading and running Process Monitor:

http://technet.microsoft.com/en-us/sysinternals/bb896645

In the filter settings I have added the two filters:

Process Name is devenv.exe then Include
Path contains Whole Tomato\\Visual Assist X then Include

this shows just the registry access for VA reading and writing its settings. Can you use the same, or similar filter settings and then leave Process Monitor running, until you next have a problem where your VA settings are not being correctly loaded or saved please. Hopefully this will give us some clues as to the problem, especially if there are unexpected errors.
PeterSt Posted - Jul 23 2011 : 02:50:51 AM
Ok, now it gets tricky. Sequence :

1. Fired up VS for VB.
2. Looked into the settings for .vb being eliminated. It was (I did that earlier). Removed it. Never forgot Apply.
3. Looked in the program (loaded in there right from the start), nothing to be seen.
4. Removed the dotted line. Yep, worked.
5. Quit VS.
6. Fired it up again. Dotted line again was there. In the settings it was indeed checked again. Unchecked it again. Apply etc. Line was gone again.
7. Looked for the .vb for files. That too was still there. Removed it again.
8. Browsed a bit in search for highlights. BSOD (this never happened).
9. Restarted PC. Restarted VS. "One or more projects were not loaded correctly". And "document load has been skipped" (or something).
10. Loaded the program via Solutions Pane. No highlighting to be seen. Dotted line not there.
11. Brough up settings, .vb is not there in files. So that's ok now.

If you look at 4, 5, 6, you'll see that these things too happen across the lines. So, two instances fighting eachother (not with the above sequence !), but this I noticed earlier too (or at least I thought I did).

Btw, the most apparent check (I think) is the (not) showing of the Navigation bar. In the C++ instance this easily works.
Not to forget : VB sure has worked before ! But not since I could kill its working definitely by means of that .vb in Files ??

quote:
VA Options -> Advanced -> Listboxes -> Allow Acronyms and Shorthand

does typing a shorthand name filter the listbox as expected, or does it just close the listbox?




As far as I'm concerned this is VS10 (is it ?). Tried with "From Default Intellisense Off and On".
Btw, this can be selected by means of Space, which is not the normal VA behavior (that would close the listbox I think).

I still feel it is me somewhere, although it seems incurred for by some general confusing stuff.


PS: Oh, now the Parsing Parsing Parsing DOES "work" !
Right, now I have to shut it off again (put .vb in files).
See ? this leads to nothing. haha
feline Posted - Jul 22 2011 : 9:36:02 PM
The dotted line at least is easy, this is controlled via:

VA Options -> Advanced -> Display -> Display indicator after column

So you can turn it off, or move it to where you want it to be.

Is there any other sign that VA is active in .vb files? Assuming you have:

VA Options -> Advanced -> Listboxes -> Allow Acronyms and Shorthand

does typing a shorthand name filter the listbox as expected, or does it just close the listbox?

Can you just check and see if ".vb;" has been added to:

VA Options -> Projects -> File Handling -> Extensions to ignore

I have just found that in VS2010 the column indicator is active in .vb files even if VA is set to ignore .vb files, so seeing this does not prove anything one way or another.
PeterSt Posted - Jul 22 2011 : 2:22:06 PM
Ah, thanks a lot.

Sadly that doesn't help a thing.
(notice that my earlier VA settings sustained)



So, set everything to "max".
After the "uninstall/reinstall" now there's a dotted line (between the form and the caret) ?

Never mind for now.
Ok, dinner time here.

feline Posted - Jul 22 2011 : 1:52:49 PM
VS2010 changed the rules, so you have to uninstall VA via:

IDE tools menu -> Extension Manager...

Older versions of VA are uninstalled via the control panel, as you expected. Easy when you know how, but not very obvious.
PeterSt Posted - Jul 22 2011 : 1:06:38 PM
Ok. But don't laugh ...

Where is the Uninstall ?
I can't even find anything under "All Programs" (or Programs and Features for that matter).
I must be blind now ...
(W7 SP1, VS2010 SP1)

Notice that I just installed the 1854 right from the download.
(1854 shows in About)
feline Posted - Jul 22 2011 : 12:50:56 PM
Strange, VA colouring should be working in .vb files in VS2010, it is for me. Do you have any idea when this stopped working?

It would be nice if this was fixed by a quick uninstall and reinstall.
PeterSt Posted - Jul 22 2011 : 12:27:17 PM
I hope I'm judgeing it correctly because I also feel a relation to the two VS instances again. But after carefully starting and quitting one by one the only thing I can do to proove that a change to the settings for VB works is activating the tip of the day. Nothing else that I can see working there (including the parsing parsing ).

C++ seems to work normally, except for that CLI etc. message. This really wasn't there before, and this now always shows before it's overridden by the VA Parsing message (shows briefly for some 10ts of a second after 3-4 seconds).

Please notice that I am not bothered much by this all right now. Not at all. It does what it does for me, which is the intellisense in C++.
Btw, may that be a strange thing within itself : if everything is shut off, the VA intellisense within C++ keeps on working (but this already was so).


PS: All will probably a matter if uninstall and reinstall, which I did not try.
feline Posted - Jul 22 2011 : 11:32:12 AM
The status bar message "Intellisense : Unavailable for C++/CLI" is coming from the IDE, and is nothing to do with VA. Unfortunately VS2010 likes to show this status bar message quite a lot.

No highlighting? Are other VA features working correctly?

What specifically is not working? Enhanced syntax highlighting? Highlight Find References Results? Highlight the symbol under the caret?

Is VA applying colouring to any windows? VA Outline? VA navigation bar?
PeterSt Posted - Jul 22 2011 : 09:00:08 AM
Hey, looks good !

It seems that there's some "timer" somewhere, which now always shows the status line : Intellisense : Unavailable for C++/CLI
I guess this is always there (VS originated) but now it's overridden only after some 3 seconds ?

Btw, I don't understand a thing of the further working anymore. I can't get any highlighting whatsoever anywhere to work ??
(also not in VB).

Must be my being unexperienced ...
But thanks so far !

Peter

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000