Results 1 to 2 of 2

Thread: [2.0] Saving to virtual path

  1. #1

    Thread Starter
    Fanatic Member Bombdrop's Avatar
    Join Date
    Apr 2001
    Location
    St Helens, England, UK
    Posts
    667

    [2.0] Saving to virtual path

    trying to save a file to a virtual path

    Code:
       StreamWriter sw = new StreamWriter(@"\vm-extranet\c$\Inetpub\wwwroot\eclaim\Eclaim.csv");
    get erro can not find path, any one know what i need to do?

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: [2.0] Saving to virtual path

    Virtual paths are something that Web servers use. StreamWriters are I/O objects and they deal with the real file system.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width