codingIntern's Q&A profile
Visual Studio Team System How to get test result through code.
Hi, I have created several Unit tests to test my connector application. I create an xml test result file through code. I want to capture individual Unit test results (Pass or failed) in some variable so that I can populate the Test Result column of my XML file. Can I get the result in MyTestCleanup() method or is there any other work around possible Regards, Huzefa ...Show All
SQL Server Performance Vs length of the data
Using varchar we can define upto 8000 bytes as a length. Suppose i am defining one column upto the maximum size of varchar type and i am not storing not more than 100 charaters per row. what is the performance and storage differences Books Online might have an answer to your question (storage): http://msdn2.microsoft.com/en-us/library/ms176089(SQL.90).aspx There are also general topics about using var ...Show All
Software Development for Windows Vista WINDOWS VISTA connection BUGS...
Vista "SUCKS" i can't connect to the internet... I reinstalled Vista 2ice and no dice... The fist time i downgraged windows back to media center and worked like a charm then Vista on top.. again... NO Dice dowgraded to windows pro and connection works like a charm again. back do vista then i entered all ips manually no luck... i didnt fell like reinstalling windows again so i went into linux in order to go on the internet and to find a solution. ...Show All
Visual Studio 2008 (Pre-release) DLink: Need more docs about loading of EntitySets.
Let's see on Northwind Customer <-> Order relation and DLink entity classes generated by SQLMetal. Helper code for printing Order id: static void WriteOrders ( IEnumerable < Order > orders ){ foreach ( Order order in orders ) Console . Write ( "#{0} " , order . OrderID ); Console . WriteLine (); } First code example: static void Main ( string [] args ) { ...Show All
.NET Development Xml Serialization breaks OO encapsulation?
Only public fields / properties are xml-serializable, as I tested and searched on web. What happens if I have a class containing read-only properties, or internal states (private fields) that are not public Do I have to compromise the encapsulation concept in order to get it serialized Blair Allen Stark wrote: XML is just a simple data interchange for passing the public data an object presents back and forth. Almost by definition ...Show All
.NET Development Adding Webservices VS2005 beta2 problem
well at least this gave me a bit more info... Error: There was an error processing 'http://sj-barsoap:8080/jboss-net/services/BaanDataRetrieval wsdl'. - The document at the url http://sj-barsoap:8080/jboss-net/services/BaanDataRetrieval wsdl was not recognized as a known document type. The error message from each known type may help you fix the problem: - Report from 'system.web.services.discovery.discoverydocumentreference' is 'Discove ...Show All
SQL Server Preview a Report in Design Mode (VS 2005)
I am working with SQL Server Reporting Services and Visual Studio .Net 2005 Beta 2. In VS 2003 you could preview a report in design mode by clicking on the preview tab. There is no such tab in 2005 Beta 2. Does anyone know how to preview a report in design mode Thanks. When you are using the Report Controls in local mode (embedded), there is no preview since your application is responsibl ...Show All
Windows Forms interactive winForm
Hi all, I need to build an interactive winForm. In many application I see a special effects with the form and it's controls, e.g, winForm with round corners, circular buttons and many other effects. Can you help me please how to build that, or give me some links to learn about this topic. Best regards... Here is the technique with a commercial product: Translucent Calculator using Vector Graphics ...Show All
.NET Development How do you find a "First Chance Exception" recorded in Debug Output
I am getting the following line "A first chance exception of type 'System.ArgumentException' occurred in mscorlib.dll" in my debug output I do not know what is causing it (break points on every try/catch I could think of didn't provide any hints). The program runs and performs as expected How do you go about finding out what is causing these There is a rather lot of them occuring, and I'd rather not have them if possible ...Show All
Visual Studio Display string function not working
So I'm using VB.net and Crystal Report viewier to display a report. On the report I have display string codes to interpret numbers as text. But when I run my program all it shows is the numbers within the viewer itself. How do I make it so it processess the display string function even in crystal report viewer. I am setting up the connection information in vb itself. Thanks Hey thanks for the reply. Example, one of the field I have, ...Show All
Software Development for Windows Vista Problems creating the interop library for managed Exchange sinks
Hi there. I followed the instructions on [1]: - Downloaded the sample distribution from [2] - (Since I didn't own Visual Studio) Installed the current MS Windows Platform SDK - Installed .NET 2.0, SDK - Entered the Interop directory, run <platformSDKdir>\SetEnv.cmd and nmake - Got this: C:\Programme\Exchange SDK\ManagedSinksWP\Interop>nmake Microsoft (R) Program Maintenance Utility Version 7.00.8882 Copyright (C) Microsoft C ...Show All
Visual Studio Team System Project Creation Failure - "No user identity info returned from GSS"
Okay, so Microsoft has targeted Team Foundation Server sales at medium to large businesses. I work at one of these businesses. Does Microsoft know that it may be positioning itself to NOT be targeting TFS at many of these enterprise businesses I feel a simple fix suggested below could fix this problem. Independent contractors more increasingly work for larger businesses and some of these larger busin ...Show All
Smart Device Development infrared!
Hi. I want to be able to send data (hex codes or whatever) using the infrared ports. I have imported the System.Net.Irda reference and able to access the IR classes. However, I do not wish to connect to a device but rather send data. The device I am sending data to will be a dumb device really, just as a "reciever"... this can be a remote control recieving box or a TV IR reciever for example. IS it possible to do this how I cannot seem to find a ...Show All
.NET Development Multiple BackGroundWorkers?
Hi to All, I am using a BackGroundWorker for a function with a long execution time. But on regular periods I would like to receive some information, preferably an update of a textBox. Since it processes the files from some folder, I 've put it in a for loop, but that didn't work. Has anyone an idea on how to do it Snippits of the code are shown below. Kind regards, Nele private void btnProcessDocuments_Click( object sende ...Show All
.NET Development Displaying a 'properties property' in a column of a datagridview
I am using the BindingSource and DataGridView to display data from a list of business objects. The business object exposes several properties, one of which is another custom class, instead of just showing the fully qualified class name in that column, i'd like it to display one of the properties of the custom class. I have tried setting the datapropertyname to "MyBusinessObject.MyProperty" but that doesn't display anything. Any help apprec ...Show All
