Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 [2]  Send TopicPrint
Very Hot Topic (More than 25 Replies) Multiple tool bar buttons and menus? - Please read (Read 39591 times)
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Multiple tool bar buttons and menus? - Please read
Reply #20 - Dec 30th, 2011 at 1:40pm
Print Post  
visual studio is telling the addin to setup multiple times. a couple of users have reported this, it's certainly a vs problem but i suspect it is caused by an older version of some visual studio or office tool bar api.

are you using an english or u.s. version of vsual studio? it should work in other languages but i am interested to know.

what is the exact version of visual studio that you are using?

by the way you only need to remove the libraries\.svn


  
Back to top
WWW  
IP Logged
 
fettoir
Junior Member
**
Offline


Posts: 21
Location: france
Joined: Apr 11th, 2010
Re: Multiple tool bar buttons and menus? - Please read
Reply #21 - Dec 30th, 2011 at 2:26pm
Print Post  
here is my VS2010 about
VS2010 SP1 ultimate French.
Code
Select All
Microsoft Visual Studio 2010
Version 10.0.40219.1 SP1Rel
Microsoft .NET Framework
Version 4.0.30319 SP1Rel

Version installée : Ultimate

Architecture et outils de modélisation Microsoft Visual Studio 2010   01019-532-2002102-70121
Architecture et outils de modélisation Microsoft Visual Studio 2010
   
UML® et Unified Modeling Language™ sont des marques ou des marques déposées de Object Management Group, Inc. aux États-Unis d'Amérique et dans d'autres pays.

Microsoft .NET Micro Framework v4.1   01019-532-2002102-70121
Microsoft .NET Micro Framework SDK v4.1
Version 4.1.2821.0

Microsoft Visual Basic 2010   01019-532-2002102-70121
Microsoft Visual Basic 2010

Microsoft Visual C# 2010   01019-532-2002102-70121
Microsoft Visual C# 2010

Microsoft Visual C++ 2010   01019-532-2002102-70121
Microsoft Visual C++ 2010

Microsoft Visual F# 2010   01019-532-2002102-70121
Microsoft Visual F# 2010

Microsoft Visual Studio 2010 Team Explorer   01019-532-2002102-70121
Microsoft Visual Studio 2010 Team Explorer

Microsoft Visual Web Developer 2010   01019-532-2002102-70121
Microsoft Visual Web Developer 2010

Outils de développement Microsoft Office   01019-532-2002102-70121
Outils de développement Microsoft Office

Vérificateur orthographique d'analyse du code Microsoft Visual Studio 2010   01019-532-2002102-70121
Vérificateur orthographique d'analyse du code Microsoft Visual Studio 2010

Parties de International CorrectSpell™ spelling correction system © 1993 de Lernout & Hauspie Speech Products N.V. Tous droits réservés.

The American Heritage® Dictionary of the English Language, troisième édition Copyright © 1992 Houghton Mifflin Company. Version électronique sous licence Lernout & Hauspie Speech Products N.V. Tous droits réservés.

Add Reference Dialog Plus!   1.0
An significantly enhanced Add Reference dialog for managed code projects.

AlignAssignments   1.0
Command for aligning assignments.

AutoBraceComplete   1.0
auto brace complete

Crystal Reports Templates for Microsoft Visual Studio 2010   
Crystal Reports Templates for Microsoft Visual Studio 2010

Document Well 2010 Plus   1.0.10916.0
This package provides configurable behavior for the Document Well and its tabs. Please be sure to let us know what you like/dislike about this extension.

Microsoft Visual Studio 2010 Ultimate - Français Service Pack 1 (KB983509)   KB983509
Ce Service Pack est pour Microsoft Visual Studio 2010 Ultimate - Français.
Si vous installez ultérieurement un Service Pack plus récent, ce Service Pack sera automatiquement désinstallé.
Pour plus d'informations, visitez http://support.microsoft.com/kb/983509.

Microsoft.VisualStudio.QuickAccess.Package   1.0
Awesome search bar.

OptionsPageImpl   1.0
Information about my package

Outils de développement SharePoint Microsoft Visual Studio 2010   10.0.40219
Outils de développement SharePoint Microsoft Visual Studio 2010

QuickFind   1.0
Visual Studio 2010 Quick Incremental Find Extension

AtomineerUtils for Visual Studio
For more information about AtomineerUtils, visit the website:
    http://www.atomineerutils.com/
Copyright (c) 1996-2010 Atomineer  -  Written by Jason Williams.


Visual Micro Arduino
Copyright Visual Micro 2009

VMDebugger
For more information about VMware Inc, see their website at
http://www.vmware.com
Copyright (c) 2010 VMware, Inc. 

  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Multiple tool bar buttons and menus? - Please read
Reply #22 - Dec 31st, 2011 at 4:03pm
Print Post  
ok, thanks for all the info. i wonder if you need to run visual studio with administrator permissions (checkbox on vs shortcut). 

Visual studio manages when an addin should run first time setup. When visual studio calls the addin to run first time setup you will see this trace message:- 
CreateCommandBarItemsPerm

In your trace we see the CreateCommandBarItemsPerm a number of times. The addin has NO control over when this function is called. 

We also see that everything setup okay from visualmicros point of view because the trace does not show error messages.

So this is why i suggest admin permissions. It appears that your installation of visual studio is unable to save the fact that it has told vm to run setup/install. I have no idea how or where visual studio records this information but I am explaining this in the hope that it gives you some things to try. 

I am keen to help get to the bottom of this annoying problem.
  
Back to top
WWW  
IP Logged
 
fettoir
Junior Member
**
Offline


Posts: 21
Location: france
Joined: Apr 11th, 2010
Re: Multiple tool bar buttons and menus? - Please read
Reply #23 - Jan 11th, 2012 at 2:37pm
Print Post  
hello thanks for answer.
i run VS2010 as administrator.
However, a note: I uninstalling visual micro , clean de registry and apply the "devenv.exe /resetaddin Visual.Micro.Visual.Studio.Arduino.Helper". After this,  I see that the two menu bars arduino boards & serial communications are still here . Content is empty but they are there... Shocked
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Multiple tool bar buttons and menus? - Please read
Reply #24 - Jan 11th, 2012 at 3:12pm
Print Post  
please delete them manually. 

do you have one set that is there and populated?
  
Back to top
WWW  
IP Logged
 
fettoir
Junior Member
**
Offline


Posts: 21
Location: france
Joined: Apr 11th, 2010
Re: Multiple tool bar buttons and menus? - Please read
Reply #25 - Jan 11th, 2012 at 10:17pm
Print Post  
i've delete them manualy, they  were not populated...
after reinstall always same problem : one additionnal menu after each VS2010 start...
so no solution for me at this time... Sad
« Last Edit: Jan 11th, 2012 at 10:20pm by fettoir »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Multiple tool bar buttons and menus? - Please read
Reply #26 - Jan 11th, 2012 at 11:06pm
Print Post  
okay then the problem might be we need more trace messages when creating the tool bar drop down lists?

what about the boards and serial ports on the menus? are they there and populated?
  
Back to top
WWW  
IP Logged
 
fettoir
Junior Member
**
Offline


Posts: 21
Location: france
Joined: Apr 11th, 2010
Re: Multiple tool bar buttons and menus? - Please read
Reply #27 - Jan 13th, 2012 at 9:31pm
Print Post  
With VM after 3 starts:


After uninstall VM :


After uninstall and "devenv.exe /resetaddin Visual.Micro.Visual.Studio.Arduino.Helper"


After right click in toolbar Arduino menus are presents
« Last Edit: Jan 13th, 2012 at 9:43pm by fettoir »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Multiple tool bar buttons and menus? - Please read
Reply #28 - Jan 22nd, 2012 at 7:59pm
Print Post  
hi,

please apply v23 or higher and then do the reset in your step2. if that doesn't fix the problem then please try resetting visual studio.

all resets should be run from the visual studio command tool.

i have replicated the problem in some way. when i install or uninstall a certain vs extension (from codeplex) in 2010, i get an additional set of duplicates. 

It seems that vs can become upset and incorrectly believe that our addin needs to be setup again. In your case vs seems to be in a never ending cycle that each time it starts it has the problem. 

Please also let me know what extensions you installed using vs2010 "tools>extension manager"

thanks
  
Back to top
WWW  
IP Logged
 
fettoir
Junior Member
**
Offline


Posts: 21
Location: france
Joined: Apr 11th, 2010
Re: Multiple tool bar buttons and menus? - Please read
Reply #29 - Jan 25th, 2012 at 10:53pm
Print Post  
I applied the v25 : works fine Smiley Smiley 
Problem solved for me thanks !
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Multiple tool bar buttons and menus? - Please read
Reply #30 - Jan 25th, 2012 at 11:29pm
Print Post  
Good news, thanks for letting me know
  
Back to top
WWW  
IP Logged
 
swordfishBob
Newbies
*
Offline


Posts: 9
Joined: Oct 24th, 2011
Re: Multiple tool bar buttons and menus? - Please read
Reply #31 - Mar 30th, 2012 at 3:02am
Print Post  
I'm having this problem with v27. I don't get the additional toolbar items (I think you've prevented the duplicates being created), but launching VS2010 takes a long time on every startup.
My trace contains:

CreateCommandBarItemsPerm      Begin AddinVer=27
Invalid Visual Studio SETUP Request Detected      Exiting visual micro setup due to an invalid visual studio cm_uisetup request!
CreateCommandBarItemsPerm      End
Create UI command items      Begin
CreateCommandBarItems      Begin AddinVer=27
Get Bar      Tools
Create Bar      Tools>Arduino
Adding      Tools>Ports
Adding      Tools>Programmers
Adding      Tools>Using Programmer
Adding      Tools>Burn Bootloader
Adding      UI Menu-Board-Items
Adding      UI Menu-SerialPort-Items
Adding      ToolBar-Lib-Items
Adding      Core library item APM_BMP085
... etc ...
Adding      Core library item Wire
Adding      ToolBar-Lib-User
Added      Library names to UI
Create UI command items      End
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Multiple tool bar buttons and menus? - Please read
Reply #32 - Mar 30th, 2012 at 6:01am
Print Post  
hi, what other extensions and addins do you have installed in visual studio?
  
Back to top
WWW  
IP Logged
 
swordfishBob
Newbies
*
Offline


Posts: 9
Joined: Oct 24th, 2011
Re: Multiple tool bar buttons and menus? - Please read
Reply #33 - Mar 30th, 2012 at 8:20am
Print Post  
  • VMDebugger (vmware), 
  • Application Styling Configuration Dialog (Infragistics) - 2 instances or versions, only one is selected. Hm, that sounds suspicious.
  • BuildVersionIncrement - disabled. I've had problems with it in the past
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Multiple tool bar buttons and menus? - Please read
Reply #34 - Mar 30th, 2012 at 10:24am
Print Post  
the slowness when you start is vs thinking it has to create it's cached settings system. it does this once after addin or extensions are installed

the bold note shown in the vm trace you sent shows that vs thinks the addins or extensions collection has changed. when this happens it sends a message to all addins

so what we see here is a rather unhappy vs. it doesn't seem to be able to startup and shutdown cleanly.

the ms site has a note about a command to reset visual studio to default. it might help, otherwise i would try disabling those two active addins/extensions to see if this fixes the problem.

maybe also run vs as administrator once, i guess it's possible that vs is unable to update some internal config. just guessing but I only see the delay you mention if vs crashed or I just installed some new addin/extension

pls let me know how you get on
  
Back to top
WWW  
IP Logged
 
swordfishBob
Newbies
*
Offline


Posts: 9
Joined: Oct 24th, 2011
Re: Multiple tool bar buttons and menus? - Please read
Reply #35 - Mar 30th, 2012 at 8:47pm
Print Post  
I cleared out a couple of other add-ins. Now it's just loading VisualMicro and the VMware one.  I still get the same messages in the vm trace file, but it doesn't sit there trying for ages.
VS2010 now loads at its regular pace + 2 seconds to cache Arduino libraries.  (VS2008 loads so much more quickly.. leaves me wondering which version to use for vm as I need both vs's on my machine anyway).
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Multiple tool bar buttons and menus? - Please read
Reply #36 - Mar 31st, 2012 at 1:17am
Print Post  
Yes i know what you mean about the speed difference. I have found that 2010 loads faster if you switch off the start page and close any unused tool windows.

Would you try disabling the vmware addin and re-starting vs twice so see if the messages go? if they do i will install the vmware addin and try it myself.

One other thing would be of interest to reset your visual studio interface to default. I read about a microsoft command that can be run which does the reset. I can't recall what it is called off the top of my head. It's not the visual micro resetaddin that I am talking about it is the Visual Studio reset. Let me know if you can find it easily or would prefer not to run it. I haven't tried it but I do not think it does much harm other than clean itself up.
  
Back to top
WWW  
IP Logged
 
Marius
Developer
****
Offline


Posts: 204
Location: Centurion RSA
Joined: Sep 7th, 2011
Re: Multiple tool bar buttons and menus? - Please read
Reply #37 - Apr 13th, 2012 at 6:03am
Print Post  
I have the same problem with loading. It takes forever to get started. I don't have the VM addin. Should there be some other thing to look for maybe?
  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Multiple tool bar buttons and menus? - Please read
Reply #38 - Apr 13th, 2012 at 8:04am
Print Post  
yes, do you have any other addins or extensions loaded? have you tried a visual studio reset? if toolbox and start page are loading then close them and tick the box not to show the start page. make sure class viewer and any other unused tool windows are closed. it's okay to open these windows when needed but try to avoid them all being open by default. disable all extensions until you get a fast clean system then re-enable one by one testing shutdown and startup until you find the problem.

i've seen the vs 2010 speed problem myself but after tidying up the above in vs it now opens in a few seconds. 

the debug tools will be released over next few weeks then i hope to convert the addin to a vs extension. this might make a big difference. extesions are first class citizens in the vs world and do not use the old vs com interface that addins have to use.
  
Back to top
WWW  
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Multiple tool bar buttons and menus? - Please read
Reply #39 - Apr 13th, 2012 at 7:44pm
Print Post  
bit more info...

1)
Explained: Moving to a vs extension might help purely because I think vs can be a bit unstable with addins. The addin system uses older OLE interfaces which microsoft seem to be keen to move away from.

2)
I recently found that vm was throwing an unhandled exception during startup. We never see it because vs protects against exceptions and does not show errors. However it is possible this contributes to the problem. I don't really know this for certain but it is fixed in the next release

3)
So far all reports of speed or startup issues have been solved by removing other providers addins or extensions. I have many microsoft extensions loaded in vs which do not cause a problem. It should not be possible for any extension or addin to interfere with visual micro but we have proven that they can.

So in the short term we should remove any unimportant 3rd party extensions and addins and look forward to vm moving to the extension system.
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1 [2] 
Send TopicPrint