Click here to Skip to main content
15,905,071 members
Home / Discussions / C#
   

C#

 
GeneralRe: problem bringing over fullpath or parent nodes(files/folders) when drag/dropping from one TreeView to another Pin
Henry Minute20-Feb-09 4:02
Henry Minute20-Feb-09 4:02 
QuestionDatagridview Performance Pin
Member 202517619-Feb-09 23:20
Member 202517619-Feb-09 23:20 
AnswerRe: Datagridview Performance Pin
Eddy Vluggen19-Feb-09 23:57
professionalEddy Vluggen19-Feb-09 23:57 
QuestionHow to change value of "Combobox.MaxDropDownItems" Pin
abhiram_nayan19-Feb-09 22:45
abhiram_nayan19-Feb-09 22:45 
AnswerRe: How to change value of "Combobox.MaxDropDownItems" Pin
musefan19-Feb-09 23:31
musefan19-Feb-09 23:31 
AnswerRe: How to change value of "Combobox.MaxDropDownItems" Pin
GihanChandima9-Jan-11 19:25
GihanChandima9-Jan-11 19:25 
QuestionParameter is not valid (with bitmap) Pin
Matjaz-xyz19-Feb-09 22:36
Matjaz-xyz19-Feb-09 22:36 
AnswerRe: Parameter is not valid (with bitmap) Pin
Henry Minute20-Feb-09 0:53
Henry Minute20-Feb-09 0:53 
Since you are setting the second param (useIcm, i think) to false, omit it altogether.

Bitmap tif = new Bitmap(filename);


If you still get the error, then it is likely that the tif file has been created in an unorthodox (to MS, at least) way.

As far as using streams is concerned try something like:
Bitmap tif = null;
using (FileStream fs = new FileStream(filename, FileMode.Open))
{
    tif = new Bitmap(fs);
}


Henry Minute

Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”

QuestionScroll tableLayoutPanel Pin
anishkannan19-Feb-09 21:54
anishkannan19-Feb-09 21:54 
AnswerRe: Scroll tableLayoutPanel Pin
Henry Minute20-Feb-09 0:39
Henry Minute20-Feb-09 0:39 
QuestionError in using SpeechLib namespace Pin
ReachMe@CodeProject19-Feb-09 21:52
ReachMe@CodeProject19-Feb-09 21:52 
AnswerRe: Error in using SpeechLib namespace Pin
MumbleB19-Feb-09 22:12
MumbleB19-Feb-09 22:12 
GeneralRe: Error in using SpeechLib namespace Pin
ReachMe@CodeProject19-Feb-09 23:26
ReachMe@CodeProject19-Feb-09 23:26 
QuestionAuthentication premission to software [modified] Pin
lavankumar19-Feb-09 20:03
lavankumar19-Feb-09 20:03 
AnswerRe: Authentication premission to software Pin
Vimalsoft(Pty) Ltd19-Feb-09 20:51
professionalVimalsoft(Pty) Ltd19-Feb-09 20:51 
AnswerRe: Authentication premission to software Pin
Ashfield19-Feb-09 21:37
Ashfield19-Feb-09 21:37 
AnswerRe: Authentication premission to software Pin
dojohansen19-Feb-09 22:36
dojohansen19-Feb-09 22:36 
GeneralRe: Authentication premission to software Pin
Ashfield20-Feb-09 1:29
Ashfield20-Feb-09 1:29 
GeneralRe: Authentication premission to software Pin
dojohansen20-Feb-09 2:34
dojohansen20-Feb-09 2:34 
GeneralRe: Authentication premission to software Pin
Ashfield20-Feb-09 3:07
Ashfield20-Feb-09 3:07 
GeneralRe: Authentication premission to software [modified] Pin
dojohansen20-Feb-09 3:28
dojohansen20-Feb-09 3:28 
GeneralRe: Authentication premission to software Pin
Ashfield20-Feb-09 3:52
Ashfield20-Feb-09 3:52 
GeneralRe: Authentication premission to software Pin
dojohansen20-Feb-09 4:30
dojohansen20-Feb-09 4:30 
GeneralRe: Authentication premission to software Pin
Ashfield20-Feb-09 4:49
Ashfield20-Feb-09 4:49 
AnswerRe: Authentication premission to software Pin
dojohansen20-Feb-09 2:40
dojohansen20-Feb-09 2:40 

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.