Click here to Skip to main content
15,881,882 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: GDI+ causes server to hang Pin
Christian Graus28-May-07 15:40
protectorChristian Graus28-May-07 15:40 
GeneralRe: GDI+ causes server to hang Pin
Ben[dog]28-May-07 15:55
Ben[dog]28-May-07 15:55 
GeneralRe: GDI+ causes server to hang Pin
Christian Graus28-May-07 16:31
protectorChristian Graus28-May-07 16:31 
GeneralRe: GDI+ causes server to hang Pin
Ben[dog]28-May-07 16:46
Ben[dog]28-May-07 16:46 
AnswerRe: GDI+ causes server to hang Pin
Guffa28-May-07 19:11
Guffa28-May-07 19:11 
GeneralRe: GDI+ causes server to hang Pin
Ben[dog]28-May-07 19:20
Ben[dog]28-May-07 19:20 
AnswerRe: GDI+ causes server to hang Pin
Ben[dog]28-May-07 18:32
Ben[dog]28-May-07 18:32 
QuestionWhy doesn't this work? Pin
Ranger4928-May-07 13:37
Ranger4928-May-07 13:37 
I had this working in my project, then I wanted to use this code in another project and now it refuses to save a BMP file.
Please someone tell my what I overlook.
Ranger.

float range = 1.5F;
float startRe = -0.7F;
float startIm = 0.27015F;
int startColor = 60;

public Bitmap objBitmap = new Bitmap(300, 300);
public Graphics objGraphic;
public Pen myPen = new Pen(Color.Red);


protected void enterButton_Click(object sender, EventArgs e)
{
if (Page.IsValid)
{
objGraphic = Graphics.FromImage(objBitmap);

MakeJuliaSetBmp(); // Do the drawing

Response.ContentType = "image/bmp";

MakeUniqueFileName(); // makes a unique filename for the BMP file

objBitmap.Save(Request.PhysicalApplicationPath + "/pictures/" + filename, ImageFormat.Bmp);

Response.Flush();

objGraphic.Dispose();
objBitmap.Dispose();
myPen.Dispose();
}
}

Novice
AnswerRe: Why doesn't this work? Pin
Not Active28-May-07 13:46
mentorNot Active28-May-07 13:46 
AnswerRe: Why doesn't this work? Pin
Christian Graus28-May-07 13:50
protectorChristian Graus28-May-07 13:50 
QuestionRe: Why doesn't this work? Pin
Ranger4928-May-07 16:18
Ranger4928-May-07 16:18 
AnswerRe: Why doesn't this work? Pin
Christian Graus28-May-07 16:33
protectorChristian Graus28-May-07 16:33 
GeneralRe: Why doesn't this work? Pin
Ranger4928-May-07 16:45
Ranger4928-May-07 16:45 
QuestionRe: Why doesn't this work? Pin
Ranger4928-May-07 19:52
Ranger4928-May-07 19:52 
Questionhelp me with sending email Pin
sanaziuse28-May-07 11:41
sanaziuse28-May-07 11:41 
AnswerRe: help me with sending email Pin
Christian Graus28-May-07 11:51
protectorChristian Graus28-May-07 11:51 
AnswerRe: help me with sending email Pin
Abolfazl Sheikhloo28-May-07 18:56
Abolfazl Sheikhloo28-May-07 18:56 
QuestionAccess Cookie Pin
Ritesh123428-May-07 10:55
Ritesh123428-May-07 10:55 
QuestionTwo cookie paths ... Pin
devboycpp28-May-07 8:49
devboycpp28-May-07 8:49 
QuestionString Parameter From .Net Application to .Net ASP Web Service Pin
Ram_Goldman28-May-07 8:25
Ram_Goldman28-May-07 8:25 
AnswerRe: String Parameter From .Net Application to .Net ASP Web Service Pin
doWhileSomething28-May-07 9:12
doWhileSomething28-May-07 9:12 
AnswerRe: String Parameter From .Net Application to .Net ASP Web Service Pin
Guffa28-May-07 9:15
Guffa28-May-07 9:15 
QuestionHow do I switch on the debugging again? Pin
Ranger4928-May-07 7:47
Ranger4928-May-07 7:47 
AnswerRe: How do I switch on the debugging again? Pin
Gamzun28-May-07 10:07
Gamzun28-May-07 10:07 
GeneralRe: How do I switch on the debugging again? Pin
Ranger4928-May-07 10:12
Ranger4928-May-07 10:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.