By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,990 Members | 2,324 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,990 IT Pros & Developers. It's quick & easy.

XML error when creating file II

P: n/a
The former post was wrong, the lines where concatenated so here it goes

I am wrriting to a file (XML-format) and using

FileOpen(1, "C:\vb\WebBrowser\WebBrowserControl\TESTFILE.X ML",
Write(1, "<?xml version=""1.0""?>")

The error occurs when creating the file. I can see that the
""-characters are causing the error, but they need to be there on line

When I am trying to open the TESTFILE.XML I get the following error:

Ugyldig på toppnivået av dokumentet. Feil under behandling av ressursen

"<?xml version=""1.0""?>","<XMLTest>"

Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply

P: n/a

Why using that archaic code and not the streamwriter. This makes helping
more difficult.

writeline method

I hope this helps,

Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.