A step by step tutorial teaching you how to create your own chat client and chat server easily in C#, for local networks or the Internet.
A C# tutorial showing you how to make use of WMI to extract information on disk drives, such as model, capacity, sectors and serial number.
This tutorial will teach you how to calculate the shipping cost based on the weight, height, length and depth of the box, the distance and the UPS service type.
Creating a Rich Text Editor using JavaScript is easier to do than you might think, thanks to the support of modern browsers; this tutorial will walk you through it.
In XML schema generation from a WordML document, VSTO 2005 VSTO creates 6 files (general naming pattern): XML.XSD ... XML5.XSD. For our file names we use a special syntax for additional information...
| On Tuesday, October 27th 2009 at 07:01 AM by Anonymous | No Replies |
I have a class named Config that I would like to serialize to XML using XmlSerializer. That class has a couple of string properties that may contain special characters like , &, etc. I am currently...
| On Thursday, October 15th 2009 at 11:31 AM by Anonymous | No Replies |
I need to generate C# classes from some existing .xsd files and one of the resulting classes unfortunately has a member called "System". This breaks things further down in the same class where it...
| On Thursday, October 8th 2009 at 12:43 PM by Anonymous | No Replies |
hi, Microsoft is very famous spreadsheet application which provides multiple works at a time like calculation, graphing tools, pivot tables, chart and more arithmetic formulas. But whenever our documents...
| On Wednesday, May 20th 2009 at 08:48 AM by mariarita | No Replies |
well, big for us anyway... 2 developers, 1 year. I am looking for general good approaches for handling this. Given VS 2008, a collection of some old legacy code, and 2 man years we need to build...
| On Saturday, May 9th 2009 at 08:55 AM by Anonymous | 3 Replies |
signed sres details recent frequency events 103
| On Wednesday, May 6th 2009 at 08:52 AM by group | No Replies |
Hi, I am using MSXML in my device driver for sending XML commands to the device acting as server. This device is connected to my local network. How do I specify the url for POST method in the...
| On Tuesday, April 28th 2009 at 02:50 AM by Anonymous | 1 Reply |
Hi all in ng, If you send the string representation of the outerxml of an xmldocument from a .NET 2.0 COM Interop DLL to a calling classic ASP page, why is it you lose the formatting when you create...
| On Saturday, April 25th 2009 at 10:52 AM by Joe Van Meer | No Replies |
Hello, Is it possible to set a default property for all controls on a form? I have a Window, on it a Grid, and on the Grid a variety of controls. Using Style, I can set the Font for a control...
| On Friday, April 24th 2009 at 01:44 PM by Number8 | No Replies |
Hi, Our device driver is supposed to communicate with the device, connected on network, over HTTP port. The device accepts commands in XML format and sends back XML response. From the driver...
| On Wednesday, April 22nd 2009 at 10:58 AM by Anonymous | 1 Reply |
Hello, I am trying to dynamically load a document in Infopath 2007. I would like to capture the FormEvents_Loading event and load the data from the database. The aim is to replace the maindatasource...
| On Wednesday, April 22nd 2009 at 10:50 AM by Anonymous | 1 Reply |
All, New to VB 2008, I'd like to learn how I can load a tree view from an xml file linked to the form load event. simpler the better so I can understand the process. Not positive I generated the...
| On Sunday, March 8th 2009 at 03:31 PM by jcoon | No Replies |
Hello! I have a problem with loading several svg files. I use the XmlReader for performance, but in the files there's a !DOCTYPE definintion and when the reader hits that element it seems to stall...
| On Monday, March 2nd 2009 at 07:35 AM by mortb | No Replies |
Hi, Is it possible to sort an xmlDocument into a random order and if so how would one do this? My xmlDocument is stored in cache and is bound to a gridview. I cant take the data and store in...
| On Wednesday, February 25th 2009 at 01:40 PM by Anonymous | 2 Replies |
Hi; We need a good icon that stands for "XML datasource." Is there anything out there in common use for that? thanks - dave david@at-at-at@windward.dot.dot.net Windward Reports -- http://www...
| On Monday, February 23rd 2009 at 11:03 PM by David | 1 Reply |
Ok, I'm reading data from a stream using a StreamReader. The data inside the stream is not xml, it could be anything. Based on the input StreamReader I'm writing to an output stream using an XmlTextWriter...
| On Friday, February 13th 2009 at 02:05 AM by Jeremy | No Replies |
hello, I am new to Linq I have: XElement newTables = new XElement("tables",null); I then add new elements to it: newTables.Add(new XElement("table", new XAttribute("Name...
| On Monday, February 2nd 2009 at 05:43 AM by Anonymous | 2 Replies |
Hello , I'm looking in my sample xml for the sample node where both entities (id and name) are set, in the sample output it is possible that name entity can be empty, id is allways given. sample...
| On Wednesday, January 21st 2009 at 04:36 AM by Volker | No Replies |
Hi All, I am using XmlTextWriter to write CDATA section using following code: XmlTextWriter xtw = new XmlTextWriter(Console.Out); xtw.WriteStartElement("data"); xtw.WriteCData("UNSAFE SCRIPT DATA...
| On Saturday, January 17th 2009 at 11:49 AM by Pramod | No Replies |
Hi All, Need help with this. Here is my xml 5000-1FE1-0015-4660 5000-1FE1-5005-CAE0...
| On Tuesday, January 13th 2009 at 11:57 AM by Dan | No Replies |
Liquid Technologies Ltd (http://www.liquid-technologies.com) is pleased to announce the latest release of its free graphical XML development environment, Liquid XML Studio 2009. Liquid XML Studio...
| On Tuesday, January 6th 2009 at 09:47 AM by announcements@liquid-technologies.com | No Replies |
hi, I would like to make an XmlWriter write directly into an XmlDocument rather than writing it to a stream and then having to load it into a document. in the documentation for XmlWriter it rather...
| On Monday, November 24th 2008 at 12:49 PM by Andy Fish | No Replies |
Hi, I have a DataSet defined in Visual Studio 2008 with an XSD file. The contents are saved to an XML file using DataTable.WriteXml() and read back using DataTable.ReadXml(). Now I am going...
| On Saturday, November 1st 2008 at 08:24 AM by Phil Jollans | 1 Reply |
Hi I am struggling to navigate an XElement and I'm not sure what is going wrong. Here's my XML via vb's xml literals Dim l_testSchema = _...
| On Thursday, October 30th 2008 at 10:22 AM by Simon | No Replies |
I can successfully do the following: xdocument doc = xdocument.load(... my file); xelement bla = doc.descendants.("it").first(); .... do stuff ... doc.save("myfile"); the above works great....
| On Monday, October 6th 2008 at 09:54 PM by Tom | 1 Reply |
I???m trying to pull up a NodeList of all the Grant elements in the AccessControlList element of the xml document displayed below. However I???m not getting the list using the following code:...
| On Monday, October 6th 2008 at 05:10 PM by Anonymous | 2 Replies |
Hi I've got a xml file and xsd with only one namespace - xmlns:media="http://search.yahoo.com/mrss". When I'm getting the rss feed for example from Youtube there're also others namespaces such as...
| On Monday, September 29th 2008 at 10:55 AM by Konrad | No Replies |
Hi, I am using .Net 2.0 to run an XSLT process. It basically takes a word XML document at it's input, plus a separate XML file opened using the document() function and applies changes to the word...
| On Wednesday, September 17th 2008 at 10:39 AM by Andy Fish | 1 Reply |
hi @all, I'm trying to validate a XML against a schema using the example from the MSDN: http://msdn.microsoft.com/en-us/library/system.xml.xmlreadersettings.validationtype.aspx In my case this...
| On Thursday, September 4th 2008 at 10:13 AM by Stefan | 1 Reply |
I have created a subclass of xmlReader and was passing that in to XPathDocument and using that XPathDocument instance in my xslCompiledTransform transform() method. Something about my reader causes...
| On Tuesday, September 2nd 2008 at 08:34 AM by Anonymous | 3 Replies |
i'm trying to create a .xsd file to validate the XML below(just a small snippet). i've tried a number of things and can come close, but i can't quite get it to do what i want. i'm able to validate...
| On Sunday, August 24th 2008 at 11:14 PM by forest | 4 Replies |
OK, so I've created and loaded an XMLDocument object. But how do I go about using it? Specifically, how do I: 1) move to the first node (I assume I start on it when I load the XML?) 2) move to the...
| On Sunday, August 24th 2008 at 05:14 PM by Anonymous | 1 Reply |
I have written folowing code for xml validation but it is not giving any errors for missing fields. Even if the XML is in wrong format no error is thrown. Here is the code... Public Function...
| On Friday, August 22nd 2008 at 03:05 PM by saudamini | 1 Reply |
Is there a way to access the PSVI value of xs:token types using C# (.NET Framework 2.0)? This issue has been around for some time (see http://lists.xml.org/archives/xml-dev/200310/msg00382.html...
| On Thursday, August 21st 2008 at 02:21 AM by Anonymous | 4 Replies |
Iam trying to read in sxw files and generate a preview for it. The problem now is that the file "content.xml" seem to contain a DTD. I do not want to process this DTD because this is a separate file...
| On Monday, August 11th 2008 at 03:20 PM by cody | 1 Reply |
Hi all. This is a rather long posting but I have some questions concerning the usage of character entities in XML documents and PCI security compliance. The company I work for is using a third...
| On Thursday, August 7th 2008 at 06:52 PM by tempest@ucla.edu | 4 Replies |
I use the following code to create the XML from a class object Dim serialize As New System.Xml.Serialization.XmlSerializer(GetType(XYZObject)) serialize.Serialize(obWtiter, obObject...
| On Thursday, August 7th 2008 at 06:00 PM by Samuel | 2 Replies |
I'm still feeling my way around XML parsing and have an app that uses XML reader and works fine as long as the XML is pretty but doesn't find all the elements when the XML is all on a single line...
| On Monday, July 28th 2008 at 09:09 AM by Kevin Vogler | No Replies |
Here's my XML: tabs\Justin.tab tabs\Julie.tab *****There could be 1 of these or 100....quantity can change***** All I need to do is load "Network" and "c:\tabs" into variables....
| On Saturday, July 26th 2008 at 03:24 AM by Justin | 2 Replies |
my code is the following: the Read() method positions the cursor on the tag (verified with debugger). XmlReaderSettings s = new XmlReaderSettings(); s.IgnoreComments = true; s.IgnoreWhitespace...
| On Wednesday, July 23rd 2008 at 02:53 PM by cody | 1 Reply |
I am not accustomed to creating xml files programmatically. The big picture is this: This will be in VB/VS 2005/ winforms. I have a DTD, a sample XML, and an outside data source I will use to populate...
| On Monday, June 30th 2008 at 04:45 PM by Anonymous | No Replies |
The following is what I have : XmlWriterSettings xmlSettings = new XmlWriterSettings(); xmlSettings.Indent = true; xmlSettings.IndentChars = " "; xmlSettings.Encoding = System.Text.Encoding.UTF8...
| On Thursday, June 26th 2008 at 10:49 AM by Phil Hunt | No Replies |
I've created some c# classes from Xsds. The classes have namespace attributes in the XmlRootAttributes. Accordingly, they will NOT deserialize with the XmlSerializer unless the same namespace...
| On Tuesday, June 24th 2008 at 05:17 AM by Anonymous | 1 Reply |
Here are three things that I thought would be equivalent but are not. Just wondering why: XmlElement foo = doc.CreateElement("foo"); // load it up with a body xslt.Transform (foo, null, new XmlTextWriter...
| On Friday, June 13th 2008 at 11:37 AM by Anonymous | No Replies |
Currently I am using XmlReader (but I am open to other options) to parse an XML file, and I would like to be able to stop/break the current parse (simple enough) and then resume it later (say after...
| On Tuesday, May 27th 2008 at 08:22 AM by Brian Cryer | No Replies |
Hello, I use Xml serialization to serialize an object into an xml file. My root tag is defined as following: [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")] [System....
| On Thursday, April 24th 2008 at 11:09 AM by =?ISO-8859-1?Q?Norbert_P=FCrringer?= | No Replies |
Hi, Is there any way to tell an XSD Schema that you want custom error codes for particular validation failures in an XML document? To show what I mean, here's an example: XSD excerpt:...
| On Monday, April 21st 2008 at 08:59 AM by Artie | No Replies |
I have this web application project done in .net 3.5. It has an object (Contract) that is going to be serialized into an XmlDocument object, signed by 2 parties and then inserted into the database...
| On Thursday, April 17th 2008 at 12:30 AM by Andy B | No Replies |
I'm trying to figure out which column an XML attribute belongs to when read into a dataset. Take the following XML fragment: How would I get out the file name? I have the code below...
| On Wednesday, April 9th 2008 at 10:16 PM by Brent | 1 Reply |
I'm validating an XML document against a schema and everything is good except when the value is empty or blank. Here is what the schema item looks like: Is it possible to define that a blank...
| On Friday, March 21st 2008 at 11:56 AM by Anonymous | No Replies |