Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / IDE / August 2007

Tip: Looking for answers? Try searching our database.

Pending Checkins Tab not populate on launch

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Matt F - 04 Aug 2007 21:07 GMT
Every time I launch VS2005, I need to select "View" - "Pending Checkins" as
the tab isn't populate.  The tab is there as it should be but just a very
narrow tab with just the icon and not he words "Pending Checkins".  As soon
as I select it from the menu, it goes through the process of loading the tab
and all is fine.  I've tried resaving preferences multiple times with no
success.

Any help would be greatly appreciated --- it's one of those things that's so
easy to deal with it's taken me this long to even bother writing a post, but
it is annoying.
WenYuan Wang [MSFT] - 06 Aug 2007 09:29 GMT
Hello Matt,

According to your description, you are experiencing an issue that "Pending
Checkins" window doesn't display correctly in VS 2005 IDE. "Pending
checkins" window only shows as very narrow tab with just the icon and no
word "Pending Checkins". Re-opening the window (Select-"View"-"Pending
Checkins") could resolve the issue. Please let me know if I misunderstand
anything here.

The issue sounds strange. I haven't met such issue before. In general, we
would like to suggest you install VS 2005 SP1. Have you installed it so
far? If this is not the key to the issue, please check the following points.

1) Based on my experience, such issue could be caused by 3rd party add-ins.
Have your VS.NET 2005 IDE installed any third-party's add-ins?

2) If 3rd party add-ins is not the root cause on this issue, I'd like to
recommend you try devenv.exe /resetsettings in command line.
This command restores Visual Studio default settings.

At last, if the issue still persists, I wrote a Marco to display "Pending
Checkins" window each time VS 2005 starts up. You may paste the following
code into EnvironmentEvents in Macro Explorer.
 
Private Sub DTEEvents_OnStartupComplete() Handles
DTEEvents.OnStartupComplete
       DTE.ExecuteCommand("View.PendingCheckins")
       
DTE.Windows.Item("{53544C4D-5C18-11D3-AB71-0050040AE094}").Activate()
'Pending Checkins
End Sub

Hope this helps. Please let me know if you have any more concern.We are
glad to assist you.
Best regards,
Wen Yuan
Microsoft Online Community Support
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Matt F - 10 Aug 2007 16:39 GMT
WenYuan Wang,

I do have SP1 installed (have since first day released).  Tried the command
line param you suggested - no benefit.

I'm certainly willing to try to macro you suggested below, but could you
give a little more detail than paste into macro explorer?  I've never used
macros in VS before.
WenYuan Wang [MSFT] - 13 Aug 2007 10:23 GMT
Dear Matt,
Thanks for your reply.

I have tried Andrew's suggestion. I open the VS IDE by double-clicking a
solution File. But the issue doesn't show up.
Again. I created a shortcut to the solution, clicked the shortcut to open
the VS 2005. However, I still cannot repro the issue....

For the Marcos, the following step could used for executing
View.PendingCheckins each time VS stars up. Please try it. Let me know if
you have anything unclear. We are glad to assist you.

1)    In VS 2005 IDE, please click [Tools|Macros|Macros IDE]
There will be "Microsoft Visual Studio Macros" ide

2)    In Microsoft Visual Studio Macros, please Double-Click "MyMacros"
3)    Double-Click EnviromentEvents
4)    Paste the following code in EnvironmentEvents Module

Private Sub DTEEvents_OnStartupComplete() Handles
DTEEvents.OnStartupComplete
       DTE.ExecuteCommand("View.PendingCheckins")      
       
DTE.Windows.Item("{53544C4D-5C18-11D3-AB71-0050040AE094}").Activate()
       'Pending Checkins
End Sub

The code will look as blew:
=======================================================================
Option Strict Off
Option Explicit Off
Imports System
Imports EnvDTE
Imports EnvDTE80
Imports System.Diagnostics

Public Module EnvironmentEvents

"Automatically generated code, do not modify"

Private Sub DTEEvents_OnStartupComplete() Handles
DTEEvents.OnStartupComplete
       DTE.ExecuteCommand("View.PendingCheckins")
       
DTE.Windows.Item("{53544C4D-5C18-11D3-AB71-0050040AE094}").Activate()
       'Pending Checkins
   End Sub

End Module
========================================================================

5)    Close Microsoft Visual Studio Macros IDE
6)    Restart your VS 2005 IDE.

Hope this helps.
Best regards,
Wen Yuan
Microsoft Online Community Support
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Matt F - 13 Aug 2007 17:30 GMT
Thanks for the instructions.  The steps to load get the macro running worked
to a certain extent.

Each time I loaded the Macro IDE, I was getting a messagebox stating that
the samples.vsmacros file was invalid or inaccessible.  I looked in the path
the message referenced and the folder was there, but no .vsmacros file.

This same message was coming up each time I launched VS --- so I googled
around a bit and found instructions on how to remove the samples macro
project here:  http://www.dotnet247.com/247reference/msgs/37/186297.aspx

That solved the problem and now my pending checkins open as they should.

A couple of things to note here:
1: Am I "missing out" on anything without that samples.vsmacros?  How do I
re-install it?
2: Is it possible that missing file is part of the problem in getting the
pending checkins tab to populate?
3: When testing the issue on your end, are you using a large solution?  I'm
using VS2005, SP1 - Source safe edition is 2005.  My solution contains 8
projects - 4 class projects, 1 windows project, 1 database project, 2 setup
projects.  I also have 2 solution folders.  When the pending checkins tab
loads, it states it's processing approximately 600 files and counts down
rapidly until all is loaded (takes about 4 seconds or so)

Thanks.
WenYuan Wang [MSFT] - 14 Aug 2007 07:16 GMT
Hello Matt
Thanks for your reply.

>1: Am I "missing out" on anything without that samples.vsmacros?  How do I
re-install it?

.vsmacros is a macro project. By default, VS 2005 load the sample macro
from "<User>\Documents\Visual Studio
2005\Projects\VSMacros80\Samples\Samples.vsmacros". If there is no
samples.vsmacros file, the error message will be thrown.

To re-install it, you can copy the original version of sample.vsmacros file
from "C:\Program Files\Microsoft Visual Studio
8\Common7\IDE\samples.vsmacros" to your local profile folder
"<User>\Documents\Visual Studio
2005\Projects\VSMacros80\Samples\Samples.vsmacros", and then load the
project again by [Tools|Macros|Load Macro Project] in VS 2005 IDE.

a)    copy "C:\Program Files\Microsoft Visual Studio
8\Common7\IDE\samples.vsmacros" to your local profile
"<User>\Documents\Visual Studio
2005\Projects\VSMacros80\Samples\Samples.vsmacros""
b)    Start VS 2005 IDE
c)    Click Tools|Macros|Load Macro Project
d)    Choose "<User>\Documents\Visual Studio
2005\Projects\VSMacros80\Samples\Samples.vsmacros"
e)    Samples Macro project will be load into VS 2005 Macro IDE.

>2: Is it possible that missing file is part of the problem in getting the
pending checkins tab to populate?

I think it is not related to the sample macro project. I unload sample
macro project, and then try to repro the issue. The "pending checkins"
window works fine.

>3: When testing the issue on your end, are you using a large solution?  I'm
using VS2005, SP1 - Source safe edition is 2005.  My solution contains 8
projects - 4 class projects, 1 windows project, 1 database project, 2 setup
projects.  I also have 2 solution folders.  When the pending checkins tab
loads, it states it's processing approximately 600 files and counts down
rapidly until all is loaded (takes about 4 seconds or so)

I created a new solution (which includes 4 class projects (about 500
classes), 1 windows project, 1 database project, 2 setup projects, 2
solution folders), added the whole solution to source control (VSS 2005) by
VS IDE. But, I still cannot repro the issue. "Pending checkins" window
works fine on my side.

If you have concern on this issue very much, we suggest you may contact
Microsoft CSS directly. The CSS engineer will connect to your machine and
perform on-site debug. However, according to Newsgroup policy, we cannot
provide such service.
If the problem is confirmed to be a product bug, the case charge will be
free.
You can check http://support.microsoft.com for regional support phone
numbers.

Hope this helps. Please let me know if there is anything we can help with,
I'm glad to assist you.
Best regards,
Wen Yuan
Microsoft Online Community Support
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Matt F - 16 Aug 2007 05:05 GMT
With the macro that you've helped me with, it provided the functionality
that I need, so there isn't any beneifit to me pursuing further.  Only
reason I offered additional info was in case it was of use to you.

Thanks for your help - it's performing as I need it to.
WenYuan Wang [MSFT] - 16 Aug 2007 10:56 GMT
Thanks for your reply, Matt.

This is great news that the macros helps on your case.
Please let me know if you meet any other issue in VS IDE next time.
It's my pleasure to assist you.

Have a nice day.
Best regards,
Wen Yuan
Microsoft Online Community Support
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Andrew McDonald - 09 Aug 2007 21:49 GMT
"Matt F" <mfielderREMOVECAPS@nospam.nospam> wrote...

> Every time I launch VS2005, I need to select "View" - "Pending Checkins"
> as the tab isn't populate.  The tab is there as it should be but just a
[quoted text clipped - 6 lines]
> so easy to deal with it's taken me this long to even bother writing a
> post, but it is annoying.

This was reported this during the beta of VS 2005 years ago, and then I
experienced it again with the gold version. Can't remember if I've seen it
since upgrading to SP1. In my case it seemed to stop happening randomly one
day, and at that time was only triggered by double-clicking a solution
file - opening VS first and then opening a project didn't show the problem.
Microsoft has never acknowledged fixing it anyway... but I'm glad to see I'm
not the only one who experienced it.

https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID
=113036

https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID
=218040


--
Andy
Matt F - 10 Aug 2007 16:35 GMT
Andrew,

You're right.  If I open VS first and then open the solution, the problem
doesn't present itself, it's only when opening the solution directly.
Actually, in my case, it's when using a shortcut to a solution.  I keep
shortcuts to the solutions I'm most often working on on my desktop.  BTW: I
do have SP1 installed - installed first day it was released actually.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.