Solved

myBitmap.Save(Server.MapPath)

Posted on 2007-04-05
1
202 Views
Last Modified: 2013-12-17
This works:

myBitmap.Save(Server.MapPath(sNom), ImageFormat.Jpeg);

This does not work:

myBitmap.Save(Server.MapPath("/snap/" + sNom), ImageFormat.Jpeg)

Yes I have write permisson on that folder.
0
Comment
Question by:oksum73
1 Comment
 
LVL 22

Accepted Solution

by:
p_davis earned 50 total points
ID: 18864400
(@"\snap\" + sNom) if snap is a directory or computer name.
or("\\snap\\" +sNom)
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
VB .NET application would like equitable cpu usage 3 25
Achieve json result 2 65
Please explain "Multi-Tenant Services" 5 65
Syntax Error 2 47
Summary Displaying images in RichTextBox is a common requirement with limited solutions available. Pasting through clipboard or embedding into RTF content only support static images.  This article describes how to insert Windows control objects int…
The object model of .Net can be overwhelming at times – so overwhelming that quite trivial tasks often take hours of research. In this case, the task at hand was to populate the datagrid from SQL Server database in Visual Studio 2008 Windows applica…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now