nyquist58's Q&A profile
Visual Studio Welcome to the Domain-Specific Language (DSL) Tools Forum
Welcome to the Domain-Specific Language (DSL) Tools Forum, which replaces the previous DSL Tools newsgroup ( http://communities.microsoft.com/newsgroups/default.asp icp=whidbey&slcid=us&NewsGroup=microsoft.private.whidbey.teamsystem.workshop.dsltools ). The DSL Tools workbench is located at http://lab.msdn.microsoft.com/teamsystem/workshop/dsltools . Only if they are manually cut and pasted will posts from the newsgroup live o ...Show All
Visual Basic Class Reflection Problem
I am trying to make my application save its data files as XML. The problem is this: Part of the data to be saved is a collection. Collections, apparently, can not be reflected in the System.Xml.Serialization.XmlSerializer.Serialize() method. So I tried List(Of...), and that doesn't give me the index functionality that I need. I reference the collection by key, which is a randomized number converted to hexadecimal. List(Of...) doesn't give me ...Show All
Visual Studio Team System h status oddity
This seems like a bug to me. Let's say I have two users (John and Jane) and John has a file checked out in a subdir C:\Proj\Foo\Bar\baz.cs. Jane then tries to see if any of the files in C:\Proj\Foo\Bar are checked out by other users so she executes: h status . /user:* Hmm it says there are no changes. However, if she executes: h status /user:* It shows that John is editing the file. The bummer is if this is ...Show All
SQL Server How do I total a sub group like in Crystal
I'm converting some crystal reports and can't seem to find a function in SRS that does totals by group. Here is the crystal function: Sum ({rdo.TimeWorked},{rdo.JobID} ) It takes the sum of time worked for each job id. I tried using RunningValue with a scope but that didn't work because I'm not grouping by Job ID in my report. If it helps here is what I'm trying to do. Snapshot of data: Weekday ...Show All
Visual Studio Team System TFSVC API - Workspace.Get and GetOptions Enum
I'm working with the Workspace.Get() method and I see that it takes a parameter of type GetOptions. I also noticed that the values for this Int32 enumeration seem to be bitmasks. Would I be safe in assuming that I can add these together and pass them to Workspace.Get() I would like to get a set of file, force download even if I already have them, and overwrite any files found in the local folder. Would the code snippet below work Example ...Show All
Visual Studio How to update AssemblyInfo only on Release builds?
I've installed the AssemblyInfoTask and I am able to automatically update my assembly versions using the major.minor.YYMMDD.revision versioning scheme. This is great - exactly what we want. I also understand that my assemblyinfo.cs file needs to be read/write for this to happen, and if I am executing my build from a command line (we use nmake), this is no problem. I just have the makefile check out the file from source control befo ...Show All
Software Development for Windows Vista StateMachine / Tracking Service / Not Logging Final State Change
Hi, Using WWF Beta 2 (Jan CTP). In reviewing tracking history for a statemachine workflow, the final statechange doesn't seem to be logged or it's not being returned via SqlTrackingWorkflowInstance.UserEvents with UserDataKey of "StateActivity.StateChange". I'm using the default tracking profile and have tested against a few different workflows. The workflow status itself is completed. One note is that the final workflow does not have ...Show All
SQL Server Fail Execute Process Task based on batch file ERRORLEVEL?
I am new to this, but have scoured the web and not found an answer to my question... I have an execute process task that runs a simple batch file. When this batch file completes with an ERRORLEVEL greater than 0, I would like the task to fail. I thought this simply meant setting the "FailTaskIfReturnCodeIsNotSuccessValue" property to true, and setting the SuccessValue to 0. However, this does not appear to work. Even with a simp ...Show All
Visual Basic How do I splt a string into a StringCollection in 2005
I am working on an EDI project where I have read a number of files into a string. I know each segment is terminated with "~". In vb 2003 I just did a a split on the string and it created an array of rows. This was all done in one line of code. Is there a way do do this in 2005 using the Collections.Specialized.StringCollection. I have read where this collection should speed up the process. If it is an insignificant amount then I'll stick with an ...Show All
SQL Server Round Function showing nothing in results when zero
after placing Round() around my expressions in my SSRS 2005 Report table, for expressions that equate to 0, it renders nothing inside those textboxes. How do I get zero to show up in those cases ...Show All
Windows Forms General Question Web page look to windows forms application
I have to create a client heavy application and I have a couple of questions. I have created ASP applications using C# and VB and also windows app using both however, this for this application they want it to "look" like a web based application (imagemaps, gridviews, etc) but it is going to be tied to a single computer because it will be accessing USB ports and various peripherals. Should I create a project in C# and select Windows App ...Show All
Visual Studio Team System Extending the Bug form in TFS
So, we use many more fields to track bugs than are in the MSF Agile template and I'd like to extend the db/form to include them. How do I do this Thanks, mindshoe Anu Are you able to connect from Team Explorer If yes, there is no issue with the server cinnectivity. However, I have a question. You mentioned that "I imported the new schema" in your previous response. Could you mention the steps you had perf ...Show All
Visual C++ File Comparison Question - What is wrong in my code
All, I've to compare two text files & output the results to a text file. Two input text files have file names in it, one input file was generated last week from a database & other was generated this week. The comparison utility that I want should return what's same, what's changed & what's deleted. Sample: First Input File(old): @DB/AAF33012/001 @DB/AAF33023/007 @DB/1L110145/008 @DB/11516573/001 @DB/11516836/002 @DB/15 ...Show All
Visual C# How to make toolbar
i want to know that how can i make toolbar in c#.net.and how to add that toolbar in IE. Regards Amit Grover This is a beginning. But having created the dll toolbar, the next issue is installing an maintaining this toolbar as it continues to evolve. I have "heard" that Microsoft has developed a click-once or one-click installation process for installing and maintaining Google-like tool bars through ...Show All
.NET Development Framework 2.0 and 1.1
Should the system have both versions of Framework (ie. 1.1 /2.0) or its safe to remove the old one (1.1) I know that both versions can co-exist but , why to have both, compatibilty issues Hi, 1.It won't crash your system even if you have more than one .Net framework installed. It will do side by side execution. 2.Sometimes it needs to have both version to support the old applications ...Show All
