Results 1 to 6 of 6

Thread: HELP!!!!!! using Server.MapPath in a windows application?

Threaded View

  1. #1

    Thread Starter
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428

    HELP!!!!!! using Server.MapPath in a windows application?

    I want to be able to use Server.MapPath in a windows application. I've added
    the system.web reference to my project but whenever I try to call it, I get
    a null reference error. Anyone can tell me how to use this function?
    (this is how I'm calling it:
    System.Web.HttpContext.Current.Server.MapPath() )
    Last edited by MrPolite; Mar 16th, 2004 at 02:15 PM.
    rate my posts if they help ya!
    Extract thumbnail without reading the whole image file: (C# - VB)
    Apply texture to bitmaps: (C# - VB)
    Extended console library: (VB)
    Save JPEG with a certain quality (image compression): (C# - VB )
    VB.NET to C# conversion tips!!

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