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

.NET (Core and Framework)

 
AnswerRe: How does Application.DoEvents work? Pin
englebart8-Sep-10 8:46
professionalenglebart8-Sep-10 8:46 
AnswerRe: How does Application.DoEvents work? Pin
Scott Barbour8-Sep-10 10:08
Scott Barbour8-Sep-10 10:08 
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 
Hello,
I want to load an JPEG image from file to a picturebox.
I know that i can load using :
VB.NET
Picturebox1.image = image.fromfile("D:\MyImage.jpg")


and

VB.NET
dim b as new bitmap("D:\MyImage.jpg")
Picturebox1.image = b


but when I loading image using these ways, it loads bitmap format and uses more RAM space. (e.g a 3MB JPEG file uses 40MB RAM after loading)
How Can I load the file with low RAM usage?

UPDATE : Microsoft Paint also use 40MB RAM After open that file, but Microsoft Photo viewer use very low RAM usage. How can I load images with low RAM usage????? Confused | :confused: Confused | :confused: Confused | :confused: Confused | :confused: Confused | :confused: Confused | :confused: Confused | :confused: Confused | :confused: Confused | :confused: Confused | :confused: Confused | :confused:
Regards.

Mehdi Ghiasi

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 
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 

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.