Jay Jetley's Q&A profile
Visual Studio Team System Help with the Custom Checkin Policy Example from the Extensibility Kit
Hey! I'm running TFS Beta3 Refresh,and using the latest version of the extensibility kit. I am not able to see my custom policy, when I try and add it to the Check in Policy page. I see the three that are installed with it, but I do not see mine. My assembly is called MyExtensibilityClass.dll, and is located at c:\policies. In the registry, I have added a string to the Checkin Polices key. The string name is MyExtensibilityClass and the data for the string is c:\policies\MyExtensibilityClass.dll. But my policy is still not showing up where i can add it. can anyone give me some words of wisdo ...Show All
.NET Development ADSI IsApplicationPool.EnumAppsInPool and System.DirectoryServices
How can I use the ADSI IsApplicationPool class from C# code, what lib do I need to reference Or can I do everything through System.DirectoryServices. I'm trying to use the .NET System.DirectoryServices to manipulate my IIS websites. I've been trying to disypher the ms docs but have gotten lost around the use if ADSI, IsApplicationPool.EnumAppsInPool (ADSI). How can I use the this method/class from C# code I want to list all websites on the IIS and maybe get their properties, I think I need to use the ADSI api, correct me if I am wrong. msdn is missing the C# example code it promises! ...Show All
Visual Studio Team System Two different ID's seems to see the same set of workspaces
I have 2 different ID's (one is my TFS admin account, say id1, another is my regular user ID, say id2). For some reasons, I got the following: (1) Under id2, all the workspaces show up in vs.net are those in id1. Why (2) Under id2, when I try to add a new workspace, the "add workspace" panel defaults the owner to id1, but the account I currently log in is id2. What happens (3) I override the owner with id2 in the "add workspace" panel and go ahead finish the panel. After I click "ok", the new workspace does not show up in the selection list. (4) When I try to create another workspace with the same ma ...Show All
Visual Studio 2008 (Pre-release) Simple databinding question
I'm trying to set up some simple databinding with the January CTP and I'm having some trouble. Here's my code: <Window x:Class="BlahBlah.Window1" xmlns="http://schemas.microsoft.com/winfx/avalon/2005" xmlns:x="http://schemas.microsoft.com/winfx/xaml/2005" Title="RssAggregator" Height="800" Width="600" Loaded="loaded"> <Grid Name="mainGrid" DataContext="{x:Null}"> <Grid.ColumnDefinitions> <ColumnDefinition Width="0.75*" /> <ColumnDefinition Width="*" /> <ColumnDefinition Width ...Show All
Visual Studio Team System VPC Foundation Server installed images - When?
At TechEd, DVD's with VPC images of Foundation Server (well, everything in Team System) installed were being passed out. This saves headaches for both end-users and MSFT (who have to answer all the install related issues) The question for the rest of us is: when would this be available for download from MSDN Thanks, I find it very annoying to try to enable alerts in a thread, and not being able cause of the shortage of MSN Alerts. I think, it's about time something to be done about it... George J. ...Show All
.NET Development Data controls gone in studio 2005
I'm a recent convert to visual studio and I was just getting used to the 2003 environment when the office upgraded to 2005. Now I can't find the connection objects in the data toolbox. I found it very handy to drop a sqlDataAdapter and a sqlConnection on a form and use them as my starting point to connect to a database. Now with 2005 the objects don't appear in the toolbox. Am I missing a component somewhere or have they been removed I can still access these objects programmatically but I'm not as proficient with them that way. also look at this: Whats new in Data: ms-help://MS.VSCC.v80/MS.MSDN.v80/MS. ...Show All
Visual Studio Tools for Office Removing host controls thrown an error HRESULT E_FAIL
Hi, We are on VSTO Customizations for Word 2003. We binded the XML Schema to the word document. For some of the XML Tags, inside the XML Tag we need to show attributes of it which should be read only. For that we inserted a Label control like this, Label attributeLabel ; Word.Range bookRange; attributeLabel = new Label (); bookRange=XMLNode.Range; attributeLabel = this .Controls.AddLabel(bookRange, 50, 10, String .Concat("AttributeLabelName", UNDERSCORE, Convert .ToString(attributeLabelCount, provider))); // set the properties for the label When user comes out of that tag, we are removing the con ...Show All
Visual Studio Team System tf.exe error message coloring
When tf.exe (beta 3 refresh version) displays an error message the text is colored in yellow on black. My command prompt windows usually have black text on white background. Is it possible to let tf. exe display all output without changing the color, e.g. via an environment variable You can change or turn off the coloring by changing the settings in tf.exe.config (in the same location as tf.exe). Here is the list of display settings. Display.FallbackWidth Display.DisableColors Display.ErrorBackground Display.ErrorForeground Display.InfoBackground Display.InfoForeground You can turn off colori ...Show All
SQL Server SQL 2000 - Replication Error 2812
Windows Server 2003 SQL Server 2000 on both servers Attempting to configure replication from server A to Server B using publishing configuration wizard. Using Enterprise Manager and we received error 2812: Could not find stored Procedure 'msdb.dbo.sp_add_jobstep_internal'. Following the analysis of general Microsoft help which pointed to a user/rights problem I used the Query Analyser, login with 'sa' and executed sp_adddistributor . I basicly received the same error. I also executed sp_help looking for the specifice procedure - not found. Is it possible the sp is really not there. All help is appreciated. Thanks, ...Show All
Visual C++ Processing video from a webcam
Hi, I wrote oone app that captures video from a webcam (it's the one in Mark Pesce's book of DirectShow). It works perfectly but it only records around 7-8 seconds. I want to make this modifications but I don't know how so I ask you to help me: 1. I want the app not to stop recording at 8 seconds, I want me to stop it when I want. 2. I don't want sound. The app shows a window with the video it is recording and writes it into a file. I want it to filter those frames with another kind of filter (a Sobel one for example). 3. In order to make this I think I have to connect the output file of the Smart Tee Filter (Capture or Preview, ...Show All
Visual Studio Team System Accessing work item history from API
How do I access the work item history from the API I want to traverse the history of the work item by entry if possible. If it is not possible, a string with all the history will help too. Thanks Hello You can fetch the work item of a particular revision from Work Item Store and then access the History Field to get the History. A sample code is here: WorkItem wi1 = WIStore.GetWorkItem(wi.Id); wi1.Open(); wi1.Title = testTitle + "Random Text"; wi1.Description = testDesc + "Random Text"; wi1.History = "Random Text"; int revisionNumber = wi1.Revision; wi1 ...Show All
Windows Forms Config file
I'm downloading the <app>.exe.config file manually because I need to do remoting back to the server. Using href deployment. Is it possible to load the new location of the config file into the AppDomain.CurrentDomain.SetupInformation.ConfigurationFile ...Show All
SQL Server Arithabort side affects
i recently needed to add an index to a computed column. I know its risky and that the side affects can be quite a pain (the cursorlocation on an adodb recordset setting caught me out for a start!) but i am struggling with scheduled jobs. Stored procedures that are called from my applications have either been altered to have the required quoted_identifier and/or arithabort settings changed to comply with the new index, or tha app itself calls the set statement on the connection object just prior to the call to the sproc and this seems to work OK, but any sheduled job that references the table will not execute, even a one line exe ...Show All
.NET Development Communication Application server
Hi all, I need to develope a communication layer between a windows application and industry field device. The windows application will read and write values from the device. I want to ask how to develope an application server of the layer that servise the windows application. The windows application will be the client and the server read and write the values. Please help. Best regards... Thanks Gorti, I understood your idea, you didn't take the writing issue into account. I mean how to write data at the same time we reading. Maybe I want to chande certain data on the PLC. Do you have a ...Show All
.NET Development Retrieving an Access table' structure
Anyone could help me in figuring out how to programmatically understand the structure of an Access table I mean, given a DB connection and the name of a table, how to determine: - the name of the fields of that table - the type of the fields - any eventually relationship between the fields of this table with others in the DB Thanks a lot, Davide The DATA_TYPE values correspond to the System.Data.OleDb.OleDbType enumerated constants. You can view these in the Object Browser. ...Show All
