473,399 Members | 2,858 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

Need Help with writeline

I am reading from an xml file and the trying to write the results out to a
text file on the server using an asp script

THere is some kind of special characters in one of the fields so it is
causing an error:

Microsoft VBScript runtime error '800a0005'

Invalid procedure call or argument

How can I strip out these special chars yet keep the html etc. before the
writeline
I saw a few ~ and box chars that I stripped out of the source xml, I got
further but now am stuck again. I cant seem to find this special character,
perhaps invisible?

Please advise

Thanks


Dec 31 '05 #1
2 5341
Can you show us the relevant code? Perhaps we can adapt what you have.

Ray at work

"Julie" <ju****@optonline.net> wrote in message
news:ZL***************@newsread2.news.atl.earthlin k.net...
I am reading from an xml file and the trying to write the results out to a
text file on the server using an asp script

THere is some kind of special characters in one of the fields so it is
causing an error:

Microsoft VBScript runtime error '800a0005'

Invalid procedure call or argument

How can I strip out these special chars yet keep the html etc. before the
writeline
I saw a few ~ and box chars that I stripped out of the source xml, I got
further but now am stuck again. I cant seem to find this special
character, perhaps invisible?

Please advise

Thanks

Jan 1 '06 #2
HI Ray

I found that if I set true for unicode in writeline command as opposed to
false for ascii, it works and those special chars are allowed to be written
to the file.

Thanks for your reply
"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
message news:OH**************@TK2MSFTNGP14.phx.gbl...
Can you show us the relevant code? Perhaps we can adapt what you have.

Ray at work

"Julie" <ju****@optonline.net> wrote in message
news:ZL***************@newsread2.news.atl.earthlin k.net...
I am reading from an xml file and the trying to write the results out to a
text file on the server using an asp script

THere is some kind of special characters in one of the fields so it is
causing an error:

Microsoft VBScript runtime error '800a0005'

Invalid procedure call or argument

How can I strip out these special chars yet keep the html etc. before the
writeline
I saw a few ~ and box chars that I stripped out of the source xml, I got
further but now am stuck again. I cant seem to find this special
character, perhaps invisible?

Please advise

Thanks


Jan 1 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Leonardo Hyppolito | last post by:
Hello, I am trying to write a multithread program that simulates producers and consumers. My program can have many producers and many consumers (each in a separate thread). It has a storage...
18
by: jrhoads23 | last post by:
Hello, I am trying to find a way to tell if an .NET windows forms Button (System.Windows.Forms.Button) is "depressed" (pushed down). For my application, I can not use a check box control set to...
9
by: Blarneystone | last post by:
Hi, I am using VB.NET and trying to pull data from two different tables in the database. I am using what I think is standard code. But the data I am pulling is like the following: Table1...
46
by: Bruce W. Darby | last post by:
This will be my very first VB.Net application and it's pretty simple. But I've got a snag in my syntax somewhere. Was hoping that someone could point me in the right direction. The history: My...
4
by: trint | last post by:
I need to get the time from NOW and get how many milleseconds until 1:00am for my countdown timer please. Any help is appreciated. Thanks, Trint
0
by: JimN1 | last post by:
Error: Update requires a valid UpdateCommand when passed DataRow collection with modified rows. This is a continuation of my previous table element update question. I am now getting the above...
1
by: jweiss | last post by:
I am trying to run cmd.exe so that I can ftp a file to a remote server. I've been doing this for a long time, but something broke. I did some windows updates last week?? I am getting a...
4
by: joaotsetsemoita | last post by:
hello everyone. Im trying to time out a loot after a certain time. Probably 5 to 10 minutes. I have the following function Private Sub processFileCreation(ByVal source As Object, ByVal e As...
1
by: Jeff | last post by:
I have located the following code and trying to change this so I know if the USB device has been inserted or removed. The problem I have is I alwayd get the Console.WriteLine("Usb removed") so I...
0
by: akshaycjoshi | last post by:
I am reading a book which says Even though unboxed value types don't have a type object pointer, you can still call virtual methods (such as Equals, GetHashCode, or ToString) inherited or...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.