Jump to content

Recommended Posts

Posted (edited)

or any other language producing standalone exe :)

 

I want to make a prog to parse a bunch of xml files looking for a field and then change the value of that field.

 

Im completely stuck at the beginning just trying to use VB 2008 express to just read one simple XML file :(

 

Every single example I can find gives me an exception :( so I must be missing something "basic" :lol:

 

Help (from VB experts or anyone else using a free prog) :)

 

regards

 

Simon

Edited by SimpleSi
Posted

Thanks for all the suggestions - I've found my problem!

 

I was using wordpad to save example xml files (I use it all the time to edit my real xml files) to read back in.

 

Of course, it defaults to saving as type rtf so the xml files were completely mal-formed :doh:

 

Found this out by just reading them back in one byte at a time :)

 

regards

 

Simon

Posted
ah that would do it!! Try looking at Notepad++ for an alternative to that, it will format the files properly and make the code much easier to read!!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...