Jeff Walsh's Q&A profile
Visual Studio Team System How to get "Current Week" in MDX Query
We are trying to migrate TFS (RC) warehouse report to TFS (RTM) warehouse. My query in TFS (RC) is using “[Current Week]” for getting the current week details. SELECT NON EMPTY {([Measures].[Current Work Item Count]),([Measures].[tasksendedthatweek]),([Measures].[tasksactuallyendedthatweek]),([Measures].[tasksactuallystartedthatweek])} ON COLUMNS, lastperiods (5, strtomember ( ' [ HP_Apprise_PM_Task_StartDate1].[Year Week Date].[Week].[Current Week] ' )) on rows FROM [Current Work Item] where { strtoset (@TeamProjectTeamProject)} The above query is failing in TFS (RTM) reporting (its not giving any error, but am not able to get the data). When I replaced “[Current Week]” with the specific Week date, am able ...Show All
Visual Studio Tools for Office c
When I change Excel zoom from 100% and try to click any winforms controls on the spreadsheet I get this dialog: Windows Forms controls have been disabled because the document has been scaled. When zoom is returned to 100%, controls will reactivate. I imagine many users scale their documents due to various screen resolution preferences. Is document scaling other than 100% going to be supported by VSTO in the future Actually, it looks like WinForms controls now do have some support for scaling. It may be possible for us to address this issue for existing controls. We will definitely investigate this. Sincerely, Geoff Darst Microsoft VSTO Team ...Show All
Visual Studio Rational Clearcase plug-in for MV 2005
Can any body give me the link to rational clearcase plugin for microsoft visual studio 2005. The problem is: when i open any c++ project in visual studion 2003.net and when I right click on any source/header files, I get the "Check out/ check in" option from clearcase but when i do the same in visual studio 2005, I don't get any "check out/ check in" option on right click. Does anybody know what's going on and how to solve it. Thanks Jimi Could you be a bit more specific What exactly works on your computer and does not work on others Have you tried contacting ClearCase to see if they can help you installing/configuring clear case plug-in properly http://www-128.ibm.com/developerworks/rationa ...Show All
Software Development for Windows Vista Workflow not Persisted
Dear all, I have a StateMachine like this: State1 ----- Event Driven ----------HandleExternalEvent ----------SetState (to state2) State 2 ----- Event Driven ----------HandleExternalEvent ----------SetState (to state3) State 3 ----- Event Driven ----------HandleExternalEvent ----------SetState (to state4) State 4 (Final State) And my host application do this: 1) Implemented the SQLPersistenceService (no tracking yet), set unloadonidled to 5 seconds. Added Handler for both workflow idle and persisted events. 2) The use click a button to raise an event to start a new workflow instance (State 1). By default, State1 will prompt an alert then goto State2 (become idle). The host actually unlo ...Show All
Visual Studio Express Editions How about for VStudio 6?
When U code in a Visual Studio env, can U get the line numbers in the code area, ie *.cpp or *.c area. How Thanks Yes. Go to Tools menu, Opions, Text Editor, C/C++. Under Display you'll find a check box named "Line Numbers". Check that. ...Show All
Windows Live Developer Forums Problem With My Program On V4 3D
Hello! I have my code that allows people to click on a pushpin and send it to a text box and then get directions from a locations. It worked great in 2D, but in 3D you can not click the pushpin. I will put the code below and could anyone tell me why it will not allow me to click on the pushpin and send it to the textbox Thanks! <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <script src="http://dev.virtualearth.net/mapcontrol/v4/mapcontrol.js"></script> <script> var map = null; var pins = new Array(null); function GetMap() { map = new VEMap('myMap'); ...Show All
SharePoint Products and Technologies missing link to change default welcome page
Hi all, using ss2007. When i go to site settings, under look and feel there is no link to change the welcome page. Can someone tell me what might be wrong here nope. I want to change the page that shows up when you go to / ... the default page. From what i found through google, under site settings, look and feel, there is supposed to be a welcome page link that i can click that will let me set the default page. I do not see this link. I can find no way to change the default page. Any ideas Could you post the URL to the page that lets you change the default welcome page Even though the link to it is missing maybe i can still access the page if i knew the address for it. Unless you can think of anything els ...Show All
Visual Studio Unexpected error when load Installshield project to VSS with VS2005
I have a solution with a C# project, a dotfuscator project and an InstallShield 12 smart device project. When checking in the solution both C# project and dotfuscator got upload to VSS 6.0. But when at the installshield project VS2005 throw this error: --------------------- Unexpected error encountered. It is recommended that you restart the application as soon as possible. Error: Unspecified error File: vsee\pkgs\vssprovider\cmsscciabstractionlayer.cpp Line number: 4260 ---------------------- Any suggestion I think i find out what make the error appear at least on my end. If you already have a solution in VSS and you try to add a setup project and then try to upload the whole solution to ...Show All
SQL Server Named Calculations for measures with formula
Hi, The details of background are avaliable in this prev post: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=550862&SiteID=1 After edward melomed's advice I tried to create a named calculation for the respective Fact table. The problem is, let us say I have a two measures M1 and M2 in a cube. Now I want a named calculation say 'NM3' , that contains the formula M1 + M2. So I write the following SQL in the named calculation: (select M1 + M2 from fact table) although the query is right, while processing I get the error that the query returns multiple values. So now how do I specify the current row or how do I specify something similar to a cursor I know that I can achieve this using calculated measures instea ...Show All
Visual Studio Team System Error sharepoint service
I got error on login sharepoint service, i have windows 2003 server +Sp1 with sharepoint services with SP2 Server Error in '/' Application. Hello, Its not clear whether you are seeing this problem on a TFS team portal or on a regular Sharepoint site. What message is displayed if you follow the instructions in the page and set the mode from RemoteOnly to Off in the web.config file You might find something useful in one of the Sharepoint forums or on the Microsoft Support site. Here is one link that might help! http://support.microsoft.com/kb/910434/en-us Good luck! ...Show All
Visual Basic Frustrating hex problem
I am using a modbus command that requires a specific value Dim Err As Short ' return error Err = Me.SmrnControl1.MbForceSingleCoil(7, 3, &HFF00) ' turn on The code above is from the suppliers examples. I cannot get VB to accept this format or do any conversions. I am feeling rather stupid as this is so simple. Has anyone got a suggestion as to what I am doing wrong. The values in brackets are all shorts. I have tried decalring a short and converting the hex value but it simply generates an error. Thanks for the prompt reply. All variables are shorts. I have copied the complete instruction set for your information. I have tried the suggestion given but this is not accepted as the error code (err) retur ...Show All
Visual C# chellanging question regarding ports
Dear All, When I execute command “netstat –na” I am getting following output Proto Local Address Foreign Address State TCP 0.0.0.0:135 0.0.0.0:0 LISTENING TCP 0.0.0.0:445 0.0.0.0:0 LISTENING TCP 0.0.0.0:1025 0.0.0.0:0 LISTENING TCP 192.168.1.116:1035 206.46.110.54:1863 ESTABLISHED TCP 192.168.1.116:2058 223.118.5.140:8080 ESTABLISHED TCP 192.168.1.116:2060 223.118.5.120:8080 CLOSE_WAIT How to know which Application opened which port. Thanks I wanted to read the output from "netstat -b ...Show All
SQL Server Variables and ForEach container
Is there a way to set a variable as a substring of the enumerator in a Foreach File Enumerator type The Variable Mappings tab in the Foreach Loop Editor does not allow you to enter an expression. Fred LEN(@[User::ZipCodeFileName]) is obviously evaluating to zero which means there is nothing in that variable. Which means you are not populating it properly. Use the watch window in conjunction with breakpoints to examine the contents of variables at various points of your control-flow. -Jamie ...Show All
Visual Studio 2008 (Pre-release) Warning as Error Shutoff
How do you shut off the "feature" and go to normal warning as warning. I have some variables that are assigned nut not used yet and I can not test because i get an error now. Help You can control this setting by going to Project->Properties->Build->Treat Warnings as Errors->Never. New C# projects should be set to *not* treat warnings as errors by default. Thanks, Luke Hoban C# Compiler Program Manager ...Show All
Visual Studio Express Editions Help with class templates
help, I have a small project to try programming templates classes, BUT IT WILL NOT LINK. The linker complains of unresolved externals. Can anyone see what the problem is; I am darned if I can spot it. Thanks, Pat Pope the main program is :- #include "cBinTree.h" int _tmain( int argc, _TCHAR* argv[]) { cBinTree<cDataItem>* binTree = new cBinTree<cDataItem>; <<< PROBLEM HERE } *************************************************************************************************** AND BinTree is :- pragma once #include "cDataItem.h" #include "cBinTreeNode.h" #include "console.h" template < class T> class cBinT ...Show All
