Click here to Skip to main content
15,921,062 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to show a hidden form? Pin
apferreira24-Apr-03 7:45
apferreira24-Apr-03 7:45 
GeneralRe: How to show a hidden form? Pin
Snowjim24-Apr-03 12:47
Snowjim24-Apr-03 12:47 
Generalcasting from a byte array to a struct Pin
jhreich24-Apr-03 4:12
jhreich24-Apr-03 4:12 
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 
in a pictureBox.Image, i put an picture by using memoryStream from a dataset connected to Sql Server.
when i navigate by a scrollBar from one record to another, picture is well displayed in the control
(setting to null value if no image in datarow, or reading memorystream if present)
if i modify picture by paste a new image or by reading a disk picture, saving it to another memorystream (or direct to disk also) by using image.save(stream,ImageFormat.xxx) or Image.Save("filename") is OK
but if i DON'T change picturebox.image and try an Image.Save() i get this :

System.InteropServices.ExternalException
generic error in GDI +

image length is zero kByte on disk (not writing) or corrupted in memoryStream...
I don't understand !! Cry | :((
an Idea ?? thanks

Bruno Ferec (bferec@eni-consulting.fr)
Technical manager
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 
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 

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.