Tryst's Q&A profile
Visual Studio Team System Active Directory and NT4 mix
Hi, I would like to evaluate the trial edition of TFS, but reading through the installation instructions, it does not support running on an NT4 domain. At present, I have a 2003 server build to install the software on. Unfortunately, My area is stuck on an NT4 domain for the forseeable future, so I want to know what my options are. The following three options spring to mind, but are they workable/supported Note: I'm not a network specialist, so don't know vast amounts about AD / NT4 so some of what I suggest may be rubbish!! I could set the TFS machine up as a domain controller running Active Directory and have it's own domain for TFS, then set up a two way trust between that domain and the NT4 domain that controils the user ...Show All
.NET Development relationship between tables error
I get an error while using the dataset designer: I tried to change an already existing relationship between two tables in database on the dataset designer by enforcing cascade delete and update on their relationship. Then i fired delete on the parent table from creating the datatableadpater.delete(). It gave me error The DELETE statement conflicted with the REFERENCE constraint "FK_Products_Categories". The conflict occurred in database "Northwind", table "dbo.Products", column 'CategoryID'. The statement has been terminated. If we can't change any relationship, what is the use of giving relation option in the toolbox.Is it to create a new realtion between two tables and persist that in d ...Show All
.NET Development Can different datasets with different fieldnames be de-serialized into a class??
[ XmlRoot (ElementName = "P" )] public class P { private string _P1; private string _P2; [ XmlElement (ElementName = "P1" )] [ XmlElement (ElementName = "L1" )] public string P1 { get { return _P1; } set { _P1 = value ; } } [ XmlElement (ElementName = "P2" )] [ XmlElement (ElementName = "L2" )] public string P2 { get { return _P2; } set { _P2 = value ; } } } below is the xml: <P> <P1>text</P1> <P2>text</P2> </P> <P> <L1>text</L1> <L2>text</L2> </P> When I try to de-serialize the xml, it gives me " There was an error reflecting type ". What will be t ...Show All
.NET Development coarse exception granularity
I'm struggling with what I perceive to be a very coarse level of exception definition in the framework. Even though my example is related to a database, I think it's probably more appropriately asked here, since I think the issue is wider than ADO. If not, I'll repost in the appropriate forum. Doing the following, the same exception is thrown, though the error is actually two very distinct things. dim sSql as string = "" dim DS as DataSet dim adaptor as OleDbAdaptor = new OleDbAdaptor(sSql, dbConnection) adaptor.Fill(DS) throws System.Data.OleDb.OleDbException, with a message that says " Command text was not set for the command object." However, sSql = "select * from foo" where table foo d ...Show All
Visual Studio 2008 (Pre-release) getting the co-ordinates of any visual object
Hi, is is possible to get the current client co-ordinates of a WPF object in runtime, with out going for a hit-test. I just have the Name of this control with me, is it possible to get the rectangle area which it is acquiring.. Thanks and Regards brij The following method can calculate the bounding rectangle area allocated to a specified element: public static Rect CalculateBounds( FrameworkElement element, Window rootWindow) { GeneralTransform transform = element.TransformToAncestor(rootWindow); Point upperLeft = transform.Transform( new Point (0, 0)); Point lowerRight = transform.Transform( new Point (element.ActualWidth, element.ActualHeight)); return new ...Show All
Software Development for Windows Vista Workflow with id "xxxxxxxx" not found in state persistence store ???!!!
Hi friends: Please Help me !!! -_-|| I use WWF beta2, StateMachine Workflow When run WWF beta2, I use 2 databases, the name was WorkflowStore and WorkflowTracking, the string below is the connection strings to the 2 databases in web.config <add type="System.Workflow.Runtime.Hosting.SqlWorkflowPersistenceService,System.Workflow.Runtime, Version=3.0.00000.0, Culture=neutral,PublicKeyToken=31bf3856ad364e35" connectionString=" Data Source=ServerName ;Initial Catalog=WorkflowStore;User ID=sa;Password=MyPass;" LoadIntervalSeconds="2" UnloadOnIdle="true" /> <add type="System.Workflow.Runtime.Tracking.SqlTrackingService, System.Workflow.Runtime, Version=3.0.00000.0, Culture=neutral, PublicKeyToken=31bf3856a ...Show All
SQL Server Synchronization between stored procedure calls
How would I synchronize the stored procedure calls so that if one call of an stored procedure is amid doing some stuff, the another call to same SP will wait until first call is done. Is there any Mutex, Semaphore thing in SP I will appreciate inputs here ...Show All
Visual Studio Express Editions I can't Modified and delete Sql database file
hi i am using vb 2005 and have sql database file in my project. i can add new records but i can't delete or modified existing one. it gives me error exception. my sub is: Private Sub CustomersBindingNavigatorSaveItem_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CustomersBindingNavigatorSaveItem.Click Me .Validate() Me .CustomersBindingSource.EndEdit() Dim ModifiedRow As DBDataSet.CustomersDataTable = _ CType ( Me .DBDataSet.Customers.GetChanges(Data.DataRowState.Modified), DBDataSet.CustomersDataTable) Dim AddedRow As DBDataSet.CustomersDataTable = _ CType ( Me .DBDataSet.Customers.GetChanges(Data.DataRowState.Added), DBDataSet.CustomersDataTable) If Not M ...Show All
Windows Forms Unble to open more than one window w/ IE 6.0
I am having trouble with being able to open more than one Internet Explorer window. Whenever I click a link or launch a new browser window, the orginal browser window closes with out any warning or error message. I am left with viewing only the new browser window. Any assistance with how to fix this would be greatly appreciated. is this development related at all if so, can you post the code you are using if not, then the best place to ask the technical question is over at the appropriate IE communities/newsgroups: www.microsoft.com/communities Thanks ...Show All
.NET Development xml file load problem
XmlDocument newAnnDoc = new XmlDocument (); newAnnDoc.Load( "~/App_Data/Announcement.xml" ); i have a code like above but when i call my method it gives an error to me ;; like a couldnt find a file and vs. so it cant load file; why it can be ok thanks i solve my problem with; annDoc.Load( HttpContext .Current.Server.MapPath( "~/App_Code/Announcement.xml" )); ...Show All
Visual Studio Express Editions another variables in seperate forms question
ive got another 2 question about this "variables in seperate forms" ive already got some variables working across 3 forms (setup,game,endgame) but some are not working 1. this section was added to form game just after declorations just like with setup form Public Property gscore() As Integer Get Return Me .score End Get Set ( ByVal value As Integer ) Me .score = value End Set End Property then this to endgame Label1.Text = setup.name Label2.Text = Game.gscore when run label2 always shows 0 but label1 shows the name correctly despite game form shows 200 or whatever what have i missed 2. i put a bonus round in that "should" reset most variables other ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Texture alpha channel problem
Is there a way to apply 2 alpha textures to a single polygon (with one draw call) What I mean is: I have GUI interface in my application, where everything is a textured quad. When I render a sprite (textured quad that has its own alpha channel) inside a "window" I need to clip it to the window edges (irregular boundaries). I already use SCISSORTEST to make simple rectangular clipping possible, but would like to be able to do something similar to Macromedia Flash's mask object. Ideally I'd like to have two alpha channels that would have a cumulative effect, and probably two sets of u/v coordinates as well. What's the best way to do this -nagual This section from the documentation should help y ...Show All
Visual Studio Context Sensitive Help Isn't
Hi, I'm using VS 2005 8.0.50727.42 I am editing C/C++ code and highlight any function from the CLR. i.e. "remove" Intellisense correctly identifies the matching function declarations from stdio.h But if I press F1 I get directed to hundreds of pages of C#/Web development/SQL help. I really just want a "man page" for the function. I've tried disabling all the non-C/C++ options on the search page options but all the unrelated help is still shown. Any ideas on how to restrict help to only the CLR help pages Thanks, Steve Hi, Just an update. I wasn't able to find how to do a network install of MSDN, but after the local install with the config you describe above I do find the expec ...Show All
Smart Device Development Enabling num Lock programatically
I am writing a program for a PocketPC that has a built-in keyboard using eVC, and I was wondering if there was a way to activate the number/symbol lock key programatically As it is, the user has to push the orange key on the keyboard twice to enable the locking feature, I would prefer to be able to enable it in my program so all the user has to do is type the numbers. Thanks. Israel Brewster Computer Suport Tech Frontier Flying Service, Inc. 5245 Airport Industrial Wy Fairbanks, AK 99709 (907)450-7250x293 Israel Brewster wrote: Well, I think that has pretty much confirmed that whatever key the device is considering it to be, it's not the num lock key. ... Is there a command that will wait for ...Show All
Windows Forms Application Resizing Slooowwly
Hi, I've got an application that contains quite a few controls. For some reason it resizes very slowly and paints all different parts at different rates so you see elements being repositioned seperately which looks pretty bad. There are a few user controls overlayed but only one is set to visible at a time. I've made sure that there is nothing happening on the resize event using up processing power. It acts like it's just got too many controls to rezise at once, but it doesn't seem like it should be. Anyone experienced this ...Show All
