Click here to Skip to main content
15,910,234 members
Home / Discussions / C#
   

C#

 
GeneralRe: redirect shortcut key Pin
Alex Korchemniy17-Jul-05 14:32
Alex Korchemniy17-Jul-05 14:32 
GeneralRe: redirect shortcut key Pin
Sabry190517-Jul-05 21:20
Sabry190517-Jul-05 21:20 
Generalgetting registered file extensions Pin
g00fyman16-Jul-05 20:53
g00fyman16-Jul-05 20:53 
GeneralRe: getting registered file extensions Pin
g00fyman17-Jul-05 2:05
g00fyman17-Jul-05 2:05 
GeneralRe: getting registered file extensions Pin
g00fyman17-Jul-05 3:34
g00fyman17-Jul-05 3:34 
GeneralSHGetFileInfo icon and dispose Pin
CiNN16-Jul-05 17:03
CiNN16-Jul-05 17:03 
GeneralRe: SHGetFileInfo icon and dispose Pin
Alex Korchemniy17-Jul-05 14:35
Alex Korchemniy17-Jul-05 14:35 
GeneralRe: SHGetFileInfo icon and dispose Pin
CiNN17-Jul-05 15:06
CiNN17-Jul-05 15:06 
so should i

<br />
icotmp = FileGetIcon( fi.FullName, true );<br />
this.iconsListSmall.Images.Add( icotmp );<br />


<br />
DestroyIcon( icotmp.Handle );<br />


or

<br />
icotmp.Dispose();<br />


or should i free it in FileGetIcon() before returning the copied icon in a system.drawing.icon

<br />
FileGetIcon()<br />
..<br />
DestroyIcon( info.hIcon  );<br />
Icon ico = System.Drawing.Icon.FromHandle( info.hIcon );<br />
return ico;<br />

QuestionTake screenshots using C#? Pin
Lord Kixdemp16-Jul-05 16:25
Lord Kixdemp16-Jul-05 16:25 
AnswerRe: Take screenshots using C#? Pin
bneacetp16-Jul-05 17:02
bneacetp16-Jul-05 17:02 
GeneralRe: Take screenshots using C#? Pin
Lord Kixdemp16-Jul-05 18:45
Lord Kixdemp16-Jul-05 18:45 
QuestionPaint control? Pin
Lord Kixdemp16-Jul-05 16:18
Lord Kixdemp16-Jul-05 16:18 
AnswerRe: Paint control? Pin
Tomas Petricek17-Jul-05 1:53
Tomas Petricek17-Jul-05 1:53 
GeneralRe: Paint control? Pin
Lord Kixdemp17-Jul-05 6:11
Lord Kixdemp17-Jul-05 6:11 
GeneralAsynchronous Comms Pin
Anonymous16-Jul-05 13:15
Anonymous16-Jul-05 13:15 
Generalbandwidth usage Pin
Mohamad Al Husseiny16-Jul-05 10:37
Mohamad Al Husseiny16-Jul-05 10:37 
GeneralHelp with client server apps, please! Pin
Member 161964216-Jul-05 9:26
Member 161964216-Jul-05 9:26 
Generalauto select tree node Pin
Anonymous16-Jul-05 9:19
Anonymous16-Jul-05 9:19 
GeneralRe: auto select tree node Pin
Luis Alonso Ramos16-Jul-05 18:39
Luis Alonso Ramos16-Jul-05 18:39 
GeneralRe: auto select tree node Pin
Anonymous17-Jul-05 10:09
Anonymous17-Jul-05 10:09 
GeneralRe: auto select tree node Pin
Luis Alonso Ramos17-Jul-05 10:13
Luis Alonso Ramos17-Jul-05 10:13 
GeneralSecurity in Asp.net Pin
pakFari16-Jul-05 9:12
pakFari16-Jul-05 9:12 
GeneralRe: Security in Asp.net Pin
enjoycrack19-Jul-05 0:29
enjoycrack19-Jul-05 0:29 
GeneralImport a class that written with another language to the C# Pin
Member 202517616-Jul-05 8:59
Member 202517616-Jul-05 8:59 
GeneralRe: Import a class that written with another language to the C# Pin
S. Senthil Kumar16-Jul-05 9:08
S. Senthil Kumar16-Jul-05 9:08 

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.