hafi23's Q&A profile
Visual Studio Team System Error 403 - Forbidden When Trying to Verify Operation After Restore
I've just been through the steps in the "How to: Move Your Team Foundation Server from One Hardware Configuration to Another" document to move my Team Foundation Server - Workgroup Edition from one machine to another machine. However, when I browse to http://localhost:8080/WorkItemTracking/v1.0/ClientService.asmx to verify operation, I get Error 403 - Forbidden - You are not authorized to view this page. In order to find out where the link above stopped working, I ran the procedure on another machine and periodically checked the link. The link gets broken after the command "tfsadminutil activateat newteamfoundationappliationtierservername" Note: This is a single server deployment moving to another single server dep ...Show All
SQL Server partition switch and non unique index
I have a table partitioned by month. There are no primary key. There is another table with the same structure that I use to load data for the current month. I can perform partition switch with no problem. I created non unique index on integer field in both tables. After this change partition switch does not work anymore. Here is an error that I am getting: 'ALTER TABLE SWITCH' statement failed. The table 'dbo.test' is partitioned while index 'IX_test' is not partitioned." Any help Hi Umachandar, I read the article. Seems I do everything correctly but still get the error... CREATE PARTITION FUNCTION [PF_Caldkey] ( int ) AS RANGE RIGHT ...Show All
SQL Server change chart color
Hello, Is it possible to specify color in more detail in the switch statement not "yellow" or "red" but I want to determine the colors by "RGB-values"... hope everyone understands my problem regards, Rhapsy hello, thank you for your answers. they are both helpful and that exactly what i'm loking for ... thanks, rhapsy ...Show All
Visual C# Publish C# project and encounter errors!!
Hi all, I try to publish a project I have created in Visual C# and I encounter a error that said : Error 2 The type or namespace name 'General' could not be found (are you missing a using directive or an assembly reference ) C:\Documents and Settings\Administrator\Desktop\C#\GeneralSetup.cs 24 9 I have a .dll that I already include in the project via adding reference. It compile fine. Where do I have to put the .dll to let Visual C# Studio recognize my project and let me publish it. Thanks in advance! Jason Hi, Sorry I haven't check this for a while, if you haven't figure it out, here is what I done. First of all, put all you .dll in the debug/bin folder to start with because whenever you want to add reference to i ...Show All
Visual Basic Hyperlinks in datagrid
Hi, Is there a way for VB 2005 to display hyperlinks in a datagrid view from an Access database I have an Access database that has one column set as Hyperlink as its Data type. These links just point to a web page on my server. When I placed the datagrid view of the table, the hyperlink column is displayed as regular text. AnonymousI, According to your problem, I suggest you to use the DataGridViewLinkColumn class. With the DataGridViewLinkColumn, you can display a column of cells that contain hyperlinks. This is useful for URL values in the data source or as an alternative to the button column for special behaviors such as opening a window with child records. Link columns are not generated automatic ...Show All
Visual Studio Express Editions Access to Input boxes on URL page
The overall objective is to enter account nos. or PINs in the target URL programmatically (or at least with some user navigation). I could have had a solution, at least with the user navigating to the input boxes, but this requires that I intercept the keystroke at the box. Unfortunately, the PreviewKey event for the browser doesn't permit the replacement of a character with anything (e.keycode is read-only). Any guidance on this is welcome. GordC GordC, The question can be turned into how to modify the certain part charaters in a URL, just related to input a string or the string substitution. However, when you open the TextBox with PreviewKey event, there is a set of characters that cannot be modified ...Show All
Visual FoxPro slipstream VFP 9 with SP1 ?
Anyone know how to slipstreaming Visual FoxPro 9 with current SP1 Since VFP 9.0 isn't part of VS 2005 (or any other version of Visual Studio) and the VFP 9.0 SP1 isn't part of the VS SP1, I doubt if this works. Historically MS hasn't provided this capability for VFP, and with SP2 for VFP 9.0 coming, I doubt if they'll provide one right now. Rick ...Show All
Windows Forms Trying to access another process from my Win Form
Hi, I am trying to access another process from my application. The problem is I am not able to activate this process and give tab sequences in it. This is the code I have written. What to do after this Please give suggestions. private void Form1_Load( object sender, System. EventArgs e) { Process myProc = Process .Start( "IExplore.exe" , "http://kshop/kshop/default.asp" ); int id = myProc.Id; Process .LeaveDebugMode(); Process p = Process .GetProcessById(id); // After this, how do I activate this process //SendKeys.SendWait("{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}"); //this command is not working } Hi, I found your article very useful. But ...Show All
.NET Development sharing a Distributed Transaction with a Windows Service
I have a work order system that I'm building. On occasion the work order impacts inventory. Inventory changes are done through a Windows service. I would like the work order data access 'Save' to begin, then request changes via the Windows Service (which is accessed via .NET Remoting). Obviously if the inventory process fails or the work order's Save process fails I'd like to roll both of them back. How can I start a distributed transaction in my work order process and pass it to the Windows Service on the server Thanks for the help. Trevor in .NET 2.0 you can wrap it all inside this: using (TransactionScope tx = new TransactionScope()) { // call the inventory service // call the Save meth ...Show All
SQL Server How to collapsible a column when the report was designed in table mode?
Hi folks, I'm trying to collapse a column on a report that's designed in table mode. I was trying to mimick what happens in a matrix where you have a column that has a '+' in it that makes toggles the visibility of a column to its immediate right (The reason I'm not using Matrix mode is I continually get "out of memory" errors on the report I'm generating.). When I select the column and mark visible to 'false' in the properties, it of course asks me for a TextBox. My problem is that I am unable to find a scenario where the textbox is "in the proper group". Is this something that's supported, and if so, I'd appreciate some pointers to lead me in the right direction. Thanks. I am having ...Show All
Visual Studio Tools for Office Word 2007 content control event sinking in VSTO
I am confused on whether (and if) Word 2007 Content Controls will be supported as a first class object in VSTO (similar to how Ranges and Bookmark objects are currently implemented using VSTO against Word 2003). For instance, I can create a Word 2003 template project in VSTO, and hook into the Bookmark events of the template using VSTO code. I am seeking similar functionality in Word 2007 using VSTO, but with Content Controls. At the moment, the only obvious way that I can find to access content control events is using VBA behind the Word template. (I am seeing other posts that refer to the use of "ThisDocument_ContentControlOnExit", but since VSTO SE currently supports Add-ins and not Template projects for Word 2007, I am ...Show All
Visual C# How to disable properties?
Hi, I have been doing a lot of research into this but still can not find an answer. I am trying to disable/enable property depend on the condition. Below is an example of what I am trying to do: class Testing { string apple; public string Apple { get { return this.apple; } set { this.apple = value; } } string table; public string Table { get { return this.table; } set { this.table = value; } } enum Item { fruit, thing } //method to disable property public void Disable(string x) { if (x == Item.fruit.ToString()) { //disable this.table, make it read only if possible //this is where I am stuck on } el ...Show All
Visual Studio Graphical editor for API XML?
Does anyone know of a decent editing tool that will let technical writers edit the XML files that are created from the compiler in a WYSIWYG-like environment before running them through Sandcastle to produce the final documentation Thanks. I've been playing with HelpStudio Lite and it is a good tool. However, as far as I can tell, you'd first need to transform the XML to HTML in order to edit it in HelpStudio Lite. At that point, you've lost any reasonable possibility of tracking changes to the API and the code comments by comparing a newly generated XML document with the original. I'll be interested to see details about how the content management system works. ...Show All
Windows Forms radio button in datagridview?
hi... how can i add radio buttons in datagridview cell Thank you. the following link would be useful http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnvs05/html/winf_radiobutton.asp ...Show All
Visual C++ how to build a Windows XP application???
I created a new Windows Application and am ready to compile and build so I can run on my XP PC. What are the instructions for this I need to know how to create the "install" and "uninstall". Thank you in advance. WCIS - Michelle From a previous post Peter Ritchie wrote: There's some really good walkthroughs in MSDN with regard to deployment: Deployment Walkthrough List . In particular, you'll probably find Walkthrough: Deploying a Windows-based Application the most applicable. With this walkthrough, you can obviously ignore the first step: creating a Windows application. ...Show All
