Wrox Programmer Forums
|
All Other Wrox Books Do you have a question about a Wrox book that isn't listed anywhere on p2p.wrox.com or where the forum is locked? Here's a forum to post questions about any other Wrox book so that other readers or one of the authors can help you with your questions. IF YOU ARE LOOKING FOR CODE DO NOT ASK "Where can I find the code for this book?" That question is answered here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the All Other Wrox Books section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old April 19th, 2004, 05:12 PM
Registered User
 
Join Date: Apr 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Visual Basic 6.0 and XML

Hello Everyone

I have recently purchased a book entitled "Professional Visual Basic 6.0 XML" and I am trying to figure out how to add a new record to an existing record using DOM. I was hoping that someone out there might have a real simple solution to this problem without me having to read the entire book.

I know how to load the XML into DOM but there is going to be a case when I need to add a new record and save it back out.

Can somebody help me with this?



Thank You

Gary


  #2 (permalink)  
Old April 20th, 2004, 02:42 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,212
Thanks: 0
Thanked 1 Time in 1 Post
Default

you can use the createNode() or createElement() methods to make the new items. then set their values - if you want to add attributes then there's a createAttribute() method too. finally use the appendChild() method to insert the new node into the appropriate place in the DOM.

I can give you a more concrete example if you show me your XML and your current code (I don't have the book).

hth
Phil
  #3 (permalink)  
Old May 26th, 2004, 09:58 PM
hmh hmh is offline
Registered User
 
Join Date: May 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

How to download the "Professional Visual Basic 6 XML" code?

[email protected]

  #4 (permalink)  
Old April 2nd, 2005, 03:41 AM
Registered User
 
Join Date: Mar 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to yuvraj_sherkhane
Default

I want to down load code for this book
my email id is [email protected]

  #5 (permalink)  
Old April 4th, 2005, 10:17 AM
jminatel's Avatar
Wrox Staff
Points: 18,059, Level: 58
Points: 18,059, Level: 58 Points: 18,059, Level: 58 Points: 18,059, Level: 58
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2003
Posts: 1,906
Thanks: 62
Thanked 139 Times in 101 Posts
Default

Please read:
http://p2p.wrox.com/topic.asp?TOPIC_ID=268
under the heading:
"What happened to the code downloads for the other Wrox books"


Jim Minatel
Senior Acquisitions Editor
Wiley Technology Publishing
WROX Press
Blog: http://p2p.wrox.com/blogs_author.asp?AUTHOR_ID=6
Jim's Book of the week: Beginning Regular Expressions
  #6 (permalink)  
Old April 25th, 2005, 09:44 AM
Registered User
 
Join Date: Mar 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to yuvraj_sherkhane
Default

I did't received the code link for which i was searching for
that is vb6 with XML the book i purchased of Wrox publication






Similar Threads
Thread Thread Starter Forum Replies Last Post
Visual Basic monika.vasvani VB Databases Basics 5 June 16th, 2014 10:01 AM
visual basic 6.0 flowertear Pro VB 6 3 June 28th, 2013 03:16 PM
visual basic khandangoll Beginning VB 6 1 October 6th, 2006 04:05 PM
FTP in Visual Studio 2005 Pro (Visual Basic) shoopes VB How-To 1 June 29th, 2006 02:08 PM
Visual Basic 6.0 Danielvb VB How-To 1 June 9th, 2003 04:30 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.