Search - Articles
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Tuesday, March 03, 2009
Dev Articles
Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 

FREE 12 month online training for ASP.NET & MS Expression Studio and a Free copy of MS Expression Web with Windows Server Purchase

Home >Search > Articles & Samples > Visual C++ .NET
Search:
What's New - What's Hot
Listings for AddIns AddIns (422)
Listings for Attributes Attributes (5)
Listings for Class Libraries Class Libraries (216)
Listings for Collection Collection (25)
Listings for Compiler Compiler (24)
Listings for Component Component (80)
Listings for Controls Controls (689)
Listings for DataBase DataBase (158)
Listings for Debugging Debugging (164)
Listings for Email Email (16)
Listings for Error Handling Error Handling (5)
Listings for Event Handling Event Handling (15)
Listings for Exception Handling Exception Handling (53)
Listings for FAQ FAQ (63)
Listings for File Management File Management (145)
Listings for Graphics&Chart Graphics&Chart (437)
Listings for Language Reference Language Reference (79)
Listings for Miscellaneous Miscellaneous (1175)
Listings for OOP OOP (529)
Listings for Performance/Optimization Performance/Optimization (83)
Listings for PlugIns PlugIns (48)
Listings for Regular Expression Regular Expression (47)
Listings for Sample Programs Sample Programs (1827)
Listings for Security Security (107)
Listings for Socket Programming Socket Programming (152)
Listings for Threading Threading (325)
Listings for Tips & Tricks Tips & Tricks (430)
Listings for Type Casting Type Casting (4)
Listings for Web Services Web Services (69)
Listings for Windows Form Windows Form (156)
Listings for XML XML (77)
 


XML function     
Total Hits: 68  |  Today: 0Author: pedro      Rating:  
Read Reviews | Write Review |  Your Rating: 

This example assumes that you are familiar with ASP, XML and HTML 4.0.

Before proceeding with this article, I recommend that you read Saving HTML Form Data to XML and Editing XML with XSL and ASP.

The example in this article is very similar to the example on Saving HTML Form Data to XML. However, instead of creating a new file each time that the form is submitted, we will check to see if the file already exists, and if it does, we will append to it. Using this type of technique, we...

A Simple XML DOM Viewer/Navigator Using MC++     
Total Hits: 97  |  Today: 0Author: liyang yu      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article presents a simple GUI written in VC++.NET 2003, its main features include showing a XML file in a treeView and navigating through the XML data by using XPath expressions. It was mainly developed for my own need: from time to time in my work, I often felt it would be very convenient if I had a simple GUI to "preview" the XML file the system generated or received before I take steps further to implement any processing to it - it could be used as a tool to simply confirm "everything is...

How to use XML files as your app database     
Total Hits: 88  |  Today: 0Author: mahdi haeri      Rating:  
Read Reviews | Write Review |  Your Rating: 

This program is very simple. Its basic operation is categorizing and storing user names and passwords/serial numbers that you have in websites or softwares. It simply has one dataset which includes two data table. One for storing and managing categories and their description and another for storing serial numbers or passwords. This two tables have a relation between together. There is an xml file in the executable directory which program saves its dataset data in it. The main form loads the xml ...

Logging with ASP.NET MVC Action Filters     
Total Hits: 51  |  Today: 0Author: Timothy Khouri      Rating:  
Read Reviews | Write Review |  Your Rating: 

Logging is a common Cross-Cutting Concern that many ASP.NET developers solve in the Global.asax file. Because MVC is built on top of ASP.NET you *could* tap into the same solution, but there is a better way. This article will show how easy it is to add logging to your web app using ASP.NET MVC Action Filters. Action Filters give you the ability to run custom code before or after an action (or page) is hit. Applying action filters to your MVC app is simple because they are implemented as attribut...

Configuration with XML     
Total Hits: 48  |  Today: 0Author: Stanley B. Lippman      Rating:  
Read Reviews | Write Review |  Your Rating: 

This is the second column in a series that explores using C++/CLI as a pure Microsoft® .NET Framework-compliant language rather than as a transitional bridge in order to bring native C++ code into the managed environment. My application, EEK!, as described in the last column, is a simulation of how a mouse might behave in an experimental environment over some fixed length of time. If the premise of the application leaves you disquieted, you can think of it instead as the logic programming of Non...

Create Word and Excel Smart Documents with C++ and XML     
Total Hits: 38  |  Today: 0Author: Mike Kelly      Rating:  
Read Reviews | Write Review |  Your Rating: 

One of the coolest new parts of Office 2003 is a programmability feature called Smart Documents, which allows developers to augment Word and Excel documents with programmable content and behavior. Typically, examples illustrating Office programmability use Visual Basic or Visual Basic .NET. In this article, the author develops a Smart Document for Excel using C++. He describes the new ISmartDocument interface and shows how to use it to manage a simple task list such as an Excel spreadsheet.
<...

Convert INI file to XML     
Total Hits: 32  |  Today: 0Author: Loki      Rating:  
Read Reviews | Write Review |  Your Rating: 

Do you think XML is a better way of storing an application's configuration than old fashioned INI files? Of course it is. So you probably need to convert your INI files into XML. Read on for a solution to just this task.

I started writing the app in VB 6, but when I finished I thought, why not do it in VB.NET and C# as well, so the code is provided in these three languages.

The .NET versions use the .NET Frameworks XmlTextWriter class to write the Xml file. This class is very cool,...

Configuration with XML     
Total Hits: 70  |  Today: 0Author: Stanley B. Lippman      Rating:  
Read Reviews | Write Review |  Your Rating: 

This is the second column in a series that explores using C++/CLI as a pure Microsoft® .NET Framework-compliant language rather than as a transitional bridge in order to bring native C++ code into the managed environment. My application, EEK!, as described in the last column, is a simulation of how a mouse might behave in an experimental environment over some fixed length of time. If the premise of the application leaves you disquieted, you can think of it instead as the logic programming of Non...

Using the new ATL CString class to read XML files via MSXML     
Total Hits: 53  |  Today: 0Author: Erik Thompson.      Rating:  
Read Reviews | Write Review |  Your Rating: 

This project and article started when trying to write a sample application that used the new _ATL_DEBUG_INTERFACES macro. I ran into a brick wall though because the _com_ptr_t template does not currently support the macro in VS.NET Beta1 and does not work on already compiled interfaces. So I had an almost complete application, which I didn't want to just throw away. I decided that I would finish it off and try to use the new CString classes....

A Small And Fast XML Parser For Native C++     
Total Hits: 57  |  Today: 0Author: Kenny Kerr      Rating:  
Read Reviews | Write Review |  Your Rating: 

Despite the ongoing success of the .NET Framework, Microsoft is still serious about native C++ development. This is demonstrated by the introduction of XmlLite, a high-performance, low-overhead XML reader and writer geared for applications written in native C++.

Managed code has broad support for XML through the System.Xml namespace, and traditional Visual Basic® and C++ applications that rely on COM have access to similar functionality from Microsoft® XML Core Services (MSXML). However, ...

How To Persist an ADO.NET DataSet into XML by Using Visual C++ .NET     
Total Hits: 71  |  Today: 0Author: microsoft      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article demonstrates how to persist an ADO.NET DataSet object to Extensible Markup Language (XML)....

A Console Application HTML Parser Using the Micorsoft XML Technologies     
Total Hits: 185  |  Today: 0Author: Jeffrey Walton.      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article present yet another HTML Parser based on the Microsoft XML Technology. The article will demonstrate basic parsing of HTML documents, including attribute enumeration, from a Console Application using C++. In addition, one can choose disk based files rather than 'in memory' pages since the later sample programs provide a FileStream class which inherits from IStream. Parsing of web based documents is demonstrated using URLOpenBlockingStream. Should the reader desire a Windows Applicati...

Effective online update checking mechanism using PAD / XML files     
Total Hits: 173  |  Today: 0Author: Andreas Loeffler.      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article describes how to implement an effective online update checking mechanism using PAD files in MFC and TinyXML. You need at least basic knowledge of XML and a basic understanding of the MFC libraries. PAD is an abbreviation for "Portable Application Description", and is a machine-readable document format designed by the Association of Shareware Professionals. It allows authors to provide product descriptions and specifications to online sources in a standard way, using a standard data ...

C++ XML Serialisation, with Compression     
Total Hits: 60  |  Today: 0Author: Simon Hughes      Rating:  
Read Reviews | Write Review |  Your Rating: 

These C++ XML serialisation classes and templates can be used with or without MFC/STL. The XML may also, optionally, be compressed to save storage space. Being able to save and load your data in XML is very useful for many different reasons. Here are a few benefits: Human readable. Platform independent. Seamless schema versioning. The target development and test platform used to create the XML serialisation classes is Microsoft Visual C++ 6 onwards. The XML serialisation classes and templates ca...

Create Word and Excel Smart Documents with C++ and XML     
Total Hits: 123  |  Today: 0Author: Mike Kelly      Rating:  
Read Reviews | Write Review |  Your Rating: 

One of the coolest new parts of Office 2003 is a programmability feature called Smart Documents, which allows developers to augment Word and Excel documents with programmable content and behavior. Typically, examples illustrating Office programmability use Visual Basic or Visual Basic .NET. In this article, the author develops a Smart Document for Excel using C++. He describes the new ISmartDocument interface and shows how to use it to manage a simple task list such as an Excel spreadsheet....

Compiler Security Checks In Depth     
Total Hits: 8  |  Today: 0Author: Brandon Bray      Rating:  
Read Reviews | Write Review |  Your Rating: 

Software security is a major concern for the high-tech industry, and the most feared and misunderstood software vulnerability is the buffer overrun. Today, the mention of a buffer overrun is enough to make people stop and listen. All too often, the technical details get lost in the transcription, and the general public comes away with a rather alarming view of a rather fundamental problem. To address this problem, Visual C++ .NET introduces security checks to assist developers in identifying buf...

Solution to Travelling Salesman Problem     
Total Hits: 187  |  Today: 0Author: omkar joshi      Rating:  
Read Reviews | Write Review |  Your Rating: 

Hereby, I am giving a program to find a solution to a Traveling Salesman Problem using Hamiltonian circuit, the efficiency is O (n^4) and I think it gives the optimal solution. Though I have provided enough comments in the code itself so that one can understand the algorithm that I m following, here I give the pseudocode....

How to handle document events in a Visual C++ .NET application     
Total Hits: 58  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

This step-by-step article discusses how to handle document events for the WebBrowser control in Visual C++ .NET 2003. This information also applies to handling document events in Visual C++ .NET 2003 when you automate Internet Explorer....

How to prevent the OLE Server Busy dialog box from appearing during a lengthy COM operation     
Total Hits: 61  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

If you call a method on a COM server from an MFC COM client application and if the method takes a long time to process and return back, you won't be able to do anything on the client application and the OLE Server Busy dialog box pops up. This article explains how you can increase the time-out period of the COM call and also shows you how to avoid this dialog box....

Owner-Draw Menus with .NET and Managed C++     
Total Hits: 103  |  Today: 0Author: Developer      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article illustrates just how easy it is to owner-draw a menu item using .NET and Managed C++.
First, it presents the steps for creating an owner-draw menu and shows how to implement those in your application. The second section then shows you how to use the simple, yet effective, owner-draw menu class that accompanies the article. That way, if you're in a hurry, you can simply plug the class into your application now and go back and read the code at your leisure....



Disclaimer - Privacy
© 2002-2012 DevASP.net