Click here to Skip to main content
15,903,201 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to Create icon Object from Stream ? Pin
Judah Gabriel Himango17-Oct-06 6:58
sponsorJudah Gabriel Himango17-Oct-06 6:58 
GeneralRe: How to Create icon Object from Stream ? Pin
hdv21217-Oct-06 7:56
hdv21217-Oct-06 7:56 
GeneralRe: How to Create icon Object from Stream ? Pin
Judah Gabriel Himango17-Oct-06 8:25
sponsorJudah Gabriel Himango17-Oct-06 8:25 
AnswerRe: How to Create icon Object from Stream ? Pin
Eric Dahlvang17-Oct-06 8:40
Eric Dahlvang17-Oct-06 8:40 
GeneralRe: How to Create icon Object from Stream ? Pin
hdv21217-Oct-06 11:40
hdv21217-Oct-06 11:40 
GeneralRe: How to Create icon Object from Stream ? Pin
Eric Dahlvang18-Oct-06 3:27
Eric Dahlvang18-Oct-06 3:27 
AnswerRe: How to Create icon Object from Stream ? Pin
panks_r17-Oct-06 18:59
panks_r17-Oct-06 18:59 
QuestionRe: How to Create icon Object from Stream ? Pin
hfrmobile27-Nov-06 7:04
hfrmobile27-Nov-06 7:04 
I need Icon.FromHandle() method in Compact Framework but the FromHandle() method is not supported by the CF 1.0! So I searched a while and found an article at OpenNETCF.org[^] which did it:

The code worked fine with PPC2002 and WM2003 but not works under WM2005...

There seems to be a problem with the palette colors... The icon can be displayed but with wrong colors or transparency is a problem.

1. The SDF uses CreateDIBSection() with a BITMAPINFOHEADER parameter but MSDN and function prototype says that it is a BITMAPINFO.

2. P/invoked BITMAPINFOHEADER is missing biClrUsed and biClrImportant

3. Correcting issues 1+2 does not solve the problem. Very strange: If the application was launched using the debugger it works (icon displayed correctly). If launched without debugging (from within VS) the colors are not correct (black instead of transparency)

The debugger seems to initialize something wich causes this behaviour but of course the app should be able to display the icons correctly without a debugger Wink | ;-)

Thx for some help!
QuestionNumerical Sort of DataTable Pin
bward8417-Oct-06 5:51
bward8417-Oct-06 5:51 
AnswerRe: Numerical Sort of DataTable Pin
Guffa17-Oct-06 7:06
Guffa17-Oct-06 7:06 
Questionimage FileNotFound exception on shared server? Pin
Goalie3517-Oct-06 5:40
Goalie3517-Oct-06 5:40 
AnswerRe: image FileNotFound exception on shared server? Pin
Judah Gabriel Himango17-Oct-06 7:30
sponsorJudah Gabriel Himango17-Oct-06 7:30 
GeneralRe: image FileNotFound exception on shared server? Pin
Goalie3517-Oct-06 8:26
Goalie3517-Oct-06 8:26 
GeneralRe: image FileNotFound exception on shared server? Pin
Larantz17-Oct-06 11:26
Larantz17-Oct-06 11:26 
QuestionProcess.WaitForInputIdle doesn't return Pin
Wjousts17-Oct-06 4:55
Wjousts17-Oct-06 4:55 
AnswerRe: Process.WaitForInputIdle doesn't return Pin
Wjousts17-Oct-06 5:29
Wjousts17-Oct-06 5:29 
GeneralRe: Process.WaitForInputIdle doesn't return Pin
Anthony Mushrow17-Oct-06 6:08
professionalAnthony Mushrow17-Oct-06 6:08 
GeneralRe: Process.WaitForInputIdle doesn't return Pin
Judah Gabriel Himango17-Oct-06 6:14
sponsorJudah Gabriel Himango17-Oct-06 6:14 
QuestionRegarding Reflections Pin
ParagGupta17-Oct-06 4:46
ParagGupta17-Oct-06 4:46 
AnswerRe: Regarding Reflections Pin
Anthony Mushrow17-Oct-06 6:04
professionalAnthony Mushrow17-Oct-06 6:04 
AnswerRe: Regarding Reflections Pin
Ed.Poore17-Oct-06 8:14
Ed.Poore17-Oct-06 8:14 
GeneralRe: Regarding Reflections Pin
ParagGupta17-Oct-06 20:57
ParagGupta17-Oct-06 20:57 
GeneralRe: Regarding Reflections Pin
Ed.Poore17-Oct-06 21:16
Ed.Poore17-Oct-06 21:16 
QuestionHow to GetType() a Nullable? Pin
Program.X17-Oct-06 4:13
Program.X17-Oct-06 4:13 
AnswerRe: How to GetType() a Nullable? Pin
Judah Gabriel Himango17-Oct-06 4:52
sponsorJudah Gabriel Himango17-Oct-06 4:52 

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.