|
A better way to query for a single node
|
Total Hit (2503) |
In the XmlNode class, that is the class that provides node functionality in an XMLDOM representation of an XML document, the SelectNodes (and the ancillary SelectSingleNode) method exploits the XPath query language to let you extract nodes based on logical conditions. The SelectNodes methods return
....Read More |
Rating
|
|
|
|
Working with DateTime and TimeSpan Object in VB.net
|
Total Hit (34613) |
In this article we will explore some key language features which are frequently used by VB programmers.
«big»DateTimes in VB.net«/big»
VB.net provides many new features for DateTime datatype. Unlike VB6 in VB.net you can initialize DateTime variable with verity of initial values. In VB.net you
....Read More |
Rating
|
|
|
|
|
Using a union to retrieve the RGB components of a color
|
Total Hit (2923) |
In VB.NET you can create what in C is called a union, i.e. a particular structure where you can access the same memory with different names. Here's how you declare such a structure by using the StructLayout attribute, and specifying that you want to define the structure layout explicitly, namely how
....Read More |
Rating
|
|
|
|
|
|
Flat VS.NET Style Menus - Even on Windows 98
|
Total Hit (2590) |
First and foremost, this component provides a menu style that is 90% identical to the one provided by VS.NET (the 10% gap is described below in the "Work pending" section, please help me eliminate it). This means that it applies the VS.NET menu style to not only individual menu items but also to the
....Read More |
Rating
|
|
|
How Do I...Pass An Object to a Server By Value?
|
Total Hit (731) |
The Pass an Object to a Server by Reference section illustrated that local objects are always passed by value when you call a remote function. To demonstrate this concept, you need change the previous example.
|
Rating
|
|
|
How Do I...Save a DataSet as XML?
|
Total Hit (1202) |
This sample illustrates how to use XmlDataDocument to save relational data from a DataSet to an XML file. This demonstrates the transition from relational data to XML data.
|
Rating
|
|
|
How Do I...Make a ResourceReader?
|
Total Hit (668) |
There are two steps to creating a custom resource reader. The first step is to create a class that implements IResourceReader, which requires a Close method and an implementation for GetEnumerator. The following code example demonstrates creating a basic class that implements IResourceReader.
....Read More |
Rating
|
|
|
How Do I...Apply an XSL Transformation to XML?
|
Total Hit (983) |
This sample illustrates how to apply an Extensible Stylesheet Language Transformations (XSLT) file to an XML document using the XslTransform class. This class implements the World Wide Web Consortium (W3C) W3C XSL Transformations (XSLT) version 1.0 specification. (For further reference, you might wa
....Read More |
Rating
|
|
|
Displaying the directory tree using the TreeView control in VB.NET
|
Total Hit (1826) |
This project was created using the .Net Beta 2 Release. It was originally written in VB6 and then rewritten in VB.Net. It teaches how to browse the directory structure and display it using the TreeView control. I make a point of highlighting differences between the VB6 and the VB.Net solutions. Some
....Read More |
Rating
|
|