DavidAWinter's Q&A profile
Visual Studio Team System Adding a second Build Machine
I'm attempting to add a second build machine into our TFS environment. I'm looking for a best practice on team project files. Currently, our build machine has a single 'C:' drive and our team project is configured with: < BuildMachine > CurrentBuildMachine </ BuildMachine > < BuildDirectoryPath > C:\Build </ BuildDirectoryPath > The new machine is more of a server, and has a small 'C:' drive, and a large & fast 'F:' drive. So, I've added: < BuildMachine > NewBuildMachine </ BuildMachine > to the team project file. But, now when I go to request a Team Build. the build directory defaults to the 'C:' drive. How can I add a new build machine, and have the build direct ...Show All
Internet Explorer Development IE7 Layer transpanecy
Does any one know why layer transparency stopped working in IE7, and or when it might be fix/pached. I had been using the function below to set transparencies for IE 5.5, IE6.0, Gecko based browsers, and Oprea. But since IE7 it has stopped working. I have not found any thing on MSDN about the IE DOM not supporting the alpha/opacity atribute any more. Does any one have any details about this function setTransparency(layerItem, opacityValue) { // // Validate layer object // if ( layerItem == null ) { return; } if ( layerItem.style == null ) { return; } // // Set transparency for the IE DOM // pageItem.style.filter = "alpha(opacity=" +opacityValue+ ")" ; // // Set tr ...Show All
SQL Server Derived Column
I have two columns made up of 4 digits numbers eg col1 1234, col2 9876 I want to create a derived column so i get a eight digit column, eg col3 12349876 I cannot seem to get the expression right, I seem to be always adding the value which i do not want, can someone help me out with the expression Thanks Robbie Phil Brammer wrote: Rafael Salas wrote: I may be wrong...but that expression will keep leading zeros for col2 only...what if you want to keep the leading zeros of col1 You'll lose them. That's why I like using the right() function. Thanks Phil for confirming that. It is good to know I am not crazy ...Show All
Smart Device Development How to make MapiRule on Smart phone 2005 ?
Hi All, I badly need your help on this topic. I want to capture sms on Smart phone 2005 ( WM 5.0). There is a smaple sdk app MapiRule. But its just not working. When I send sms with text "zzz" it just not start MapriRul. It displays the sms in SP 2005's native Inbox. Can anyone please guid me on how to make "MapiRule" on WM 2005 smart phone. Thanks and Regards, Supriya Have you looked at this article http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnnetcomp/html/ReceivingSMSMessages.asp IMailRuleClient interface docs http://msdn.microsoft.com/library/default.asp url=/library/en-us/mobilesdk5/html/mob5lrfimailruleclient.asp Go thru the HowTo articles in http://msdn.micr ...Show All
.NET Development Announcing .NET Framework 3.0
Just found this on MSDN: Announcing .NET Framework 3.0 Senior Vice President Eric Rudder announced the unveiling of the final release of the .NET Framework 3.0 at a recent keynote at TechEd: Developers conference in Barcelona, Spain. Download the new release today. Here is the direct link to the download page. http://www.microsoft.com/downloads/details.aspx FamilyId=10CC340B-F857-4A14-83F5-25634C3BF043&displaylang=en One more thing, you can download the entire redist package to use on your local network from the download page. Here are the direct links: Full Redist package x86: http://go.microsoft.com/fwlink/ LinkId=70848 Full Redist package x64: http://go.microsoft.com/fwlink/ LinkId=70849 Let u ...Show All
Visual C# using an Observer Design Pattern with a reference property
Hi, I was wondering if anyone who has used the Observer Design Pattern with a container of observers knows how to notify when there was a change to a Reference type Property's property. I have searched all over online, but all I can find is when the Property is of a Value Type. For example, check out my "TODO's" in the following code below: class Wheel { private double _diameter; private double _width; public double Diameter { get { return _diameter; } set { _diameter = value; // TO DO: How do I say that ...Show All
Visual Basic Code example to determine if a column exists in a table or not?
Hi, I'm having a lilttle difficultiy in finding a code example that will determine if a column exists in an existing table or not. This will allow my application to be a little dynamic and process differently depending on whether the field exists or not. The tools I am using is an Access database and using VB.Net 2003 and OLEDb for the interface if that helps a little more. Any assistance will be greatly appreciated!! TIA Hi, the following code will add a column to the table if it doesn't exist there yet: If table.Columns.IndexOf( "Location" ) < 0 Then table.Columns.Add( "Location" ) End If Andrej ...Show All
SQL Server Error in an SQL Script
USE master GO IF EXISTS(SELECT * FROM sysdatabases WHERE name = 'Products') DROP DATABASE Products GO CREATE DATABASE Products ON (NAME=Product, FILENAME = ‘C:\APPS\Products.mdf’, SIZE=10 ) GO USE Products GO CREATE TABLE Categories ( catid VARCHAR(10) NOT NULL, name VARCHAR(50) NOT NULL, [desc] VARCHAR(MAX) NOT NULL, PRIMARY KEY(catid) ) GO CREATE TABLE Products ( productid VARCHAR(10) NOT NULL, catid VARCHAR(10) NOT NULL, name VARCHAR(50) NOT NULL, shorttext VARCHAR(MAX) NOT NULL, longtext VARCHAR(MAX) NOT NULL, price MONEY NOT NULL, thumbnail VARCHAR(40) NOT NULL, image VARCHAR(40) NOT NULL, PRIMARY KEY(productid), FOREIGN KEY(catid) REFERENCES Categories(catid) ) GO CREATE TABLE FeaturedProducts ( productid VARCHAR(10) NOT NULL, featu ...Show All
Audio and Video Development Multiplexing??
Hi Folks I've been a Scenarist author for sometime and now want to jump into HD-DVD authoring. Was wondering where to find a third party multiplexing tools once the programming is done Thanks - I'm sure this is the first of many posts here! Eric Are the Toshiba System and the Sonic Scenarist the only available multiplexing tools for HD DVD type2 I can’t imagin that this kind of multiplexing is much more complex than for standard DVD. But maybe I’m wrong. ...Show All
Windows Forms datagrid view
i have a form with one datagrid view. And i inheritted the another form from that from. But in the inheritted form i cannot edit the datagrid view, all the roperties is looks readonly. So i changed the modifier to protectd friend ,public etc.. But its not working. But for other controls like list view and all i can edit in the inheritted form by just changing the modifier property . How can i edit the datagrid view Its by design. Please check the below link. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=152918&SiteID=1 ...Show All
.NET Development Filling a ComboBox with DataSet filed contents
Hi, I have a app in VB 2005 Express and want to fill a ComboBox with the contents of a Field in a DataSet. I'll give an example: If my DataSet have one Field called FirstRow, I want to fill the combo with the contents form this field but for all the rows in the DataSet. When I want to show the item in the combo thet corresponds to the DataSet row contents, I should use the FindExactString Method, right Can this be done in other way Thanks, Pedro well this can be done. Example, lets see we already have a dataset full of data. we need to bind it! Me.theComboBox.DataSource = theDataSet.Tables(0).DefaultView Me.theComboBox.DisplayMember = " FieldNameHere " and thats it! ...Show All
Windows Forms DataGridView - How do I STOP sorting it?
Hi, I have a DataGridView that I sort using the DataGridView.Sort(myColumn, ListSortDirection.Ascending) method. How do I tell the DataGridView to STOP sorting I'm trying to stop it from automatically sorting (moving) new rows as they are added. I want new rows to stay at the bottom of the DataGridView until the user has finished editing, then I want the DataGridView to sort again. I'm using VS2005 Beta 2. Many thanks. Ben S. Unfortunately it doesn't work in this case. The SortMode property only controls if the column is sortable by the user clicking on the column header, not the programmer setting the DataGridView.Sort method behind the scenes. Thanks for your time and your sugge ...Show All
Visual C# How can I "dribble" this problem? :P
Hi ! Me again... I'm doing something like this: while(true) { SerialPort.Write(my_string); Threading.Thread.Sleep(50); } But, after some minutes happend this error: "Make sure you do not have an infinite loop or infinite recursion." Exception datail : System.StackOverflowException was unhandled Ok... i knows that I'm doing a infinite loop, and I want... What I need to do for this message not apper again Hug, Joao Mello Hi, you must be calling a function that is directly or indirectly calling itself which is going into a stackoverflow. What else are you doing inside the while loop Mark. ...Show All
SQL Server RAISERROR in CLR Routines
When I use the following code to execute a RAISERROR from within a CLR Routine (Stored Procedure), and I call this CLR stored procedure from T-SQL within a TRY/CATCH block, the error is not caught in the CATCH block. Why is this happening try { SqlContext .Pipe.ExecuteAndSend(cmd); } catch { } When you say the error is not caught in the catch block - what do you mean with that, or rather how can you say that the error is not caught in the catch block as the catch block is empty If you - for example - where to execute a proc from SQL Management Studio (SSMS) whose command was something like so: RAISERROR('Something went wrong', 16, 1), you should see in SSMS something like this: &q ...Show All
Windows Live Developer Forums FireFox bug in V3
I tried my VE v3 app in FireFox and I got the following error: Error: [Exception... "'Msn.Drawing.Exception: Your Web browser does not support SVG or VML. Some graphics features may not function properly.' when calling method: [nsIOnReadystatechangeHandler::handleEvent]" nsresult: "0x8057001c (NS_ERROR_XPC_JS_THREW_JS_OBJECT)" location: "<unknown>" data: no] Any help is appreciated. I just tried my app in FireFox and it works very nicely. Are you treating Firefox as an uplevel browser (Assuming you are using .NET) ...Show All
