pogsjaranilla's Q&A profile
Visual Studio Team System What does TestID mean? How to get this information?
Hi all, When I create a bug, there is a field under Test tab named "ID". What does it mean In the bug.xml file, I find it is "FieldName="Microsoft.VSTS.Test.TestId". Can I know a test case's TestID before I run it It sounds a test case's attribute, but I cannot find its value in a test case's property. I know if I create a bug it will automatically have a TestID valut inputted in the bug. But if I do not create a bug from a failed test case but manually, how could i know the TestID Anybody helps me out Thanks, Leon Hi Leon, Scenario: When people run an existent test case and find a ...Show All
SQL Server Problem with nested try catch blocks in SQL 2005
hi All, Code: begin try begin transaction trans1 //some transaction begin try begin transaction trans2 //some transaction //Raise Error //commit transaction trans2 end try begin catch //Raise error end catch //some transaction //commit transaction trans1 end try begin catch //Rollback trans1 end catch] In the above code when an error is raised in the transaction trans2 the immediate catch is not invoked where as the outer catch is being invoked. I dont know y . Can anybody help. Thanx ...Show All
Windows Forms background process
hi, can i create an application that runs in the background continously(such as Norton Antivirus in system tray) and starts automatically when the computer is booted Varun Hi Varun, You sure can. Create a Windows Service application. If you're using VS.NET it is one of the default project types for both VB.NET and C#. You'll have to do some t ...Show All
SQL Server Generate scripts only for stored procedures and views?
Hello, I have two environments, testing and developing, sometimes on developing environment I make chagnes to views or stored procedures, the first time I copied the whole database, but when the tester began to test the second cycle I made the same and he losed the changes, the tables wont change, but the views and sps may change, so I need an easy way to change those objects without having to copy all the database I tried but the generate scrips task but I didnt see an option to script only views and procedures. What version of SQL Server are you using I'm using SQL Server 2005 Express, and when I go through the script ...Show All
Visual C++ System.MissingMethodException
I'm getting a System.MissingMethodException when calling a method in a dll that I wrote from exe that I wrote. Other methods in the dll work well and when I check it with ILDasm the method is there. The method has the signature bool MyMethod(IMyInterface1^ m1, IMyInterface2^% m2) Any clues Allan Hi Allan, Could you please post more details Try to post a small complete stand alone sample reproducing the issue so that folks on the forum can help you. Thanks, Ayman Shoukry VC++ Team ...Show All
.NET Development Arraylist + XML
Hello, everybody! I have big problem: I have informaton from two different xml files. I get specified node by using GetElementsByTagName( "appName" ); I will then put this information in arraylist: arraylistA, arraylistB. Then I compare the arraylist to find the difference. And the deference is also in an arraylist. MY QUESTION IS HOW DO I IDENTIFED ALL THE ANOTHER NODES IN THAT ARRAYLIST: Example: <appsTable xmlns=" http://tempuri.org/apps.xsd "> <application> <appName>Microsoft Office Professional Edition 2003</appName> <appInstallCmd>c:\WINDOWS\system32\MsiExec. ...Show All
Visual Studio Team System TFS Version Control workspace structure
hi Is there any API or Sample to get folders and files in project I try to write a small program working as Source Control Explorer, but I can only list the project under workspace. Here is my test program tfs = TeamFoundationServerFactory.GetServer(); versionControl = (VersionControlServer)tfs.GetService(typeof(VersionControlServer)); Workspace workspace = versionControl.GetWorkspace("Administrator", versionControl.AuthenticatedUser); foreach (TeamProject teamProject in versionControl.GetAllTeamProjects(true) ) { treeView1.Nodes.Add(teamProject.Name); treeView1.Sort(); } ...Show All
Visual Studio Team System Publish trx file to a SQL Server Report
Hi I have a bunch of trx files and I have set up the SQL server where the loadtest database is with reporting services. I want others to be able to view the results that tdoes not have VSTS test edition installed. I know you can convert the trx files to reports if you have a team foundation server. Is there a way to do this with out team foundation server thanks This is not possible "out of the box" -- you are free to parse the XML format of the TRX files and manipulate the data yourself into the TFS. However, this is significant work. I would highly recommend evalu ...Show All
.NET Development Data insertion in MS Access database Using vb.net
I have connected my simple MS access database to vb.net 2003 web form although i am able to read data from database but on insertion ,deletion ,updation it gives me error must use updatable query its a oledb error when using Activex data component it gives error data base is readonly but database is not readonly. thanx Did you check this KB article: http://support.microsoft.com/kb/q175168/ If it does not solve your problem, can you provide more information about your connection and database ...Show All
Visual C++ VS2005 unnecessary build for project
In a solution, a particular project appears to Build for no reason which I can discover when I choose Build. Is there any way to determine why the IDE Builds a project, in other words why it is deciding that it needs to actually do anything when one chooses to Build Can a makefile be generated from within the IDE for a project or is there any way to get the IDE to show something which will lead me to discover why it is Building In this project the IDE will actually compile the source files, not just do the link, when it appears to be totally unnecessary. This does not happen all the time but intermittently. If I can understand what it is fin ...Show All
SQL Server SQL 2005 “LEFT OUTER JOIN” ISSUE
In our C++ application, we call ODBC apis to execute following SQL statement. It did work for SQL Server 7.0 and SQL server 2000. When we upgrade to SQL server 2005( and SQLNCLI.dll), it does not work any more without any error report, it just returns empty result. The sql statement is: SELECT FM_WEB_DETAIL.TASK_GUID, FM_WEB_DETAIL.SEQ_NO, FM_WEB_DETAIL.DATA_DEF_ITEM_GUID, FM_WEB_DETAIL.LABEL, FM_WEB_DETAIL.WEB_PART, FM ...Show All
Visual Basic Read delimited text file
Hi, Is there a way that I can read from certain lines, say, from line 3000 to line 3500 rather than reading from the beginning of the file or by using ReadToEnd Thanks. There is no way to find out where a line is without reading it. So, any API that could have been exposed to jump to a line was just going to read up to it anyhow. ...Show All
Windows Forms managing large amount of controls...
Hi, My app has a very large amount of controls, is there a better way to manage those controls, to get better results on performance, flexibility, etc I am thinking of using xml to describe those controls and load these xml files on runtime, giving me more flexibility. Do you think it is a good idea, does it take to much initialization time Any ad ...Show All
Visual Studio Capturing the events regarding switching between code /design view
Hi again I have defined a custom Design view for my own Xml files, as in the VS SDK sample SampleDocViewEditor for Addin files. This sample provides immediate sinchronization between the 2 views thru the text buffers, but I want a solution similar to the VS Forms Designer, where synchronization (view drawing /code generation) happens when the views get focus or the tabs are selected. I tried to capture focus events on the design view with no success, althou I know this is not the best solution (kind of a Form.Activate event would be better, but I have no forms, only Controls on my views) How can I do this using the VS integration in the best ...Show All
Windows Forms NDoc Issues
I'm using VBCommenter to generate XML documentation in my source files. I'm using NDoc to generate the help file. When I generate my help files, some classes aren't documented. There are 38 total classes in my VS.NET project and 16 aren't being documented correctly. They are listed, but are blank. It's as if NDoc sees the class but not the  ...Show All
