Click here to Skip to main content
15,890,845 members
Home / Discussions / C#
   

C#

 
AnswerRe: Question With Crystal Report Pin
V.9-Jan-11 20:07
professionalV.9-Jan-11 20:07 
Questionmessenger with eboard Pin
om_metab9-Jan-11 4:08
om_metab9-Jan-11 4:08 
AnswerRe: messenger with eboard PinPopular
Richard MacCutchan9-Jan-11 4:24
mveRichard MacCutchan9-Jan-11 4:24 
AnswerRe: messenger with eboard PinPopular
Pete O'Hanlon9-Jan-11 9:30
mvePete O'Hanlon9-Jan-11 9:30 
GeneralRe: messenger with eboard Pin
fjdiewornncalwe25-Feb-11 10:51
professionalfjdiewornncalwe25-Feb-11 10:51 
AnswerRe: messenger with eboard PinPopular
Dave Kreskowiak9-Jan-11 10:36
mveDave Kreskowiak9-Jan-11 10:36 
QuestionAn Error Occured While Saving Scan Image Pin
Sanket.Patil9-Jan-11 0:30
Sanket.Patil9-Jan-11 0:30 
AnswerRe: An Error Occured While Saving Scan Image Pin
Dave Kreskowiak9-Jan-11 3:39
mveDave Kreskowiak9-Jan-11 3:39 
Without seeing the code where the error occurs, we're just guessing at this.

But, from your vague description, it sounds like you loaded a file using the FromFile method of a Bitmap object and now are trying to save that same file to it's original filename. This doesn't work because the file is locked open for the entire lifetime of the Bitmap object.

To get around this, you open the file using a FileStream object, then pass that stream to the contructor of your bitmap object, then close the file. This prevents the file from being locked and will allow you to dave the new image back to the original filename.

AnswerRe: An Error Occured While Saving Scan Image Pin
Abhinav S9-Jan-11 5:54
Abhinav S9-Jan-11 5:54 
AnswerRe: An Error Occured While Saving Scan Image Pin
RaviRanjanKr12-Jan-11 9:21
professionalRaviRanjanKr12-Jan-11 9:21 
QuestionWorking with wmp playlist Pin
polycom1238-Jan-11 22:42
polycom1238-Jan-11 22:42 
AnswerRe: Working with wmp playlist Pin
Henry Minute9-Jan-11 7:20
Henry Minute9-Jan-11 7:20 
AnswerRe: Working with wmp playlist Pin
Dalek Dave9-Jan-11 13:46
professionalDalek Dave9-Jan-11 13:46 
QuestionParameterized Query ........... which was not supplied Pin
Honeyboy_208-Jan-11 12:38
Honeyboy_208-Jan-11 12:38 
AnswerRe: Parameterized Query ........... which was not supplied PinPopular
Richard Andrew x648-Jan-11 12:49
professionalRichard Andrew x648-Jan-11 12:49 
GeneralRe: Parameterized Query ........... which was not supplied Pin
Honeyboy_208-Jan-11 12:59
Honeyboy_208-Jan-11 12:59 
AnswerRe: Parameterized Query ........... which was not supplied PinPopular
Luc Pattyn8-Jan-11 13:13
sitebuilderLuc Pattyn8-Jan-11 13:13 
GeneralRe: Parameterized Query ........... which was not supplied Pin
thatraja8-Jan-11 17:24
professionalthatraja8-Jan-11 17:24 
GeneralRe: Parameterized Query ........... which was not supplied Pin
Luc Pattyn8-Jan-11 17:29
sitebuilderLuc Pattyn8-Jan-11 17:29 
AnswerRe: Parameterized Query ........... which was not supplied Pin
Not Active9-Jan-11 4:44
mentorNot Active9-Jan-11 4:44 
QuestionXAML writer serialization limitation Pin
Serval Soft8-Jan-11 5:58
Serval Soft8-Jan-11 5:58 
AnswerRe: XAML writer serialization limitation Pin
jschell8-Jan-11 8:45
jschell8-Jan-11 8:45 
GeneralRe: XAML writer serialization limitation Pin
Serval Soft8-Jan-11 9:22
Serval Soft8-Jan-11 9:22 
GeneralRe: XAML writer serialization limitation Pin
Eddy Vluggen8-Jan-11 9:27
professionalEddy Vluggen8-Jan-11 9:27 
GeneralRe: XAML writer serialization limitation Pin
Serval Soft8-Jan-11 10:23
Serval Soft8-Jan-11 10:23 

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.