Description The XML Order application is a Visual Basic application that reads and writes XML data. There are some basic forms for creating customers and orders. The products that a customer can purchase are provided via the products.xml file. You can add new customers and edit them and then add/edit/delete orders placed by those customers. All information is stored in XML files so you can see how to work with XML files and data. More Details The Visual Basic project uses a few key classes to manage working with the XML Data. There are several classes named xxxDB.cls. These classes wrap the database functionality of the xml file. These classes serve the read/write/find/update purpose for the appropriate files. For example, the CordersDB class wraps the access for creating and deleting orders. There are some other classes name xxxData. The purpose of these classes is to simply act as a place to store the particular type of data you are working with. For example when working with Customers the CCustomerData class will be used for setting and retrieving properties of the customer data type. XML Data Files The following is a list of XML files used with the XML Order application and their description: Customers.xml -- Contains the list of all customers used in the application. When a user adds a customer they will be stored in this file. Log.xml -- Contains a list of all logins to the application and the date the user logged in. Orders.xml -- Contains a list of all the orders created for each user. The order has each item nested inside the specific order as well as the associated Cust_ID to associate the order with the right customer. Products.xml -- Contains the list of all available products for the order entry system. Users.xml -- Contains the list of valid users and their passwords to gain access to the system. Browser/Platform Compatibility This sample requires Internet Explorer 5.0, Visual Basic 6.0, and Windows 98, Windows NT 4.0, or Windows 2000.

Complete Article

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.