CJW99's Q&A profile
Visual Studio Team System Starting with TS builds
Hello We have recently migrated all .NET projects from VisualSourceSafe to Team Foundation and we are quite happy with the results, so we are continuing in our path towards TS-TFS. The next step is builds. We currently use MSBuild scripts for developers and for automatic builds. I am trying to understand how to "migrate" these scripts to TFSBuild. I am very confused because I have seen that TFSBuild is based on MSBuild and that the TFSBuild.proj files generated in VS look exactly like MSBuild files, but nowhere is it explained how to "migrate" my current scripts to the new VSTS-TFS environment. It should be really simple if one tool is based on the other. I get the impression I'm missing something. Can you give ...Show All
SQL Server Getting error message saying "xpstar.dll is missing....." When I attach the MDF file with SQL Server 2005 Express
When I attach the MDF file with SQL Server 2005 Express, I am getting a long error message saying "xpstar.dll is missing....." and the wizard closes. Please tell me what should i do to resolve it I have SQL Server 2005 Express Management Studio Express installed .... Regards, Fuzon This sounds like a defect to me. Please report this issue at the Microsoft Connect site ( http://connect.microsoft.com/SqlServer/feedback ). Connect feedback goes right into the defect tracking system used by the development team. Feedback from customers is an important criterion for determining which defects to fix next, so your feedback on Connect will help give this this problem attention sooner. ...Show All
Windows Search Technologies Outlook 2007 Beta blank email
In trying to stay on the bleeding edge of software to better help my customers, I intalled 2007 office beta. well it looks great but the outlook or myself has a problem. ALL email is blank, text or html, I can forward a perfectly good email file from Outlook express and open it in 2007 and it is blank all you can see is sender information. I tried sending in error information from within Outlook but have yet to get a responce. Did I miss somthing in setup or is this a known bug. I have the same issue. Only I recieved email from someone I could initially read but the next time I tried to open it, it was blank. Also all the mail sent to recipiant is blank. ...Show All
Visual C++ Executing Code
I have used Jcreator, CodeWarrior and a dozen other compilers for various languages. Now I am using Visual C++ express to compile code (in C++ of course) and I seem to have run into a snag. In literally every toher compiler, there is a prominent 'Execute' button, however, I have looked, searched the database (as futile as that was), searched through everymenu, enquired throughout the digital world, looked at instruction s and lessons and everywhere I thought an answer could be found, and Lo, I have not discovered where Visual C++ Express has hidden its 'Execute' command/button. My professor has some version of Visual C++ where there is a single button that both compiles and Executes code, but Express apparently has no such thing. ...Show All
Visual Studio 2008 (Pre-release) Changing the Color of a Row On a ListView
I'm trying to set up a listview control where if a row meets a condition i want it to change the color of the text for that row (red) else it should be the default color. I have it bound to a dataset. Could someone point me in the right direction Thanks I just blogged about how to implement something like this: http://www.infusionblogs.com/blogs/jsmith/archive/2006/12/03/9195.aspx If you need to affect the text color, you'll need to bind the Foreground instead of the Background property, as seen in the blog entry. HTH ...Show All
Visual C# how to get current line number ?
Hi, is there any way to obtain current line number in C#. looks like a __LINE__ in C++.. thanks. No there is not. Can you explain what you want it for and perhaps someone can provide an alternative solution Presumably you want to be able to generate a message containing the current line #. This is not really doable other than through a call stack trace (which can't be done in C++). The call stack trace will give you all the information you'll need like the filename, method name and line #). However this information is dependent upon having the PDB file available. Michael Taylor - 11/10/06 ...Show All
Visual Studio 2008 (Pre-release) Components in CIDER
Is there a way to add components in CIDER CIDER does not seem to have a component tray. Thanks. No there will not be a way to add components using the designer in V1 of Cider. You will either need to declare the component in the in .Resources section in the XAML or declare it in code mark ...Show All
Visual Basic If function
i have a code to search a datagrid to find the text i typed in the textbox. when the wordt isn't found , or there is no text in the text box , i want a msgbox to open. can somebody help me whit the code Dim strcolumn, strsearchvalue As String strcolumn = CataloogDataSet2.boltype.Columns(0).ColumnName strsearchvalue = toolstriptextbox1.Text Me .BoltypeBindingSource.Position = Me .BoltypeBindingSource.Find(strcolumn, strsearchvalue) oh, i didn't notice that condition... here goes... Dim index As int = -1 if strsearchvalue.Length > 0 Then index = Me .BoltypeBindingSource.Find(strcolumn, strsearchvalue) End If If index >= 0 Then Me ...Show All
.NET Development FileLogTraceListener class - implementation ?
Hi friends, Anybody tried using the FileLogTraceListener class for data logging to text files I've been reading this and getting more confused. If any noble, generous soul can explain it to me or better still share the code snippets to make it work I would be highly obliged. Thanks, Kunal Hi All, Thanks to Michael, Johan and Peter for taking out time to go through my problem. Well, you have to pardon my ignorance. I'm a newbie in .NET/C# and have all along been associated with embedded systems. I have been thrusted into working on this project and am learning each day and get confused easily. My requirement is to write different pieces of information to different log files from different locations in code. A ne ...Show All
Visual Studio Team System CTP7: Database Pro requires local SQL 2005 instance
I checked the thread for CTP6 that discussed this requirement, but none of the suggestions I tried there worked. I have a SQLExpress 2005 instance running, but when I try to create a new SQL 2005 project, I'm still getting the error message about a local instance of SQL Server being required. I've tried leaving the option blank, filling it in with SQLExpress, and filling it in with <machinename>\SQLExpress, but I get the same error message regardless. It's pretty frustrating to go from being able to generate tons of different test data in CTP5 to not even being able to create a project in CTP7. Any help you could provide would be greatly appreciated. -Scott Maybe Amos wasn't around when we g ...Show All
Visual Studio 2008 (Pre-release) SQO Documentation For Sum and Average Operators
In the May CTP SQO documentation, for the Sum operator, the docs state that null values will not be included in the sum. What value could you add to the sum for a null value But, for the Average operator, no such statement is made. So I am curious, what is the defined behavior going to be for determining the average if some of the elements are null Since an average is the sum divided by the count, will the null elements be included in the count, thereby lowering the average I haven't tested the code to see how it behaves yet because I care more about the defined behavior, than the way it is currently implemented. As a developer, I could see wanting to be able to do it either way. Sometimes I may ...Show All
Windows Forms Problems handling "VarBinary" field.
Hi, As I could read that "image" fieldtype would eventually disappear from next SQL version, (Ref: http://msdn2.microsoft.com/fr-fr/library/ms187993 ) I started using in one of my SQL table a "VarBinary" fieldtype in order to hold an image ( .bmp, .gif, .jpg, .jpeg). My problem here is that, even after searching infos on the web on "VarBinary fieldtype", I still don't have a clue on how I can assign that "VarBinary" field value to the "Image" control I have on my form so it can display corresponding image. Any trick By the same way, any trick on how I can store my "Image" control's picture back to my "VarBinary" field Many thanks in advance, Stephane &n ...Show All
SQL Server Setting Local Report Data Source
I am a college professor and am updating my undergraduate database course to use Reporting Services as the reporting tool. The student labs cannot run IIS so I assume that using server-based reports is out and am looking at using local reports and the VB ReportViewer control. For several reasons (waaayyy too long to list here) I do not wish to use the drag-and-drop datasets that seem to be the core of the ADO.Net 2005 architecture. Instead I prefer to create connections, commands, and datasets in code and to set data binding and manage data updates in code. All command objects map to SQL Server stored procedures. I need to be able to do the same thing with reporting services local reports but have run into a brick wall in getting the ...Show All
Windows Forms How to trap keyboard event. like Esc and Delete etc.
in my case , i want the same ability like in VS IDE which is when on design surface, select a control and then press ESC ,the Selection Control will turn to it's parent control. i trying to add the messageFilter to handle the key event . but it will trap all key events in the application. Apperently this not meet my requirement, i just want the design surface handle the message. i have tried to handle Message Loop as well it doesn't work ; for example: System.Windows.Forms.Application.AddMessageFilter(_msgFilter); ...... public class MessageFilter:IMessageFilter { private BaseForm _owner; private const int WM_KEYDOWN = 0x0100; private const int WM_RBUTTONDOWN = 0x0204; public MessageFilter(BaseForm owner) { this._o ...Show All
Visual Studio Express Editions Link errors : InterlockedBitTestAndComplement, MemoryBarrier, RtlSecureZeroMemory
Well, I rarely ever post for help but I am at a complete loss, and am not sure if anyone can really even help with this problem. Anyways, here it goes: I have written a ruby extension which compiles and runs fine on Mac OS X and several *nix systems. I have been working on porting it to a windows system. It currently compiles fine, but completely craps out on the linking stage. Here is a paste of what happens: (using Visual Studio Express command line tools) Compilation: straightforward, no issues, but here it is anyways: [code] Z:\rubysound\ext\rubysound>nmake Microsoft (R) Program Maintenance Utility Version 8.00.50727.42 Copyright (C) Microsoft Corporation. All rights reserved. cl -nologo -I"C:/Program Files/FMOD SoundSystem/FM ...Show All
