NGlase's Q&A profile
Visual Studio Team System Need means to automatically set one work item field based on another field
Is there a means with TFS (via some sort of plug-in or otherwise) to programmatically check the value of a work item field and set another work item field to a value that varies depending on the first work item field For instance, we might want to set a default Assigned To value using a table of client IDs. After a change of client ID, it would be nice to automatically update the Assigned To value based on the table. See also: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=197772&SiteID=1 Yes, but probably not in a way that would give the user experience that you are after ...Show All
.NET Development Unable to 'or' other regex options in C++
I need to use Regex object in my app I realized that if I need 2 RegexOptions so I have to put the 'or' operator betwwen them but when I do that I get an error: rror C2664: 'System::Text::RegularExpressions::Regex::Regex(System::String __gc *,System::Text::RegularExpressions::RegexOptions)' : cannot convert parameter 2 from 'int' to 'System::Text::RegularExpressions::RegexOptions' the code with ||: CString strPattern = _T("<form[\\s\\S]* <.form>"); Regex* rx = new Regex(strPattern, RegexOptions::Multiline | | RegexOptions:: IgnoreCase ); or with |: CString strPattern = _T("&l ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Managed Directx Deployment Problem
I am making a game using visual studio .net 2003 with directx 9 2005 update. I create a deployment project with visual studio that includes all directx.dll files and other detected dependancies. I deploy the game to the computer on which it was developed and it works fine. Now I want to test the networking so I deploy it to a laptop. The laptop is running windows xp with SP 2 (so .net framework is there obviously) I also installed latest runtime on this laptop. When I try to run the game, it says: "Application has generated an exception that could not be handled" It may be that the game itself is throwing some ki ...Show All
SQL Server Jump to Report - misdirection
I have created a baseline folder with several reports, which I use as a "link to" from production folders for a variety of departments. Moreover, I have used a "Jump To Report" configuration as a drill-through to another report. The problem is that when I click on the link it executes the report in the baseline folder versus the report in the production department folder. How do I direct the execution to the appropriate production department folder(s) Thanks in advance for any assistance. The link to the drillthrough report can either be relative to the current report, for ex: detailsr ...Show All
Visual C++ Error when trying to run apps on other computers
Hi! I've just switched to Visual C++ Express Beta. All my apps compile and work well, that's on My PC only! Whenever I move my app to another PC and try to run it It gives me this wierd error: "This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this program" . Am I doing something wrong. Am I not getting some files that should be with my apps, or am I not setting the linker correctly Thanks in advance! Ok, you need to run a dependency check on the .dlls that the program uses. Most likely you need the umm...MFC47D.dll or somet ...Show All
Visual C# Can Generics solve problem of cross referencing?
I have a solution which I encountered problem of cross referencing when I try to open forms(each other) located in two .DLL projects. Can I solve these kind of problem using .NET 2.0's generics If yes, how Thank a lot. No, generics can be used to create re-usable type safe code. I think you can't fox you referencing problem with it. To read more about generics, see this article. ...Show All
Visual Studio Team System New team build type
Im trying to create a new team build type using the creation wizard. Now when I select which workspaces I would like to build from, I select all solutions under Team Project. However I dont see any solutions to select from. I have several workspaces available to me and I know that they each have a solution but why dont they show up in the creation wizard Do I have to associate them somehow before I come to this step Another cross check can be - Open the Source Control Explorer window. You can find it as a child node under your Team project node. Goto the Team project you are worki ...Show All
SQL Server Login failed for user'(null)'
In VWD 2005EE Beta 2 I was able to connect to my SQL Server 2000 database with the below code in green: Sub BindMxDataGrid1() Dim connectionString As String = "server='ccsserver'; database='castsql'; trusted_connection=true" Dim CommandText As String Dim filtervalue As String = SearchField.Text.Replace( "'" , "''" ) If filtervalue = "" Then CommandText = "select Code, Name from Portfile ORDER BY Name" Else CommandText = "select Code, Name from Portfile where (Name Like '" & filtervalue & "%') Order By Name" End If Dim myConnection As New System.Data.SqlClient.Sql ...Show All
.NET Development Parsing Text Files into Array
Hello @, I'm new to VB.Net (2005 Express) and have hit a wall. I have data in a text file that I need to read into an array. The text file is built like: [Section Name] Data1 Data2 ...etc [Section 2] ... Best would be to use a 2 dimensional array as the Sections and Data entries can vary section1 data1 data 2 ... section 2 data1 .... I can't figure out how to split the data and add it to an array. Later ...Show All
SQL Server Reporting Services in Developer?
I understood that the developer edition had everything (component-wise) in it that Enterprise did, but my SQL2005 Developer installation had the Report Services checkbox greyed out on the initial install dialog, and they don't appear to be available. Are Report Services not available in Developer Edition If not, what's a lonely developer to do that wants to learn and/or play with Report Services :) Thanks. In 2005 setup there is a configuration report that is run. If IIS was not installed then this report should have given you a warning stating that RS could not be installed. -Daniel ...Show All
Windows Forms Setting the Connection String Just Once
I have Midi application that requires just two different connection strings, one for my dev environment and one for production. The main form is frmMain. The main form has a function that detects whidh connection is sucessful. This is called in the load routine. Since frmMain is alway open, it seem reasonable to create a public property (called Conn ...Show All
Game Technologies: DirectX, XNA, XACT, etc. sampleFramework: mouse- and keyboardcallbacks
Hi! I'm trying to write a game, with the help of the book "Beginning 3D Game Programming" by Tom Miller (ISBN 0-672-32661-2). For his examples, he uses the Microsoft "sampleFramework" which ships with the DirectX SDK. (Actually, the samples in the book use the Summer 2004 edition, while I use the August 2005 SDK; but I hope this shouldn't matter at all). My problem is the code in the main() method, which should hook Events and Callbacks: ---------------------------------begin code -------------------------------- //this part of code works sampleFramework.Disposing += new EventHandler(myEngine.OnDestroyDevice); sampleFramework.DeviceLost += n ...Show All
SQL Server Can I work with abril ctp and migrate later to an express version?
Hello The final customers of my application should have sql server express. Can I work with sql abril ctp and then when the final version of sql express has been released install it and migrate the database Yes, what you describe should work. There are two parts to your question: 1. Going from June CTP to RTM – this should be just fine 2. Going from Developer SKU to Express SKU – this has caveats as outlined below Caveat: if you use a feature that is available only on Dev/Enterprise SKU, once you migrate to Express you may run into problems. Most notable features that may create problems are database mirrorin ...Show All
Visual Studio 2008 (Pre-release) Service Identities in February CTP
What exactly is the relation between following identies in the context of a WCF service: System.Threading.Thread.CurrentPrincipal.Identity ServiceSecurityContext.Current.PrimaryIdentity ServiceSecurityContext.Current.WindowsIdentity Are they all referring to the same identity when a service is configured with Windows security Thanks. I assume you're refering to the OperationContext.ServiceSecurityContext. the PrimaryIdentity will return an generic object implementing IIdentity. WindowsIdentity also implements IIdentity but is specific to Windows accounts. So for example if you examine the PrincipalIdentity or the WindowsIdentity ...Show All
Visual Studio 2008 (Pre-release) MSBuild Target Redirection (Alternative to install/uninstall Linq to VS)
Jomo (etc): I'm guessing the same technique to get .NET 1.1 targets in VS2k5 would work for getting a Linq target Am I missing anything tricky about how the preview compiler operates Someone should make an app to automatically generate a new C#-like target definition for MSBuild, I suppose. Feed it compiler and framework locations, and optionally where to store the new VS template... Hmm... I do like that, in general, though it may be more useful for retargetting frameworks, to deal with People Who Refuse To Upgrade, so that you can downgrade to broken logic, or use third-party bits. ...Show All
