rguifarro's Q&A profile
SQL Server Problem with job history. sql server 2005
HI I found some issue with job history. My server name length is 32 charecters. and when we view the job history in sql management studio, some back ground script is running, there microsoft has defined servername as 30, due to this smaller definition for server server variable, i am getting error when i tried to view the job history. what wil be the solution for this issue thanks kiran Hi Kiran, Thanks for reporting this problem. Please file a bug using the following link https://connect.microsoft.com/SQLServer/Feedback . Workaround: Use the following stored procedure to get the job history exec msdb . dbo . sp_help_jobhistory @mode = 'FULL' Link for more help on the above stored pro ...Show All
Software Development for Windows Vista an error about "aspnetwfpageflowexample"
when i run aspnetwfpageflowexample,input some data,then click the button "page one",then raise an error . Exception Details: System.Workflow.ComponentModel.Compiler.WorkflowValidationFailedException: The workflow failed validation. Source Error: Line 114: wfprms.Add("InitialCommand", oe); Line 115: wfprms.Add("InitialParams", prms); Line 116: WorkflowInstance wi = wr.CreateWorkflow(Type.GetType(_config.Type),wfprms); Line 117: wi.Start(); Line 118: ManualWorkflowSchedulerService ss = wr.GetService<ManualWorkflowSchedulerService>(); just Put a try catch block around the call to CreateWorkflow, catch WorkflowValidationFailedException and look at ...Show All
Visual Studio 2008 (Pre-release) TreeViewItem width to fit control & transformation
Hi! 1)Is there any way to set TreeViewItem width in such way that they fit eaxactly all free space in the TreeView. (smth like items in listbox) I cannot manually set it in code because treeview width is defined automatically. 2) How can i apply transformations only to the treeview item and not to its child elemwnts (All effects are applied at node expansion, i tried to set RenderTransform of child elements to null but it didn't help) Or maybe i can perform all transformations before node is expanded but just after + button is clicked but i didn't find necessery event Thank you i do RotateTransform and ScaleTransform on TreeviewItem. P.S. Please dont be angry. But that stuff with width of tvi doesn't work ...Show All
SQL Server Management Studio Solution user-defined project folders?
When you create a Solution/Project in Management Studio, it creates 3 folders for you - Connections, Queries, Miscellaneous. It does not appear that there exists the ability to create your own set of folders, either under the project or any of the 3 provided folders. Does anyone know of a way to do this If you are working on a project that has hundreds, perhaps thousands of stored procedures, views, etc., there currently seems to be no way to organize them. If this is true, this is an incredible MS oversight! Thanks! I would hope so! Since Mgmt Studio is based upon the Visual Studio shell, it doesn't seem like it would be that hard. In fact, I would think they would have ha ...Show All
Visual C# detecting close button of browser in C#
Hi all, i am developing an application in which i want to perform certain action when user clicks on the close(X ) button of the web browser. Please anyone help me out to resolve this issue.Any tutorials or sample application would also be helpful. Regards. hey farshad, this is my launch Browser function that I copied from my friend. public void LaunchBrowser() { Process browserProcess = new Process(); browserProcess.StartInfo.UseShellExecute = true; browserProcess.StartInfo.FileName = loginStr; browserProcess.Disposed; browserProcess.Start(); } I need a method to detect whether or not the browserProcess has been closed...any ideas thanks, tonyD ...Show All
.NET Development xslCompileTransform - Parameter problem passing attribute
I have a sample application that I have simplified the xslt and xml file down to where I am having the problem. The original sample came from a .net 1.0 c# example that I converted to vb and had working using xsltransform. I then converted the app to .net 2.0 and changed the code to use xslcompiledtransform because the xsltransform class was deprecated. Since the change to 2.0 something about the parameter is not work. Either the parameter is not passing correctly or being tested in the xslt file correctly. I do not get any errors. The result string contains my table, row and cell. The cell should contain the Page Title and does not. Here is my simplified xslt file: test.xslt < xml version="1.0" encoding=&quo ...Show All
Visual Studio Team System What are the implications of removing values from a GlobalList?
We have some GlobalLists used to populate dropdowns on our customized Work Item forms. The contents of the lists are composed of data migrated from ClearQuest (as are most of the work items themselves) and they really need some rationalizing due to misnamings and duplications. What would the implication of removing items from the GlobalLists be I'm guessing that the following would be true: If the relevant fields are marked as AllowExistingValue then closed work items would look fine when viewed (no error messages relating to values not existing in dropdowns) Open work items would need to have a valid value chosen from the dropdown before saving could occur I would like some contribution to this before I ruin our developmen ...Show All
SQL Server SQL 2005 Standard won't accept remote connections - followed all FAQs but options aren't available
Hi, SQL Server 2005 isn't accepting any connection other than SQL Management Studio from the local machine. However, even that's exhibiting strange behavior (please see below for more details). I've read through all the common errors regarding enabling remote connections via the SAC tool, making sure protocols are enabled, etc. This case seems to be completely outside. Any advice appreciated. Thanks, Elias [1] Client side: What is the connection string in you app or DSN N/A. Can't connect via any remote method, including client Control Panel > ODBC > create DSN, SQL Server Enterprise Manager, third party application. If client fails to connect, what is the client error messages Several, depending on method: "server d ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNAInvaders
My first release of XNAInvaders is available. Its currently binary only (source will be released when its a bit more completed). Anyway more details and download can be found here. Will be interested in any comments/feedback Cheers Andy XNAInvaders has been updated - very nearly at first release (which will be source release). Only the Game Over screen left to do. For more details and download link see the line in the first post. ...Show All
Smart Device Development Installed custom Windows CE 5.0 device SDK does not show up in Visual Studio 2005
I am trying to build a native C++ application using Visual Studio 2005 Service Pack 1 for a custom Windows CE 5.0 device. I installed the SDK for our device on a machine running Windows XP. But the installed SDK does not show up in the 'Installed SDKs' list in Visual Studio 2005. Would anybody have any ideas as to what could be going wrong I would greatly appreciate your advice. Thanks for the response. I did follow the instructions in the video. But when I install the custom CE 5.0 device SDK, I do not see it in Visual Studio 2005. I would appreciate more suggestions, please. Thank you very much. ...Show All
Visual Studio Express Editions how to build a web browser in build flash player like opera
hi pls respond me quickly i also like how can we add tab at run time that is allowing the user to view more pages in web browser hi Bruno Yu - MSFT , as i doing a project in web browser so I need it and can suggest me the code for the flash player ...Show All
Visual C# How to store a password?
I need to build a program that will require a password to open. This program will be something like storing other secret information. So now the problem is how to store the password that is required to open the program I can encrypt and store the password in a file and check if the password is set or not each time the program starts, and ask for the password if the password is set. But then if someone deletes or edits the password file, then I'll get into the problem of program not asking for the password or the password mismatch. So can anyone suggest me the better and secure way to store the master password required to open the program IS there any professional level solution to this I mean the method that is used by the commercial softw ...Show All
Visual Studio Express Editions printing tabs in a text file
I am building an application that compares 2 text file and displays the lines that are different. I have it to the point when it displays the lines with the tabs seperating the different fields but when I print the file, ( I am saving the comparison to a text file) the tabs seperating the fields go away and it's hard to read. How do I get the tabs to print I am new at this so if you could keep it simple. I'm using the TextWrite.WriteLine command. The line is: tw.WriteLine(file2Line); I have tried this also, it's suppose to retain white space: tw.WriteLine(@file2Line); ...Show All
Visual Studio Team System Field.IsEditable is not showing as editable for the Title/Description type.
Hello, We want to get all the editable fields from a particular work item. When we iterate over the fields and use the Field.IsEditable property, for Title and Description it returns FALSE. We are using the standard Agile project template for our Task type. When we query the FieldDefinition.IsEditable is returns TRUE, however, for many fields this returns true on fields that shouldn't be editable. (Such as CreatedDate, etc.) How can we really determine if a particular field (on a specific work item) is editable or not Thanks, ~Joe Dennis, I'll try this and let you know how if it fixes it. I had tried .PartialOpen() previously, but that didn't work. What kind of performance hit does calling ...Show All
Visual Studio Team System Unshelving question
Hi, when I perform unshelving operation, items are not automatically added to the solution. Is that the way it is meant to be If yes, why this choise Thanks That's it, I didn't included project file, because of risks of conflicts. I'd expect unshelved files to be automatically added to my project, that's the intuitive way I was awaiting for. Thanks, your help really appreciated ...Show All
