BriceGuy's Q&A profile
Visual Studio Team System The TFS Report doesn't update, TF50801 The TFSServerScheduler service did not initialize
I got the same error as http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=553325&SiteID=1 . 事件 型: 事件 源: Tfs 事件种 : 事件 ID: 3059 日期: 2006-11-16 事件: 16:12:14 用 : N/A 算机: TEST 描述: TF53010: Team Foundation 件中 生了意外情 。 此 包含的信息提供 您的站 管理人 。 技 信息(供管理人 使用): 日期(UTC): 2006-11-16 8:12:14 算机: TEST 用程序域: TFSServerScheduler.exe 程序集: Microsoft.TeamFoundation.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727 程 信息: 程名: TFSServerScheduler 程 Id: 3780 程 Id: 3348 名: TFSservice 消息: TF50801: TFSServerScheduler 服 未初始化。Team Foundation 注 服 返回以下 : 此 算机的注 表 有 Team Foundation Server 的 ,或包含了 Team Foundation Server ...Show All
Visual C# unsafe code compilation in Visual Studio.NET
hi there ! I am extreamy new in vs.net and I can not compile the unsafe code through VS enviornment , there must be some thing for that but I dont know how thanks If your relatively new , I would be very cautious using unsafe. This can result in unexpected runtime errors that won't be caught by exceptions. Craig Maslowski, MCT ...Show All
SQL Server Replicating structure only not data
I have a SQL 2005 database that I am using with a website. This basic website will be sold to other companies and ran on their servers with different URLs. Since, All of these databases will store different data, I'm not sure how I can make updates to original database and replicate those structure changes to the other DBs without changing the data also. Is there a way to automate the replication of structural DB changes without replicating the data along with it Thanks, Kirk You can enable @replicate_dll at publication level, which will push the schema change to your subscriber. And you can set all the ins/upd/del commands to NONE for all of your articles, which will ignore all the data changes tha ...Show All
Visual Studio Tools for Office No VSTO parts in prerequesities dialog
Hi, does anyone know what's wrong if I can't choose VSTO runtime or Excel 2003 PIA among the prerequesities for my setup project I use Microsoft Visual Studio 2005 Version 8.0.50727.42 (RTM.050727-4200) and Microsoft Visual Studio Tools for Office 77617-168-7076001-41212 Do you have the files for them in your "C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\BootStrapper\Packages" directory (assuming that is where VS is installed) The sub-directories should be named "Office2003PIA" and "VSTORuntime". For more info see: http://msdn2.microsoft.com/en-us/library/aa537173(office.11).aspx and http://msdn2.microsoft.com/en-us/library/aa537179(office.11).aspx ...Show All
Visual C# Learning C#
Hi, I would like to ask anyone here for their advice on where I should start with C#. I have been programming for nearly a year now and dont know any other languages other than the VB family, such as vba, vb6 and vb.net. Since i have been programming with .net I have learned alot from the msdn library that comes with the installation of Visual Studio, and whenever looking at the example of code I still am always drawn to read the C# code. Something is just making me want to learn this language, However a good friend of mine is trying to alter my path by suggesting I learn C++. Learning C++ I would like to do, and also think I would benefit with the fact my friend knows the language. But may it not be a good path to learn C# then g ...Show All
Windows Forms ConnectionString problem
hi, i have a litle problem with connectinstring. i use an access database and i have manualy added a table to my database. when i try to refrsh my dataset i receve next msg: " Unable to find connection 'db1ConnectionString (MySettings) 1 ' for object 'MySettings'. The connection string could not be found in application settings, or the data provider associated with the connection string could not be loaded. " and stop here. i cant refresh my data set i dont know from where come " 1 " where should i look for it can anyone help me pls I have found these types of problems previously but now I have a new one. After converting to Visual Studio 2008 (an unrelated incident I think), I wanted to configure the ...Show All
Visual C# ignore mouse down event
I'm new to C# programming, learning it for pleasure on my own time. As an exercise, I'm creating a simple Windows program that 1) takes the mouse-down event as an 'anchor' point, 2) while dragging the mouse around continually draw a line from that anchor point to the current mouse position, 3) once the mouse-up occurs, shrink the resulting line down automatically until it disappears. Not too hard, and it works perfectly fine. My problem is that I do not want the Form to accept any mouse-down's while the shrinking logic is occurring. Currently, while the line is shrinking, I can do some more click-and-drags, and once the shrinking completes, those subsequent lines are drawn/shrunk in like fashion. I want to effectively ignore any mouse- ...Show All
Windows Forms adding single records to a gridview
I have a cbolist the user will select a name hit enter then a query runs to get that name details and enters it to a grid view, the user clicks another name and its details are added. How do i do this. i have only used the adapter.fill(table) gridview1.datasource = table but only one record is showing the last one clicked. thanks that was my thought but I was running into problems (new to .net) I am gettng errors on the therecords.Rows.Add( New Object (), theDataReader( "job code" ).ToString()) (I am using vb.net) not c# and how would I add mutipler col. I under stand this much but not how to add each value from my query therecords = New DataTable() therecords.Co ...Show All
Visual C# Strange null reference problem within enum?
Hi All, We've been having a strange problem. Recently we have seen null pointer exception coming out from our code. The exception trace is dead simple: Message: The run has errored with description: Object reference not set to an instance of an object. Object reference not set to an instance of an object. ------------------------- User: Source: mscorlib Server stack trace: at System.Collections.Hashtable.get_Item(Object key) at WGP.Adapter.IntToPrataEnum(String prataCode, String val) at WGP.Adapter.Curve.BuildCurves(Double[] date, Int32[] instrument, String[] currencies) ... Anyway what really strange is that the code in IntToPrataEnum method is dead simple and straight forward. As far as I can see, I couldn't find a single ...Show All
Visual Studio 2008 (Pre-release) [WCF-RC1] Custom ServiceAuthorizationManager override CheckAccess or CheckAccessCore?
I'm implementing a custom ServiceAuthorizationManager to test claims. It's not clear whether I should be overriding CheckAccess or CheckAccessCore. Documentation suggests to override CheckAccessCore, but the FederationSample BuyAuthorizationManager overrides CheckAccess. I understand that what I want to do could be achieved in either place, but I would like to know what is best practice Should CheckAccess be testing Authenthication, and CheckAccessCore be checking Authorization Pete According to a conversation I had with Gudge awhile back, you should be overriding CheckAccessCore. Whenever there are two methods like this you should override the "Core" version. ...Show All
.NET Development Emails sent incorrectly formatted with =0D=0A instead of line breaks
Hey everyone, I have a problem sending email to our users (email is being sent through SendMail on a Solaris box) The .Net Version 1.1 methods works correctly however using the .Net version 2.0 causes funny characters (line break) Here is an example of the email being sent ----boundary_0_447da158-165f-4e4f-b60a-c9f64960b326 content-type: multipart/alternative; boundary= --boundary_1_d760c034-668f-4ed2-a7ee-465a2b4c6db2 ----boundary_1_d760c034-668f-4ed2-a7ee-465a2b4c6db2 content-type: text /plain; charset=us-ascii content-transfer-encoding: quoted-printable =0D=0A =0D=0A Dear chris mckelt,=0D=0A =0D=0A Your request= for a password reset has been received and processed.=0D=0A =0D=0A= Your new password is Urn78714.=0D=0A = =0D ...Show All
Visual Studio 2008 (Pre-release) Public LINQ Chat with the C# Team (12/12/2006)
Please join us for an hour long public chat on LINQ to SQL and related technologies to be held Tuesday, Dec 12 at 1 PM Pacific time. Follow this link to see your local time for this chat. LINQ is a set of extensions to the .NET Framework that provides native C# language support for querying data. LINQ to SQL is a component of LINQ which allows access to data stored in relational databases. The C# team is actively designing and developing this technology; show up and join the LINQ to SQL team to participate in that process or just to get a better understanding of the technology! (Go to the chat room .) - Charlie Hi Charlie, Next time can you give more notice please For those of us outside of the US a couple of days ...Show All
Windows Forms Bind objectdatasource to xmlschema
I have a Dataset created from a xml schema (with the xsd tool). I would like to use this dataset as an objectdatasource for a gridview. The data will come from a xml file so I choose the readxml(string fileName) method for the select method (in the wizard). But the schema is not recognized so I can't edit the columns properly in the gridview. I think this is because the readxml method returns a XmlReadMode object instead of a strong typed datatable. Is there a workaroud for this Thank You ...Show All
Visual Studio Express Editions Installing database files during deployment
Visual Basic 2005: My application starts by loading a DataGridView table: Me.RxTableAdapter.Fill(Me.RxDataSet.Rx) When deploying my app, if the database is not present, it aborts with an error. But, if I install an empty database file in the deployment process, it will clobber the user's data if this installation is installing a new version of the program. This is definately a scenario that I've discussed with the developers and testers at Microsoft. The issue only comes into play if a couple of situations occur. 1. You make a change to the database schema 2. You add additional data into you database and deploy it. 3. You deployment is set to copy if newer or copy allways. I ...Show All
Visual C++ for-each statement help
I am building a Windows Forms application and it uses a configuration file to start; I would like a way to use the for-each statement to refer to all textboxes in my application for example; like: for each (TextBox ^TB in Form1) TB->Text = "etc"; This doesn't work at all and it points to Form1 as it is not a valid expression for this type of statement. Is there any way I can make it work You need to always iterate over the controls collection using Control ( the base type ). The base type does have the name property, so you can check the name of Ctrl against the name from your config file, THEN you can cast it to the type that you know it to be ( or check the type if you want to be ...Show All
