Solved

myBitmap.Save(Server.MapPath)

Posted on 2007-04-05
1
201 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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Normally the drop down box control found in the .Net framework tools is able to select just one data and value at a time, which is displayed on the text area.   But what if you want to have multiple values to be selected in the drop down box? As …
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…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

757 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

21 Experts available now in Live!

Get 1:1 Help Now