[Year 12 SofDev] XML Files with VB

CALUM MUNRO mun at mckinnonsc.vic.edu.au
Mon May 30 10:13:54 AEST 2016


Hi All,

Thanks for your responses.

I have used the code Darren has posted to create my own version which uses
a record structure rather than a class.

I have attached a .zip file (gmail won't let me attach .zip files, so I
have renamed the file as a .doc - you will have to download the .doc file,
rename it to .zip and then extract.

The program reads in data from a text file (which is what my class has done
previously) and then writes it to an XML file.

Thanks again,

Calum

*Calum Munro*
IT Teacher

On 29 May 2016 at 23:17, Chris Bucknell <
Chris.Bucknell at haileybury.vic.edu.au> wrote:

> Hi All,
>
>
>
> Attached is my resources I put together for VB.NET and XML.  I based this
> largely on a PPT I can across from M$ called “XML Programming in .NET”,
> with some added code examples (based from MSDN examples).
>
>
>
> It gives you two of the more useful ways of dealing with XML files in
> VB.NET, being a StreamReader/Writer pair or an XDocument (see DOM
> specification in W3C).
>
>
>
> Hope its of some use.
>
>
>
> Regards
>
>
>
> *Chris Bucknell*
>
> Head of CDT; Coord, Internal Exam; House Tutor
>
> +61 3 9904 6360
>
> Chris.Bucknell at haileybury.vic.edu.au <%7bemail%7d>
>
> www.haileybury.vic.edu.au
>
>
>
> *From:* sofdev-bounces at edulists.com.au [mailto:
> sofdev-bounces at edulists.com.au] *On Behalf Of *Travis Parker
> *Sent:* Friday, May 27, 2016 12:33 PM
> *To:* Year 12 Software Development Teachers' Mailing List <
> sofdev at edulists.com.au>
> *Subject:* Re: [Year 12 SofDev] XML Files with VB
>
>
>
> Hi Calum and Mel,
>
>
>
> Attached is what is used with my kids in the end. Essentially I used a
> previously mentioned website (
> http://vb.net-informations.com/xml/how-to-xml-in-vb.net.htm) for the
> initial program, and now have a VB solution (attached) that can create/name
> a new XML file, read from, write to, view contents and search it. I chucked
> my instructions/code/ramblings into a word document as well.
>
>
>
> I’m no brilliant programmer so if anyone wants to take it and make a
> better version then you are most welcome.
>
>
>
>
>
> Cheers
>
>
>
> Trav
>
>
>
>
>
>
>
> *Travis Parker*
> Timetabler
> The Knox School
>
>
>
> *From:* sofdev-bounces at edulists.com.au [
> mailto:sofdev-bounces at edulists.com.au <sofdev-bounces at edulists.com.au>] *On
> Behalf Of *CALUM MUNRO
> *Sent:* Friday, 27 May 2016 12:21 PM
> *To:* Year 12 Software Development Teachers' Mailing List
> *Subject:* Re: [Year 12 SofDev] XML Files with VB
>
>
>
> I'm no further forward. Have put all programming on the back burner to
> focus on the SAT over the last week.
>
>
>
> If anyone out there knows about manipulating XML files in VB.......
>
>
>
> Calum
>
>
> Calum Munro
>
> McKinnon Secondary College
>
>
>
> On 27 May 2016 at 12:08, YUAN Melissa <yuanm at bmg.vic.edu.au> wrote:
>
> Hi,
>
> Um, so how are you going with that?
>
> Trying to find something good but my first attempt was a Wrox book and it
> somewhat blew the students’ minds …
>
> Thanks, Mel
>
>
>
>
>
>
>
> *Melissa Yuan*
>
>
>
> *Bacchus Marsh Grammar **T.* 03 5366 4800  *F.* 03 5366 4850
> *E.* yuanm at bmg.vic.edu.au  *W.* http://www.bmg.vic.edu.au
> South Maddingley Road | PO Box 214 | Bacchus Marsh Victoria 3340
>
> *From:* sofdev-bounces at edulists.com.au [mailto:
> sofdev-bounces at edulists.com.au] *On Behalf Of *Travis Parker
> *Sent:* Friday, 22 April 2016 12:39 PM
> *To:* Year 12 Software Development Teachers' Mailing List <
> sofdev at edulists.com.au>
> *Subject:* Re: [Year 12 SofDev] XML Files with VB
>
>
> I’m also looking for this sort of thing. I just got my boss to order a
> book “Visual Basic .NET and XML: Harness the Power of XML in VB.NET
> Applications” but it won’t be here for a while. I also have to get it from
> overseas as I don’t think it’s available in Australia -
> http://www.amazon.com/Visual-Basic-NET-XML-Applications/dp/047112060X. In
> the meantime, YouTube and DreamInCode are my best friends and if I get
> something together I’ll put it on the lists!   Cheers Trav
>
>
>
>
>
> *Travis Parker*
> Timetabler
> The Knox School
>
>
>
> *From:* sofdev-bounces at edulists.com.au [
> mailto:sofdev-bounces at edulists.com.au <sofdev-bounces at edulists.com.au>] *On
> Behalf Of *CALUM MUNRO
> *Sent:* Friday, 22 April 2016 12:26 PM
> *To:* Year 12 Software Development Teachers' Mailing List
> *Subject:* [Year 12 SofDev] XML Files with VB
>
>
>
> Does anyone have any examples of VB (2015) projects which can read,
> manipulate or write XML files - which they would be able to share?
>
>
>
> Many thanks,
>
>
>
> Calum
>
>
>
> --
>
> Calum Munro
>
> McKinnon Secondary College
> DISCLAIMER This email message and any related attachments are
> confidential and should only be read by those persons to whom they were
> addressed.
> They may contain copyright, personal or legally privileged information.
> If you are not the intended recipient of this email, any use of this
> information is strictly prohibited and it must be deleted from your system.
> Views expressed in this message are the views of the sender and are not
> necessarily views of The Knox School, except where the message expressly
> states otherwise.
> Any advice contained herein should be treated as preliminary advice only
> and subject to formal written confirmation. Although this email and any
> attachments are believed to be free of any virus or any other defect which
> may cause damage or loss, it is the responsibility of the recipient to
> ensure that they are virus-free.
> The Knox School accepts no liability for any loss or damage that may occur
> as a result of the transmission of this email or its attachments to the
> recipient.
>
> Please think of the environment before printing this email.
> ------------------------------
>
> PRIVATE & CONFIDENTIAL
> The content of this e-mail and any attachments may be private and
> confidential, intended only for use of the individual or entity named. If
> you are not the intended recipient of this message you must not read,
> forward, print, copy, disclose, use or store in any way the information
> this e-mail or any attachment contains.
> If you are not the intended recipient, please notify the sender
> immediately and delete or destroy all copies of this e-mail and any
> attachments.
> Our organisation respects the privacy of individuals. For a copy of our
> privacy policy please go to our website or contact us.
>
>
> _______________________________________________
> http://www.edulists.com.au - FAQ, Subscribe, Unsubscribe
> IT Software Development Mailing List kindly supported by
> http://www.vcaa.vic.edu.au - Victorian Curriculum and Assessment
> Authority and
> http://www.vcaa.vic.edu.au/vce/studies/infotech/softwaredevel3-4.html
> http://www.vitta.org.au  - VITTA Victorian Information Technology
> Teachers Association Inc
> http://www.swinburne.edu.au/ict/schools - Swinburne University
>
>
>
>
> DISCLAIMER This email message and any related attachments are
> confidential and should only be read by those persons to whom they were
> addressed.
> They may contain copyright, personal or legally privileged information.
> If you are not the intended recipient of this email, any use of this
> information is strictly prohibited and it must be deleted from your system.
> Views expressed in this message are the views of the sender and are not
> necessarily views of The Knox School, except where the message expressly
> states otherwise.
> Any advice contained herein should be treated as preliminary advice only
> and subject to formal written confirmation. Although this email and any
> attachments are believed to be free of any virus or any other defect which
> may cause damage or loss, it is the responsibility of the recipient to
> ensure that they are virus-free.
> The Knox School accepts no liability for any loss or damage that may occur
> as a result of the transmission of this email or its attachments to the
> recipient.
>
> Please think of the environment before printing this email.
>
> ------------------------------
>
> This email, including any attachments, is confidential. If you are not the
> intended recipient you must not copy, use, disclose, distribute or rely on
> this information. If you have received this email in error, please notify
> the sender immediately by reply email and delete the email from your
> system. Confidentiality and legal privilege attached to this communication
> are not waived or lost by reason of mistaken delivery to you. Haileybury
> does not guarantee that this email is unaffected by computer virus,
> corruption or other defects. Haileybury monitors all incoming and outgoing
> email for compliance with its IT Policies. ABN: 34 004 228 906
>
> _______________________________________________
> http://www.edulists.com.au - FAQ, Subscribe, Unsubscribe
> IT Software Development Mailing List kindly supported by
> http://www.vcaa.vic.edu.au - Victorian Curriculum and Assessment
> Authority and
> http://www.vcaa.vic.edu.au/vce/studies/infotech/softwaredevel3-4.html
> http://www.vitta.org.au  - VITTA Victorian Information Technology
> Teachers Association Inc
> http://www.swinburne.edu.au/ict/schools - Swinburne University
>

-- 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.edulists.com.au/pipermail/sofdev/attachments/20160530/19d8e381/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 2761 bytes
Desc: not available
Url : http://www.edulists.com.au/pipermail/sofdev/attachments/20160530/19d8e381/image001-0001.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xml.doc
Type: application/msword
Size: 79706 bytes
Desc: not available
Url : http://www.edulists.com.au/pipermail/sofdev/attachments/20160530/19d8e381/xml-0001.doc 


More information about the sofdev mailing list