antmx's Q&A profile
Visual Studio Team System Executing Web Tests without MSTest.exe
Could anyone tell me how to run a code library containing coded WebTests (Classes derriving from the WebTest class) without the use of MSTest.exe I have got as far as reading the vsmdi file, creating an instance of each test and iterating through each WebTestRequest in it, I just do not know how to perform the Request, obtain the response and validate it. The majority of the logic is already in the WebTestRequest class so I can't see that it wo ...Show All
Visual Studio 2008 (Pre-release) Editing XAML - am I missing something ?
I have the latest release, AFAIK, and Cider is useless - I cannot type into the XAML editor, and using the drag and drop is a waste of time. Expression is a ton better ( read, it can be used ), but is missing the most basic features ( how about search, let alone search and replace, or auto indent of XML, or even being able to use TAB to indent a section of XAML ). I realise it's pre-release, but surely the code for those common features is trivi ...Show All
SQL Server Registering assembly in SQL Server 2005
Hi, I have created a C# stored procedure that has a typed dataset (XSD). When I try register that assembly in SQL Server 2005, I am getting the following error. CREATE ASSEMBLY failed because method "add_InvoiceDTRowChanging" on type "InvoiceDTDataTable" in external_access assembly "SS.StoredProc" has a synchronized attribute. Explicit synchronization is not allowed in external_access assemblies. (Microsoft SQL Server, Error: 6213) ...Show All
Visual Basic password in access
Hi! Happy new year to all VB Guru out there my previous query was solved in a couple of days, I am stuck again, i am doing a project with access has a database and VB 6.0 has a front end. I want my database to be password protect i.e if any dblclick access file it must ask for a password. Can i link a password protect access file to VB if tried but error like worksheet file not found was thrown, can any VB GuRu out there let me kno ...Show All
.NET Development cannot access SQL database in VS.
I have a databse in SQL Server 2005 Sept Beta 2. On another partition I have Visual Studio 8. I want to establish a connection between the two. Doing it programmatically in a C# code program fails.The connection string does not give me an error on debug. Doing it via GUI in VS fails on the account of "timeout failed..." I tried to copy the whole database from SQL Server directory into VS directory - the same result. Amazingly, I was able to con ...Show All
.NET Development Reading XML document in treeview (C# winform)
I have the following xml source file: < xml version="1.0" encoding="utf-8" > <course id="2555" title="Developing Microsoft .NET Applications for Windows (Visual C# .NET)" length="5 days" source=" http://www.microsoft.com/learning/syllabi/en - us/2555Afinal.mspx"> <module id="1" title="Introducing Windows Forms" location="D:\Disk-C\Documents and Settings\orit_itzhar.ATRICA\My Documents\XML\c#"> <les ...Show All
.NET Development Active Directory & ASP.NET 2 Integration
Hi, Sorry if this is the wrong forum. I couldn't find a specific asp.net category. I'd like to integrate my asp.net intranet authenication with my active directory. Is there such a way to do so, so that users do not have to fill in a login form to the intranet when they are logged on to the network (i.e. there credentials are automatically passed or they are treated as the username they are logged on as) but they do have to fill in the fo ...Show All
Visual Studio Team System VSTS Version Control and Phantom Items
Has anyone else seen this happen A few of my fellow developers have run into what I've called "Phantom Items" in the VSTS Version Control System. Basically, what I mean by this is items that appear in the pending check-ins dialog but that are [no longer] part of the VS solution. When they appear, there seems to be no way to get rid of them short of directly going to the VSTS Version Control window and manually manipulating the repository fil ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Griffin PowerMate Knobs and DirectInput
Hi, So I purchased one of these PowerMate knobs: http://www.griffintechnology.com/products/powermate/ And of course, I thought I'd try and program against it using DirectInput. I've done the following: - enumerated device objects - get/set various properites for those objects (although the defaults are fine) - even set my own data format (even tho joystick works fine) - successfully acquired the device and retrieved input The button works fi ...Show All
Windows Forms ListBox And DataGridView
Can someone tell me how put the items from a listBox into a DataGridView Use the following code snippet // create a table DataTable dt=new DataTable(); // add column for which data to be inserted dt.Columns.Add("First Column"); // add rows to the table by getting the values from the listview for (int i = 0; i < this.listBox1.Items.Count; i++) { dt.Rows.Add(this.listBox1.I ...Show All
Visual Studio Team System Backing up Team System Foundation server items
Is there any document that describe how and what are all the items that needs to be backed up for the Team System foundation server Now that TFS Beta 3 has a Go-Live license and they support migration to the RTM coming out in Q1 2006, we want to migrate the source control into this TFS Beta and start putting them into our backup process. Thanks, Krishna We have some internal documents for this (all the TFS dat ...Show All
Visual Studio Team System Team project still exists in TFSWarehouse database after TFSDeleteProject.exe has run
I have removed an entire team project by running TFSDeleteProject but the project still exists in the TFSWarehouse database. Is there a way I can delete the projects from the database Thanks, Jay Have you tried running TFSDeleteProject with the /force option This should clean up traces of partially created projects. Hope this helps- Adam ...Show All
Windows Forms double click on datagrid row
Hi, can anybody tell me how to capture the double click event in a datagrid. What i want to do is when user double click on any cell a row in the datagrid, a new form pop out showing the details of that particular row use fo ...Show All
.NET Development MySQL Database, Security Exception
I am building a my first VB.NET website using a MySQL Database. Offline everything works fine. Online i get an error message: " Security Exception Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file. Exception Details: System.Securi ...Show All
Visual Studio Team System Property for CoreDropBuild target
How can I find the property for the path that <target> CoreDropBuild uses to copy my binaries to I want to write this property to a file so I my older automation can read it in and now the path to where our binaries are being copied to. I tried to look for Microsoft.TeamFoundation.Build.targets but the path to MSBuildExtensionsPath \Microsoft\VisualStudio\v8.0\TeamBuild\ didn't seem to apply to my machine. Would the property I'm l ...Show All
