|
|
|
|
|
|
| | Total Hits: 68 | Today: 0 | Author: pedro | 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... |
| | Total Hits: 97 | Today: 0 | Author: liyang yu | 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... |
| | Total Hits: 88 | Today: 0 | Author: mahdi haeri | 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 ... |
| | Total Hits: 51 | Today: 0 | Author: Timothy Khouri | 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... |
| | Total Hits: 48 | Today: 0 | Author: Stanley B. Lippman | 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... |
| | Total Hits: 38 | Today: 0 | Author: Mike Kelly | 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. <... |
| | Total Hits: 32 | Today: 0 | Author: Loki | 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,... |
| | Total Hits: 70 | Today: 0 | Author: Stanley B. Lippman | 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... |
| | Total Hits: 53 | Today: 0 | Author: Erik Thompson. | 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.... |
| | Total Hits: 57 | Today: 0 | Author: Kenny Kerr | 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, ... |
| | Total Hits: 71 | Today: 0 | Author: microsoft | Rating:  |
| |  This article demonstrates how to persist an ADO.NET DataSet object to Extensible Markup Language (XML).... |
| | Total Hits: 185 | Today: 0 | Author: Jeffrey Walton. | 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... |
| | Total Hits: 173 | Today: 0 | Author: Andreas Loeffler. | 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 ... |
| | Total Hits: 60 | Today: 0 | Author: Simon Hughes | 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... |
| | Total Hits: 123 | Today: 0 | Author: Mike Kelly | 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.... |
| | Total Hits: 8 | Today: 0 | Author: Brandon Bray | 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... |
| | Total Hits: 187 | Today: 0 | Author: omkar joshi | 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.... |
| | Total Hits: 58 | Today: 0 | | 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.... |
| | Total Hits: 61 | Today: 0 | | 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.... |
| | Total Hits: 103 | Today: 0 | Author: Developer | 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.... |
|
|
|
|
|
|