473,473 Members | 1,914 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Illegal characters in path-in XML files using StreamReader

1 New Member
Hi All...

i one of my application, i am using an xml file as request & respone in web services..

so they have to be serialized & deserialized accordingly..

so in case of deserialize.. i am loading the xml file into streamreader variable but at runtime it shows that it contains nothing in it.

so plz help me out..

CODE:

Dim Rxml As New System.Xml.XmlDocument
Rxml.Load("d:\Response.xml")
** string_reader = New System.IO.StreamReader(Rxml.OuterXml.ToString)

* denotes : shows that it contains nothing...
Dec 31 '07 #1
1 6546
jkmyoung
2,057 Recognized Expert Top Contributor
Use slashes / instead of backslashes \
("d:/Response.xml")
Jan 3 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: matt | last post by:
I have an upload script for a photo and a caption. It all goes pear shaped when I upload a character like ' " or / \ | Is there anyway I can parse through the filename when submitting the form and...
2
by: Kostatus | last post by:
The following code worked perfectly fine until i modified an unrelated part of the program: this->dungArea.mBlocked = mioS.mio_dungArea.mFlags & isBlocked; after that i started getting the...
1
by: Jasper Recto | last post by:
I have a little program that opens a progress database and runs a report. Dim Path As Object Dim Report As Object Path = "d:\ReportBuilder\VendorShipping.p" Report =...
3
by: thomasamillergoogle | last post by:
I am building a web page to show a TCP/IP raw packet. I need to show "special characters" on the web page I am working on. When I say "special characters" i am talking about tabs, whitespace,...
14
by: deko | last post by:
Is there a way to check user input for illegal characters? For example, a user enters something into a text box and clicks OK. At that point I'd like to run code such as this: illegal =...
2
by: Gabrielle A. Grün | last post by:
Hi All, Does anyone know a way around the illegal reference of a non-static member? Thanks. iNHERITANCE HIERACY
4
by: skinnybloke | last post by:
Hi - I am having problems witrh the code below (obviously) coming up with illegal character for various characters within the field name which is: S_Gift Finder1_0 I have tried various ways...
5
by: Roy Smith | last post by:
The following code appears to be illegal: while ((int c = getchar()) != EOF) { putchar (c); } I tried it on two different compilers (Sun workshop and gcc), and both give some variation on...
8
by: yguan08 | last post by:
I have trouble of obtaining the file size of a file because the fullpath exceeds 255 characters. I get this message with os.path.getsize(fullpath). fullpath = r"\\LOSSSFS002\NWE_TECHNICAL\05....
1
abehm
by: abehm | last post by:
INSERT INTO DCDTA812.F574801Z (CDA301, CDDOCO, CDDCTO, CDTYPS, CDLITM, CDLOTN, CDAN8, CDSAID, CDMMCU, CDDL01, CDISSUE, CDWHO2, CDPHN1, CDSRST, CDCL01, CDPBTM, CDANO, CDPARS, CDSERP, CDCL02, CDPTME,...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
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
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.