Click here to Skip to main content
15,891,567 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: How does Application.DoEvents work? Pin
MicroVirus10-Sep-10 12:41
MicroVirus10-Sep-10 12:41 
QuestionCalendarExtender popup appearing when Enter key is pressed Pin
dev_asp_shreshtha6-Sep-10 1:09
dev_asp_shreshtha6-Sep-10 1:09 
AnswerRe: CalendarExtender popup appearing when Enter key is pressed Pin
Pete O'Hanlon6-Sep-10 1:30
mvePete O'Hanlon6-Sep-10 1:30 
QuestionNot able to delete original jpeg file after it is copied with System.IO.File.Copy() Pin
Aseem Sharma5-Sep-10 6:43
Aseem Sharma5-Sep-10 6:43 
AnswerCross post/re-post Pin
Not Active5-Sep-10 7:14
mentorNot Active5-Sep-10 7:14 
QuestionLoad image problem Pin
Mehdi Ghiasi3-Sep-10 5:05
Mehdi Ghiasi3-Sep-10 5:05 
AnswerRe: Load image problem Pin
Dave Kreskowiak3-Sep-10 6:29
mveDave Kreskowiak3-Sep-10 6:29 
AnswerRe: Load image problem Pin
Luc Pattyn3-Sep-10 6:48
sitebuilderLuc Pattyn3-Sep-10 6:48 
if, I repeat: if, your PictureBox is significantly smaller than the original image, then you could solve your problem by creating a new and smaller image, like so:
Bitmap bm1=Bitmap.FromFile(filespec);
Bitmap bm2=new Bitmap(bm1, myPictureBox.Size);
bm1.Dispose();
myPictureBox.Image=bm2;


if not, there's nothing much you can do about it, as .NET keeps images in RAM as real bitmaps (normally 4B/px).

Smile | :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.


QuestionRe: Load image problem [modified] Pin
Mehdi Ghiasi3-Sep-10 15:09
Mehdi Ghiasi3-Sep-10 15:09 
AnswerRe: Load image problem Pin
Dave Kreskowiak3-Sep-10 18:17
mveDave Kreskowiak3-Sep-10 18:17 
QuestionHow to deploy an application along with .net framework Pin
NarVish3-Sep-10 2:13
NarVish3-Sep-10 2:13 
AnswerRe: How to deploy an application along with .net framework Pin
Not Active3-Sep-10 2:22
mentorNot Active3-Sep-10 2:22 
GeneralRe: How to deploy an application along with .net framework Pin
NarVish3-Sep-10 3:16
NarVish3-Sep-10 3:16 
GeneralRe: How to deploy an application along with .net framework Pin
Not Active3-Sep-10 4:05
mentorNot Active3-Sep-10 4:05 
GeneralRe: How to deploy an application along with .net framework Pin
NarVish5-Sep-10 19:37
NarVish5-Sep-10 19:37 
AnswerRe: How to deploy an application along with .net framework Pin
RaviRanjanKr21-Dec-10 3:57
professionalRaviRanjanKr21-Dec-10 3:57 
QuestionProperty 'To' is 'ReadOnly'. Pin
DeepshikhaJohar2-Sep-10 20:51
DeepshikhaJohar2-Sep-10 20:51 
AnswerRe: Property 'To' is 'ReadOnly'. Pin
SeMartens2-Sep-10 21:47
SeMartens2-Sep-10 21:47 
AnswerRe: Property 'To' is 'ReadOnly'. Pin
Pete O'Hanlon2-Sep-10 22:57
mvePete O'Hanlon2-Sep-10 22:57 
AnswerRe: Property 'To' is 'ReadOnly'. Pin
Luc Pattyn3-Sep-10 3:11
sitebuilderLuc Pattyn3-Sep-10 3:11 
JokeRe: Property 'To' is 'ReadOnly'. Pin
Not Active3-Sep-10 4:08
mentorNot Active3-Sep-10 4:08 
GeneralRe: Property 'To' is 'ReadOnly'. Pin
Luc Pattyn3-Sep-10 4:14
sitebuilderLuc Pattyn3-Sep-10 4:14 
JokeRe: Property 'To' is 'ReadOnly'. Pin
Not Active3-Sep-10 4:29
mentorNot Active3-Sep-10 4:29 
GeneralRe: Property 'To' is 'ReadOnly'. Pin
Luc Pattyn3-Sep-10 4:31
sitebuilderLuc Pattyn3-Sep-10 4:31 
QuestionCustom ACLs / WPF GUI without PInvokes - Any interests? [modified] Pin
Tobias Punke2-Sep-10 6:35
Tobias Punke2-Sep-10 6: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.