Lord_MiL's Q&A profile
Visual Studio Team System TestContext.AddResultFile
Hi, What is the intent of TextContext.AddResultFile() do The help file just lists out the method at this point. I thought it would let me override the result file location, but that wasn't the case. Is this a result file that I can add and then populate with additional log information by calling TestContext.WriteLine Thanks. Lets say my test generates 3 files. I add them to the TestContext and the test fails for some reason. Now I want to see the contents of those 3 files, but there is no list, and no link to these files anywhere within the test-details page, nor anywhere else in the VS-UI. It would ...Show All
Visual Studio Team System Is it looping the number of record counts times for the table as a DataSource for unit test?.
While I’m studying “Unit Test” by using VSTS2005, I got some questions below. 1. This indicates two parameters using DataSource like AddTest Method in Code below. When I test this method, I expect this to run only once but it is looping the number of record counts times for the table. I need to know the reason why this could happen. 2. In “Unit Test,” can I use “Add Data Source” Wizard like Web Test 3. If I use DataSource in TestMethod, when this DataSouce can be closed <TestMethod()> _ <Dat ...Show All
Visual C# datagrid view real NOOB
Hi i never used the datagrid. As i see in this forum and others the datagrind has most questions but il put a simple one How to fill a column from a datagrid view Hope is easy, and i would apriciate a good tutorial (BTW forgive my english) Thanks!! Im not sure what your question is exactly. Are you wanting to know how to fill a datagrid or a datagridview More or less both are very similiar so i hope this helps. First you must fill a DataTable with the information of what you have. I will programmitically create a table, put some data in there and bind it to a datagrid, hoping that this will give your your answer. // Create Tab ...Show All
Windows Forms Hide the properties of a parent class ?
Hi, I've got a class which inherit from TreeNode. In this derived class, I provide a few properties to show in a propertygrid. But it also displays the properties of TreeNode. And I'd like to avoid that. Is it possible And if so, how (any link to tutorial, documentation or help is welcomed ^^) Give a new implementation of the propery by using the new keyword and then say [Browsable(false)] ...Show All
Visual Studio Team System TFSDeleteProject Doesn't Remove Project From Source Control
I ran the TFSDeleteProject. This appears to finish succesfully. The only thing that isn't deleted is the Project in Source Control. I selected the 'show deleted items' in my VS2005 and can see the deleted files under the Source Control project. Is there a way to totally remove the project from Source Control We want to re-create the Team Project with the same name we used before, but it can't because of the existing Project in Source Control. I see many entries in the Forum that had this same problem, but they were using the beta version. We are using the TFS released version, not the Beta. Is there a way to do this yet In vers ...Show All
Windows Forms Menus, buttons and shortcut keys
I have an application with a Main menu and I have set up short cut keys (assigned a shortcut and showshortcut is true). I have created a user control that contains buttons that I have assigned a short cut key by adding the & in the button text. If I use the mouse to select the menu item and call the user control, t ...Show All
Visual Studio Express Editions C# Express Edition Installation...
I installed .Net Framework 2.0 first and then when I installed C# 2005 Express Edition (using a CD with C# Installation), I got the following error message. Can anyone please help Error 1308. Source File not found C:\Document and Settings\..\Local Settings\Temp\SIT18204.tmp\eula.1033.txt and another message for the file customtext.1033.DLL in the same folder. Thanks. Hi, Is this still an issue If so could you send me the logs from %temp%. The logs I need are 1. dd_vsinstall80.txt 2. VSMsiLog ****.txt Please zip the logs and then send it as the MSI logs is ...Show All
SQL Server XML Import into SQL Server 2000
Hi I have a table in a SQL 2000 database which has a field of type ntext. This field stores XML strings like the one below. I have to strip the data out of each string and insert it into a table. Following is an example of what the string looks like: <Update xmlns=" http://website.com/ "> <inputDs> <xs:schema id="1q2e" xmlns="" xmlns:xs=" http://website " xmlns:msdata="value"> <xs:element name="12312" msdata:IsDataSet="true" msdata:Locale="en-ZA"> <xs:complexType> <xs:choice maxOccurs="unbounded"> &nb ...Show All
Visual C++ error LNK2019: unresolved external symbol -- Why???
I am trying simple static linking with VS Express 2005 (C++). I have headers and source for a very simple sample static library and source of a very simple sample executable using that library. ---------------------------- Static Library Header Sample: ---------------------------- //returner.h #ifndef _RET_ #define _RET_ #ifdef _LIB #define DECLSPEC __declspec(dllexport) #else #define DECLSPEC __declspec(dllimport) #endif int DECLSPEC returner(); #endif ---------------------------- Static Library Source Sample: ---------------------------- //returner.cpp #include "..\\returner\\returner.h" int DECLSPEC returner() { return 1; } ...Show All
Visual FoxPro createobject("mappoint.application)
VFP (9.0) I am experimenting with mappoint for a stevedoring company. I am having problems with the Createobject("mappoint.application") When I execute the code I get the error message ‘Class definition MAPPOINT.APPLICATION is not found.” When I search the registry for MAPPOINT.APPLICATION I find nothing In the registry I see all kind of references to MapPoint but nothing to Mappoint.Application the way I see it for VFP, or EXCEL Mappoint.AddressActions Mappoint.AddressActions.9 Mappoint.Control Mappoint.Control.11 Mappoint.GeoHeadingActions Mappoint.GeoHeadingActions.9 Mappoint.GeoHeading ...Show All
Visual Studio Express Editions Vb Express 2005 How do I select a paper tray and/or select a paper size
I would like to print an envelope. How do I select the manual feed tray and envelope size I have a new post that may or may not be useful. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=543293&SiteID=1 ...Show All
SQL Server Transfer logins from sql2000 to sql2005
Hi, I'm trying to transfer my logins from 2000 to 2005 (last CTP) and recieve error: [Transfer Logins Task] Error: Execution failed with the following error: "Cannot apply value null to property Login: Value cannot be null..". Any one I assume you solved this problem by now, or it went away with RTM code. Please reply back if that's not true. Paul ...Show All
Visual C# Sine
Hello, The sine of 2*Pi = 0 but this peace of code: Math .Sin(2 * Math .PI) gives: -2,44921270764475E-16 What is here wrong, DIII Hi DIII, The number -2,44921270764475E-16 in decimal format is equal to -0.0000000000000002449212707645, which for all practical purposes is zero. You can test the same by using following code class SinTest { public static void Main() { Console .WriteLine( Convert .ToDouble( Math .Sin(2 * Convert .ToDouble( Math .PI)))); Console .WriteLine( Convert .ToDecimal( Math .Sin(2* Convert .ToDouble( Math .PI)))); } } ...Show All
Visual Basic Wizards in VS2005?
Does vs2005 come with a wizard that will create form/report using tables/views specified by us Not a single wizard but a combination of the Data Source Configuration wizard and the Data Sources window. Use the Data Source Configuration Wizard to create a data source with the tables/views/etc... that you select. After creating the data source it will show up in the Data Sources window. Drag items from the Data Sources window onto your form to create data-bound controls. This walkthrough shows you how to do this: Walkthrough: Creating a Simple Data Application http://msdn2.microsoft.com/library/ms171884(en-US,VS.80).as ...Show All
Visual Studio Help, uninstalling beta 2
i uninstalled vs2005 beta2, but unfortunately in the wrong order. now, the device emulator 1.0 beta 2 installed, but it is stuck. I can't uninstall it because it asks for an msi file. this file is on the beta 2 dvd, which I don't have anymore. could someone send me this msi file its in the \vs\arm folder on the beta 2 dvd thanks Try running msiinv.exe to get the product code. Then run msiexec /x {product code} That should remove it. You can get msiinv.exe from my blog: http://blogs.msdn.com/quanto/archive/2005/06/30/434388.aspx ...Show All
