PC Review


Reply
Thread Tools Rate Thread

URI class - real newbie here

 
 
GeezerButler
Guest
Posts: n/a
 
      22nd Jan 2007
The URI class seems to be able to load a file on local machine where
the path is absolute i.e. like D://abc.xml.
The funny part is that if i make a WebRequest to request this uri, i do
get a response? (I wonder how).

Note: I do not have IIS installed.

So i was wondering if it would be able to load a filepath that is
relative to my dll/exe. Something like ../my folder/abc.xml.
But the URI class fails to load this string, saying that it is in
invalid format.
Is it somehow possible to load a filepath relative to my dll/exe.

BTW i need to do this to test my app's behaviour with different xml
files.
Is it possible to setup some kind of a local server on my machine
(without having IIS)?

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
URI class - real newbie here GeezerButler Microsoft Dot NET Framework 1 23rd Jan 2007 09:16 AM
Real Newbie newbie question Dave Microsoft Excel New Users 1 10th Jan 2007 08:55 PM
Newbie Tcp Class to Multi-threading Class Cor Ligthert Microsoft Dot NET 5 28th Aug 2004 05:01 AM
Newbie Tcp Class to Multi-threading Class Cor Ligthert Microsoft Dot NET 1 25th Aug 2004 03:04 PM
Real newbie questions Danny Ni Microsoft VB .NET 1 17th Mar 2004 07:41 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:03 PM.