AmR EiSa's Q&A profile
Visual Studio Tools for Office Creating Smart tag for Office 2007 using VSTO 2005 SE
Hi, Can anybody helpme out in creating smart tag for office 2007 using VSTO 2005 SE. i have followed the folllowed the following URL http://msdn2.microsoft.com/en-us/library/ms268751(VS.80).aspx But No "VSTOSmartTag" object is recognized for VS2005. Kindly help me out in the step by step procedure to create smart tag using VSTO 2005 SE. i could not find any reference to create smart tag for word or outlook Addins. Thanks in advance. It appears as if you are trying to create a VSTO smart tag for a Word or Outlook global add-in. Per the message below, VSTO smart tags are only supported in document level customizations (not global add-ins). http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=8776 ...Show All
Visual Studio Team System TF26212 - How To Diagnose
I have made changes to my work item type. I get TF26212 when I create a new work item. How can I diagnose this Is there a log or something that is a bit more informative that "something is wrong with my wit". One thing you might have done is created some conflicting rules when you made the edits to your work item type definition. These conflicting rules may be difficult to find. Here are some threads that may help you: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=580695&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=797071&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=761280&SiteID=1 Is there any chance that you reme ...Show All
SQL Server Client Certificates with SQL Mobile replication
I am currently trying to replicate a SQL Mobile 2005 database with a SQL Server 2005 database through web synchronization using SSL Server AND Client Certificates. On IIS, with "Require Client Certificates" unchecked, I can replicate fine. Once I turn it on, I get a message from replication saying "A Secure Socket Layer connection is required to access this site". I have installed a client certificate in IE, and can access the https:// servername /Ojt/sqlcesa30.dll site (I tried removing the client certificate, and I was denied access, then reinstalled it and it worked - so I think that part is working). Does anyone have any experience with this My production operating environment requires client-side certificates. ...Show All
Visual Studio Team System Context menu for work item returns "Index was outside the bounds" error
Hi, In one of my team project, the "Add Work Item" menu item is giving me an error; it expands to " Error loading menu: Index was outside the bounds of the array " instead to a list of work item types. Anybody have any idea what might be causing this error Or where to get more information on this error Here are some additional information that might be useful: It is only happening in this one team project. Other team project are working properly This team project had been deleted and "recreated" (i.e. create with same project name). The original team project was using the MSF Agile template and the new one uses the MSF CMMI template. Nobody else in this team project is having this problem ...Show All
Visual Studio More Show All Files issues
Hello. I have some extension over VC++ project in Visual Studio and ordinary VC project is nested in my superstructure. I have problem with Show All Files. I can handle Show All Files icon state when my project or nested VC project is selected in Solution Explorer by track ECMD_SHOWALLFILES command number in IVSUIHierarchy->QueryStatusCommand() or IOleCommandTarget->QueryStatus(). Also I can handle that button click in ExecCommand() or Exec() in corresponding interfaces. However when selection is moved to file or folder I can not handle neither icon state nor click. Neither IVSUIHierarchy nor IOleCommandTarget methods are not called with ECMD_SHOWALLFILES command from Visual Studio. Why How can it be possible to do ...Show All
Visual Studio Team System debug custom code-analysis rules
Is there a way to debug custom rules in vs2005 without using the stand-alone fxcop Thanks a lot, Mahendra. Hi David, Let me explain you the way I have my projects set up - 1. A Custom rules project which has references to the following dll's under 'C:\Program Files\Microsoft Visual Studio 8\Team Tools\Static Analysis Tools\FxCop' folder - FxCopSdk.dll, Microsoft.Cci.dll. 2. A test project on which I want to run code analysis on. 3. Copy the custom rules assembly to the 'C:\Program Files\Microsoft Visual Studio 8\Team Tools\Static Analysis Tools\FxCop\Rules' folder. 4. I check the project properties of the test project and I see the new rule in the code analysis section. 5. I ru ...Show All
.NET Development NULL Properties in DirectoryServices.SearchResult
In a WebService i'm trying to get a list of user details from active directory. I get a list of search results: Dim deSearch As DirectorySearcher = New DirectorySearcher() deSearch.Filter = "(sn=sm*)" deSearch.PropertiesToLoad.Add( "cn" ) deSearch.PropertiesToLoad.Add( "co" ) deSearch.PropertiesToLoad.Add( "mail" ) deSearch.PropertiesToLoad.Add( "mobile" ) deSearch.PropertiesToLoad.Add( "streetAddress" ) deSearch.PropertiesToLoad.Add( "telephoneNumber" ) Dim results As SearchResultCollection = deSearch.FindAll() Dim seres As System.DirectoryServices.SearchResult For Each seres In results Then I want to use each prop ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Game Physics
This may not be the best place to post this, but here goes. Does anyone know of some ONLINE physics related algorithms / code examples Here is my acceleration/deceleration algorithm. Comments are welcome: if (gameTime.TotalGameTime.TotalMilliseconds > this. spawnTime && sprite.Position != this.destination) { Vector2 currentVelocity = ( Vector2 )sprite.ActionContext[ACTION_KEYWORD]; Vector2 travelVector = this .destination - sprite.Position; float distanceLeft = travelVector.Length(); travelVector.Normalize(); if (distanceLeft < this.deceleration) { currentVelocity = Vector2 .Zero; sprite.Position = this .destination; } else if (DecelerationDistance(currentVelocity.Length()) >= distanceLeft) { currentVeloci ...Show All
Visual Studio Invalid argument for database
Hi, I have a report that is connecting to two different databases and retrieving data from a stored procedure in each. My problem is that when I try and set the destination of the database at runtime, I get the following error: Invalid Argument provided. Failed to open a rowset. Error in File C:\DOCUME~1\JAMES\LOCALS~1\Temp\temp_{5E8F9D66-6EFF-47E9-96F7-65D32A761DCC}.rpt: Invalid argument for database I have other reports connecting to the two databases and I am setting their destination at runtime with no problems. The only difference in this report is the fact that it is using stored procedures rather than tables directly. Strangely enough, when I set the designtime location of the database to be the location that i am sett ...Show All
Visual Studio Team System How to upgrade from expired TFS RC to RTM?
Hello Unfortunately our TFS RC expired today... ARGH! Can I provide a RTM product key in the "Maintenance Mode Options" to reanimate our expired RC first and update to RTM version later Or can/should I first upgrade the expired version as described in the document of the TFSUpgradePackageRTM Thanks Volker Brian Harry just posted on exactly this topic here . Hope this helps- Cheers, Adam ...Show All
Visual Studio 2008 (Pre-release) Inconsistencies between NorthwindLib and Wizard-Generated Version
I'm seeing unexpected inconsistencies between the schema files of NorthwindLib and those generated by the Entity Data Model Wizard from NorthwindCTP.mdf. SSDL: Wizard version has AssociationSets and Associations defined, NorthwindLib version doesn't. CSDL: Wizard version is missing CustomerId Property of Orders EntityType; NorthwindLib version's Entitites have NavigationRoleProperties - Wizard's doesn't. Multiplicity attribute format differs. Wizard version is missing ConcurrencyMode="fixed" Property attribute. MSL: Wizard version is missing CustomerID Property of Orders. All element tags and attribute names are qualified with p1; NorthwindLib attribute names are qualified with cdm (no big deal). Which is the current/ ...Show All
Architecture Problems with Owner Draw Menus in an out of process ActiveX Document Server
My Document Server is written with C++ MFC and built using VS .NET 2003 and is targetted to WinXP and newer. I’ve now run out of ideas on how to resolve my owner draw problem when an OLE container attempts to render my shared menus. Everything is fine when the keyboard is used to activate the menubar items. This is because the container is using WM_NCPAINT etc to create a real screen drawing context. This context is then passed through to the in place frame of my server where it will succeed in drawing the menu items ( WM_DRAWITEM ) When the menu bar item is clicked on with the mouse, however, the container make use of WM_PRINT, WM_PRINTCLIENT to render to a memory HDC. When this HDC is passed to my out of process serve ...Show All
Visual C++ what is the difference between a _gc array and a _nogc array?
which one is much better thanks IMO, this is a non-issue. It's better to not use Managed C++ in VS 2003, as it is an obsolete language. Either use C++ or go with C++/CLI in VS 2005. ...Show All
Visual Studio 2008 (Pre-release) date picker not available, someone already working on it?
Okay, so I'll be the first to whine about this: it's been said in some video's and a few blog posts that there will not be a datetimepicker for avalon provided by microsoft. Is that true If so, is someone working on this / planning on going to work on it I'm probably going to need this pretty soon, and I think it's a bit too involved to just do myself. Regards Kevin made it available a few months ago. The latest build is here: http://blogs.msdn.com/okoboji/archive/2006/09/20/764019.aspx ...Show All
Visual Studio Team System How to pass parmeters to TFSBUILD at run time from another application
I have written a custom task (rel ated to another post of mine ) that would take in a set of work item ids and get the item versions specific to the changes sets associated with these workitemsids. I do other stuff in the custom task (to get from release branch first instead etc..). I have tested my custom task in TFSBUILD.proj. It works great. Now I need to trigger this TFSBUILD.prof from another tool (custom build automation tool we have). The question for me is how do i pass parmaters like work item ids) at the run time. I looked at TFSBUILD Start command , but it does not show me a way to pass parameter values. Msbuild /p and TFSBuild.rsp file seems to be other options. But I am not quite sure how can i use them. To give an idea ...Show All
