stig brembo's Q&A profile
.NET Development how do i validate and deserialise xml?
I want to use the XmlSerializer to deserialize an xml data file to an object. As part of this process, I want to validate the xml data against a schema to avoid errors. My solution was to use a XmlValidatingReader to load the xml file into an XmlDocument object and validate against the schema. If the data is valid, the XmlDocument data is passed to the XmlSerializer. It works but there a simpler way Thanks Jason ...Show All
Visual Basic Open Excel, SQL Connect, & create Pivot Table
Based on a form created in VB2005, I am trying to write the code to open an instance of Excel, run a connection to a sqlserver database, execute a sql select statment to extract a few fileds, drop the result set into a worksheet and create a blank pivot table from which a user may explore the information. Does anyone have an example VB code that they might share that does this type of control of Excel I just can't seem to get the right declar ...Show All
SQL Server How to stop discovery from adomd.net connection
I am using MSAS 2005 with ADOMD.NET 8.0 with .NET 1.1 I observed whenver we execute any query it does discovery of meta data. The meta data is part of resultset that is returned to the client. You can see this part of XML that is returned to client. <root xmlns=\"urn:schemas-microsoft-com:xml-analysis:mddataset\" xmlns:xsi=\" http://www.w3.org/2001/XMLSchema-instance\ " xmlns:xsd=\" http://www.w3.org/2001/XMLSch ...Show All
Visual Studio Alter a Section Width
Hi, Is it possible to change the width of the Section in crystal reports. in the property of a section the width is a readonly. how can i change that. Thanx in advance. Regards Amjath The width of a section is usually determined by the paper size. To change the paper size of the report: right-click on a blank section on the report select Design Select printer Setup... and change either your paper ...Show All
Visual Studio Team System Important Information
Hi, Im trying to create my own custom rules... logic looks very simple but there is not enough information specially about the namespace Microsoft.Cci Where can I find more information about the types of Microsoft.Cci Or where can I find information about how to start developing my own custom rules We are evaluating FxCop to apply in the white box quality assurance process in the biggest bank in Ecuador ( Banco del Pichincha www.to ...Show All
Visual Studio Team System WebTest with Team Build?
Is it possible to run WebTests with Team Build I'm using Beta 3 Refresh and I couldn't manage it to work, no matter what I do the test always fail under Team Build (it runs perfect when using Test Manager). I'm getting the error: Results Top Level Tests ------- --------------- Failed (FullTests/)c:\fullbuild\projeto apresentacao\fullbuild\sources\classlibteste\testproject\webtest1.webtest Run has the following issue(s): F:\Program Fi ...Show All
Visual C++ msvcr80.dll Problem
Hi there, can someone possibly tell me why Noton WinDoctor is telling me that 10 executables in the .NET Framework 2.0 cannot access the necessary dll file msvcr80.dll I see that the dll exists in the WinSxS directory and I'm running XP pro. I didn't have this problem until I downloaded the 2.0 framework at windows update. Any advice appreciated. Thanks. Naolin I am having the same problem... I even uninstalled i ...Show All
Visual C++ Why is strdup() deprecated in VS 2005?
< hyslopc@discussions.microsoft.com > wrote in message news:9a93850c-505b-48c3-bd60-44625db8bbc6_WBRev2_@discussions..microsoft.com ... This post has been edited either by the author or a moderator in the Microsoft Forums: http://forums.microsoft.com You may not care about it, but I do. I don't want to disable the warning because I think the concerns with most of the deprecated functi ...Show All
SQL Server Difference Between Physical IOs and Read-Ahead
Hello ... I was running a table scan query on a 650MB table w/ 1 million rows. With statistics IO and time I noticed that I was able to get the following numbers on SQL Server 2005 (note this was the Sept CTP): Logical IOs: 76,931 Physical IOs: 0 Read-Ahead: 58,321 CPU Time: 1212 ms Clock Time: 42946 ms So, in looking at the above I'm not seeing any physical IOs, but a lot of "read-ahead" IOs. If I understand it ...Show All
Windows Forms Number by "," separater in maskedtextbox.
Hello~ I wrote the mask "#,###,###" in the maskedtextbox. 1. And then, I wrote the value "12345". I want to display "12,345". But, it is displayed "1,234,5". 2. Before I key in the value, it's displayed "_, ...Show All
Visual Basic Validating within a User Class
I need to populate a container with an indeterminate number of label/textbox pairs for input. Since it is indeterminate at design time, I thought I'd create a user class with both a label and at text box in a pair so I could create them at run time and populate the labels appropriately from a data file. I need to validate each text box for numeric value. Then, I need to use that value to build up a subtotal on the form...sort of like this: ...Show All
Windows Forms Visual Studio .NET 2003
When I open Visual Studio .NET 2003, the list of recent projects that is listed shows an incorrect modified date. The date shown is the date the project is created. As I work on the projects day by day, the date does not change. It worked& ...Show All
Visual C# Microkernel implementation in C#, Can I do it????
I study informatic system engineering at Universidad Latina de Costa Rica, One of my projects in the class "Operating System" is to implement an microkernel, I want to know if it is posible to implement an microkernel in c#, and how dificult would it be, if you have any recomendation I will appreciate it Thanks a lot Jean philippe Boucher Hi Jean, The link rbelow should provide answers to your ...Show All
Visual Studio Team System help with wiqlQuery
Hi All, I am learning wiqlQuery but I have an urgent requirement to get the following info: Finding SUM(Completed Hours) for a person between a date range for all projects( or a given project) Actually we want to derive the utilization of a resource..... Please help me with the query, its urgent Unfortunately this version of WIQL does not support aggregate functions like sum, avg, etc. Thanks, Alex ...Show All
.NET Development MSXML Core Changes in Srv. 2003 SP1
Upon deployment of SP1 onto some Server 2003 servers, I noticed DTD handling changed. I'm now required to have the DTD in the same directory as my executables rather than the XML file I'm reading in (two different directories). Does anyone have documentation proving this change I failed to find a reference to this in the SP1 changes and fear it is yet another behind-the-curtain change from Microsoft. ...Show All
