Click here to Skip to main content
15,915,093 members
Home / Discussions / C#
   

C#

 
GeneralRe: casting from a byte array to a struct Pin
leppie24-Apr-03 8:47
leppie24-Apr-03 8:47 
General.dbf Creation Pin
Mark Sanders24-Apr-03 3:45
Mark Sanders24-Apr-03 3:45 
GeneralI Figured It Out Pin
Mark Sanders24-Apr-03 11:30
Mark Sanders24-Apr-03 11:30 
Generalflat scrollbars in datagrid Pin
Robert J24-Apr-03 0:24
Robert J24-Apr-03 0:24 
GeneralError in Image.save From PictureBox Pin
Ferec Bruno23-Apr-03 23:43
Ferec Bruno23-Apr-03 23:43 
GeneralRe: Error in Image.save From PictureBox Pin
apferreira24-Apr-03 8:14
apferreira24-Apr-03 8:14 
GeneralRe: Error in Image.save From PictureBox Pin
Steven Behnke25-Apr-03 10:23
Steven Behnke25-Apr-03 10:23 
GeneralRe: Error in Image.save From PictureBox Pin
apferreira26-Apr-03 0:08
apferreira26-Apr-03 0:08 
Yes, I have also used that technique of caching the Bitmap in a memoryStream. You can then dispose the bitmap object and work only with the memoryStream.

The only problem is that when working with large images (as was the case of my image processing program) this imposes a great cost in terms of memory:

1. All the bitmap info is in memory
2.Each time you want to display your bitmap in the screen you have to do something like pictureBox1.Image=Bitmap.FromStream(mStream,...)

So this is only a solution if the user has a lot of free memory or if the images he is working with are small.
QuestionHow to "disable" GAC functionalities for a shared library? Pin
EdgarBM23-Apr-03 23:11
EdgarBM23-Apr-03 23:11 
AnswerRe: How to "disable" GAC functionalities for a shared library? Pin
leppie24-Apr-03 7:12
leppie24-Apr-03 7:12 
QuestionMore than 2 packets in socket receive buffer, how can i only receive one? Pin
krisp23-Apr-03 22:51
krisp23-Apr-03 22:51 
GeneralXML, XSLT Documentation Pin
STW23-Apr-03 22:33
STW23-Apr-03 22:33 
GeneralDateFormat Pin
James McCutcheon23-Apr-03 17:19
James McCutcheon23-Apr-03 17:19 
GeneralRe: DateFormat Pin
James McCutcheon23-Apr-03 17:42
James McCutcheon23-Apr-03 17:42 
GeneralRe: DateFormat Pin
J. Dunlap23-Apr-03 17:58
J. Dunlap23-Apr-03 17:58 
QuestionHow to "kill" a socket Pin
nahumtakum23-Apr-03 12:22
nahumtakum23-Apr-03 12:22 
QuestionHow to display a panel and its contents in a ListBox/ListView Pin
bmasephol23-Apr-03 11:24
bmasephol23-Apr-03 11:24 
AnswerRe: How to display a panel and its contents in a ListBox/ListView Pin
J. Dunlap23-Apr-03 11:39
J. Dunlap23-Apr-03 11:39 
GeneralSending data from a Textbox to Access database Pin
trndbrg23-Apr-03 6:13
trndbrg23-Apr-03 6:13 
GeneralRe: Sending data from a Textbox to Access database Pin
krisp23-Apr-03 23:01
krisp23-Apr-03 23:01 
GeneralDateTime To Double Pin
Anonymous23-Apr-03 5:57
Anonymous23-Apr-03 5:57 
GeneralRe: DateTime To Double Pin
Alvaro Mendez23-Apr-03 10:39
Alvaro Mendez23-Apr-03 10:39 
GeneralCombo Box Problems Pin
Corey Embry23-Apr-03 4:35
sussCorey Embry23-Apr-03 4:35 
GeneralRe: Combo Box Problems Pin
Not Active23-Apr-03 5:31
mentorNot Active23-Apr-03 5:31 
GeneralRe: Combo Box Problems Pin
Corey Embry23-Apr-03 6:42
sussCorey Embry23-Apr-03 6:42 

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.