Click here to Skip to main content
15,891,136 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: add javascript function for whole page Pin
eyeseetee8-Jul-08 4:46
eyeseetee8-Jul-08 4:46 
GeneralRe: add javascript function for whole page Pin
Christian Graus8-Jul-08 4:55
protectorChristian Graus8-Jul-08 4:55 
GeneralRe: add javascript function for whole page Pin
eyeseetee8-Jul-08 5:07
eyeseetee8-Jul-08 5:07 
AnswerRe: add javascript function for whole page Pin
Sherin Iranimose8-Jul-08 4:37
Sherin Iranimose8-Jul-08 4:37 
GeneralRe: add javascript function for whole page Pin
eyeseetee8-Jul-08 4:52
eyeseetee8-Jul-08 4:52 
GeneralRe: add javascript function for whole page Pin
eyeseetee8-Jul-08 5:07
eyeseetee8-Jul-08 5:07 
QuestionThe underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel Pin
Bluebamboo8-Jul-08 2:46
Bluebamboo8-Jul-08 2:46 
QuestionProblem saving a resized image - HELP!! Pin
Member 34028868-Jul-08 2:38
Member 34028868-Jul-08 2:38 
I now have a problem with a piece of code which worked before!

My code to get an image object from a directory is:

System.Drawing.Image fullSizeImg = System.Drawing.Image.FromFile(imgFullPath);

Then I resize it as follows:

System.Drawing.Image thumbNailImg = fullSizeImg.GetThumbnailImage(newWidth, newHeight, new System.Drawing.Image.GetThumbnailImageAbort(ThumbnailCallback), IntPtr.Zero);

In the debugger, fullSizeImg and thumbNailImg are {System.Drawing.Bitmap} so they must be ok. However, when I use the following code to save the image:

thumbNailImg.Save(fullPath);

I get the error message:
CS0103: The name 'thumbNailImg' does not exist in the current context

However, if I try and save the fullSizeImg (before resizing) this works fine, so I'm totally confused and desperate for help!Confused | :confused:
AnswerRe: Problem saving a resized image - HELP!! Pin
windhopper8-Jul-08 2:46
windhopper8-Jul-08 2:46 
GeneralRe: Problem saving a resized image - HELP!! Pin
Member 34028868-Jul-08 2:52
Member 34028868-Jul-08 2:52 
GeneralRe: Problem saving a resized image - HELP!! Pin
Herman<T>.Instance8-Jul-08 2:55
Herman<T>.Instance8-Jul-08 2:55 
GeneralRe: Problem saving a resized image - HELP!! Pin
Member 34028868-Jul-08 3:01
Member 34028868-Jul-08 3:01 
GeneralRe: Problem saving a resized image - HELP!! Pin
Sherin Iranimose8-Jul-08 3:03
Sherin Iranimose8-Jul-08 3:03 
GeneralRe: Problem saving a resized image - HELP!! Pin
Member 34028868-Jul-08 3:19
Member 34028868-Jul-08 3:19 
GeneralRe: Problem saving a resized image - HELP!! Pin
Sherin Iranimose8-Jul-08 4:24
Sherin Iranimose8-Jul-08 4:24 
GeneralRe: Problem saving a resized image - HELP!! Pin
Member 34028868-Jul-08 22:42
Member 34028868-Jul-08 22:42 
GeneralRe: Problem saving a resized image - HELP!! Pin
Sherin Iranimose8-Jul-08 3:02
Sherin Iranimose8-Jul-08 3:02 
AnswerRe: Problem saving a resized image - HELP!! Pin
N a v a n e e t h8-Jul-08 3:21
N a v a n e e t h8-Jul-08 3:21 
QuestionHow to convert decimal ? Pin
King Shez8-Jul-08 2:37
King Shez8-Jul-08 2:37 
AnswerRe: How to convert decimal ? Pin
Herman<T>.Instance8-Jul-08 2:53
Herman<T>.Instance8-Jul-08 2:53 
GeneralRe: How to convert decimal ? Pin
King Shez8-Jul-08 3:02
King Shez8-Jul-08 3:02 
GeneralRe: How to convert decimal ? Pin
King Shez8-Jul-08 3:03
King Shez8-Jul-08 3:03 
GeneralRe: How to convert decimal ? Pin
Herman<T>.Instance8-Jul-08 3:07
Herman<T>.Instance8-Jul-08 3:07 
GeneralRe: How to convert decimal ? Pin
King Shez8-Jul-08 3:09
King Shez8-Jul-08 3:09 
Questiondate function in as p.net 2.0 Pin
vijaylumar8-Jul-08 2:35
vijaylumar8-Jul-08 2:35 

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.