DIFSMGULD2005's Q&A profile
Visual Studio Team System Overriding "CreatedBy" and "CreatedDate" for new work items
We are in the middle of writing a tool to migrate all our bug data to TFS via the object model. It is essential for us to preserve the user and date of each change made to a bug report. Currently TFS uses the current user and datetime. Is there a way of overriding the "CreatedBy" and "CreatedDate" when adding new work items A possible workround is to insert each bug in its initial state, then for each state it passes through, modify it accordingly and save it again. This gives you the right number of history records, but with the wrong dates and users. Then use SQL directly on t ...Show All
Visual Studio 2008 (Pre-release) Sept CTP - TextBox, Styling & the Beloved ControlTemplate
I'm trying to upgrade my code to the new CTP, and am running into some initial problems with slapping a controltemplate onto a simple textbox. This is disturbing, I know its something unbelievably trivial, and as I type this I am slapping myself, but, hopefully someone can point out the mistake... <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type TextBox}"> & ...Show All
Visual Basic mscomm vb6 --> vs2005
I have a very simple vb6 program I want to convert to VS2005. MSComm is nolonger available and I don't understand how to receive data without the mscomm_OnComm() event. Please advise. Also, can this be implemented so that the code is exposed to MSAccess 2000 Ultimately I need to communicate to a piece of Lab equipment connected to the serial port using a production application written in MSAccess. Thanks *VB6 Code* Dim Buffer As String Private Sub MSComm1_OnComm() If Me.MSComm1.CommEvent = 2 Then Buffer$ = Me.MSComm1.Input & ...Show All
Visual Studio Team System Instrumentation failed
Can I be able to instrument the code without having a source code for all of my executable I am getting the following error: "PRF0002: Instrumentation failed with these options" because it can't find the source code for the 3rd party object file. Is there a workaround for this problem Thanks, Sadly with the current version of the profiler you will not be able to instrument binaries when you are missing the pdbs for a third party object file. Our instrumentation code relies on having symbols to perform instrumentation. A few possible solutions are: 1. Use the sampli ...Show All
Visual C# int dividing
ok,,,, i have a problem dividing 2 ints... heres the code: int w = image.Width - 146; int h = image.Height - 148; &nb ...Show All
Visual Studio Team System Reinstallation of Beta 3: Error 28704.Unable to connect to the Analysis server
Good afternoon, Yesterday I completed the installation of a single server instance of Beta 3. It worked (for the first time!!). The only problem, was that I couldn't see domain users from the Team Explorer. I put 2 and 2 together and realized that the problem was the service account. It was a local user, and didn't have rights to see the domain. So, I uninstalled TFS and STS. I deleted the DB's that got created, as well as the application pools and COM+ packages. And of course, an obgligatory reboot. After running through the setup a second time (and third and fourth :0) ), I hit a snag. I received a setup er ...Show All
SQL Server Do Sql supports mutlithreads on triggers?
Hi all, I have a question Whether Sql supports mutlithreads on triggers. For example: I have a Patient table. When two patient records getting inserted by two different transactions does it trigger the triggers in different threads and execute the code in Insert trigger Or only one row will fire the trigger and the other one won't Thanks Each transaction will fire the trigger. The trigger is in response to a DML statement (or DDL statement also in SQL Server 2005) and the code is executed automatically by the engine within the scope of the transaction. Note that the trigger is however at the stat ...Show All
Visual Studio Express Editions very weird messup?
Hello, I am not sure if I am doing wrong things in wrong order for DB but consider this: when I have my form1.vb in designer view, my data sources go blank and says no commands available.. but when I goto form1.vb in code view, my data sources are back and they appear as if nothing happened... does anyone think this is something I messedup or is it like a computer glitch Thank you! Keehun Nam Happene d to me as well. Have a look here - http://forums.microsoft.com/msdn/showpost.aspx postid=125310&siteid=1 GS ...Show All
Windows Forms .NET Popup Toasts (msn like), need to make more slick and smooth
I have a program that sends slide in pop ups as MSN does, but I have a few problems that make this not function as crisply as I would like: 1) Popups take focus when sliding in.. I don't want them to have focus, because there is no reason for them to have focus.. and if i'm typing away on a control somewhere, and the pop ...Show All
.NET Development Unable to modify database data (ADO.Net, C++, ODBC)
I am trying to learn how to use DataSets to edit data in a database using the ODBC .Net provider. I would also like to have an OdbcCommandBuilder buid the SQL commands for me. In this simple example, I created a small MS Access database with two tables (Table0 and Table 1), with a few columns, and populated with a few rows in each. I am able to connect to the database using a DSN (only targetting Table0), query and properly populate a DataSet - "properly", as far as getting some basic information back. Then I try to Clear the table from all its rows, and then I try to update the database by using the OdbcDataAdapter Update function. The upda ...Show All
.NET Development Xpath version runnning .Net 2
I haven't been able to find the version information to which Xpath .Net 2 is using. My guess it is version one...but if it is not that would be good to know. Which version is used when SelectSingleNode is called off of XmlDocument advTHANKSance ...Show All
Windows Forms BUG: Inheritance using custom controls
Here's a bug for you and a simple example to go with it. I assume it's a bug since I've spent almost a week now on every message board and newsgroup I can find and there simply is no information on this problem. I can only assume no one writes custom controls. What I'm doing is creating a custom control, prepopulated with 4 items& ...Show All
.NET Development About License !!!
I want to develop a web site, for my Small Business, using ASP.NET... but my question is, what I have to pay in order to do this Thanx in advantage... Well, thanx... I gone do all my self... then you mean that if I make a Web Site using only ASP.NET, and Web Matrix,... I don't need any license to publish my web site thanx again ...Show All
Windows Forms I need .NET Graphing Component
I am developing a desktop application which needs results to be displayed in graphical format, for this I need a .NET graphing component in which I can plot XY plot and surfaces with lots of customisation. Can any one help me on this I am ready to pay for licence. You may check out the link: http://authors.unicadpublish.com/~jack_xu/ the book shows you how to create ...Show All
Visual C# C# Events
Hello, i came from programming in visual basic 6 to look at C# (2005 express). Something i noticed is for example in vb6 if i double clicked on the form i could chose from the list box events such as Form_Load, Form_Resize, Form_Paint, and so on. In C# i cant do this, im not sure how to get these events for any controls, could someone please help me Thankyou Hi luke, Glad to be helful, For further assistance, Migrate Your VB6 Code to VB.NET Help for Visual Basic 6.0 Users Visual Basic Reference Best wishes. ...Show All
