473,320 Members | 1,857 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,320 software developers and data experts.

"Load Xml File in Device Application"-Web Exception

Hi guys,


I know how load XMl file in Windows application.But comparing windows application , device application have some special feature. When i use the same code in device application i have bug called"Web Exception"

Any body can help


My code is:


Dim strPath As String = "http://192.168.1.50/iw/Document/pathXml/pathXml/comp.xml"

Dim xmlDoc As New XmlDocument

xmlDoc.Load(strPath)

TextBox1.Text = xmlDoc.InnerText
Dec 4 '07 #1
1 1246
i got result .................

http://msdn2.microsoft.com/en-us/library/bb630224.aspx

now this is my coding..........

Dim strPath As String = "\Storage\My Documents\comp.xml"
Dim xmlDoc As New XmlDocument
xmlDoc.Load(strPath)
txtName.Text = xmlDoc.InnerText
Dec 4 '07 #2

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

Similar topics

1
by: Alex Shi | last post by:
Hello, I got an error message when trying following script: <? //...... if (!$handle = fsockopen ("ssl://my.com", 443, $errno, $errstr, $timeout = 30)) { print "$errno: $errstr\n"; return...
7
by: Scott Chapman | last post by:
Hi! I'd like a "file" on the Linux box to actually be the input and output of a Python script. Anything written to the file would be sent to a database and anything read from the file would...
11
by: bleedledeep | last post by:
I've been tracking down a memory leak using DevPartner 7.2 and what I am seeing is that calling XmlDocument.Load() leaks A LOT of memory. The following code is called when I click a button on my...
1
by: Roy | last post by:
Hey all, I have a VB App which uses the bundled version of Crystal Reports for VS.NET 2003. It works fine in when I run it using VS *but* when I deploy it anywhere (including the development PC...
0
by: mmj | last post by:
If I am loading my reports in this fashion ReportDocument.Load("MyReport.rpt") Is there a way to do this and still have the .rpt file's build type be set to EmbeddedResource which makes it in...
1
by: Dominique Vandensteen | last post by:
I want to dynamicly load a type (typename is defined in the database). This type is located in the exe itself or one of the dll's in the directory with the exe file. When creating an instance...
1
by: marco.loskamp | last post by:
Hallo, Kurzversion: erstellt Access eine volle Kopie der Tabelle, wenn mit Currentdb.OpenRecordset("Tabelle") eine Tabelle zum Direktzugriff geöffnet wird? Hintergrund: Tabelle 1.25GB,...
0
by: rangi500 | last post by:
Hello, We've recently started getting errors like this: Last error: ERROR: could not write to hash-join temporary file: No space left on device But there is plenty of space on the all the...
1
by: syed asghar abbas | last post by:
I am Student of the BS(CS) final Term,and my final term projectg is BarCoder Reder in Invertory System i complete the Database but some problem of Barcode any one can help me in the project. My...
2
by: mvsmsh | last post by:
Hi , How can I load without copy in UDB V8/AIX , I don't want copy or backup after load. Are there any command in UDB , like Z/OS DB2 "repair tablespace nocopypend" ?
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.