Click here to Skip to main content
15,923,689 members
Home / Discussions / C#
   

C#

 
GeneralIcons from executable Pin
Nick Parker1-Jan-03 10:20
protectorNick Parker1-Jan-03 10:20 
GeneralRe: Icons from executable Pin
Stephane Rodriguez.1-Jan-03 10:31
Stephane Rodriguez.1-Jan-03 10:31 
GeneralRe: Icons from executable Pin
Nick Parker1-Jan-03 10:43
protectorNick Parker1-Jan-03 10:43 
GeneralRe: Icons from executable Pin
Stephane Rodriguez.1-Jan-03 19:05
Stephane Rodriguez.1-Jan-03 19:05 
GeneralRe: Icons from executable Pin
Nick Parker2-Jan-03 5:51
protectorNick Parker2-Jan-03 5:51 
GeneralRe: Icons from executable Pin
Stephane Rodriguez.2-Jan-03 10:05
Stephane Rodriguez.2-Jan-03 10:05 
GeneralRe: Icons from executable Pin
Nick Parker2-Jan-03 11:43
protectorNick Parker2-Jan-03 11:43 
GeneralRe: Icons from executable Pin
Stephane Rodriguez.2-Jan-03 18:58
Stephane Rodriguez.2-Jan-03 18:58 
Nick Parker wrote:
That is what I am doing, correct?

Unfortunately no. 0x0010 = LR_LOADFROMFILE, thus wrt this you should be passing a filename pointing to an actual .bmp, .cur or .ico file. Which you don't, since you are passing a .dll/.exe filename instead.


Nick Parker wrote:
I need to switch the 2nd param to a resource ID huh?

We are not talking about ConvertToString, which is the equivalent of VB's STR$().
MAKEINTRESOURCE makes an int looks like a pointer to a string. That's obtained by casting an int to an IntPtr.

At this point, you shouldn't bother that much about all this. Just lookup Cp, MSDDEV samples, and Google with either of those keywords : LoadIcon, LoadImage.
QuestionmySQL, what do you think? Pin
Jassim Rahma1-Jan-03 3:59
Jassim Rahma1-Jan-03 3:59 
AnswerRe: mySQL, what do you think? Pin
David Stone1-Jan-03 6:14
sitebuilderDavid Stone1-Jan-03 6:14 
AnswerRe: mySQL, what do you think? Pin
Adrian Hall2-Jan-03 10:43
Adrian Hall2-Jan-03 10:43 
GeneralRe: mySQL, what do you think? Pin
Jassim Rahma3-Jan-03 0:36
Jassim Rahma3-Jan-03 0:36 
GeneralRe: mySQL, what do you think? Pin
Adrian Hall3-Jan-03 5:15
Adrian Hall3-Jan-03 5:15 
Questionhotmail.com database? Pin
Jassim Rahma1-Jan-03 3:56
Jassim Rahma1-Jan-03 3:56 
AnswerRe: hotmail.com database? Pin
Mike Epprecht1-Jan-03 8:02
Mike Epprecht1-Jan-03 8:02 
GeneralRe: hotmail.com database? Pin
SimonS2-Jan-03 22:41
SimonS2-Jan-03 22:41 
GeneralRe: hotmail.com database? Pin
Adrian Hall3-Jan-03 5:26
Adrian Hall3-Jan-03 5:26 
GeneralVS Installers Pin
Jassim Rahma1-Jan-03 3:53
Jassim Rahma1-Jan-03 3:53 
QuestionHow can I trace a windows installer project? Pin
mkomasi31-Dec-02 22:48
mkomasi31-Dec-02 22:48 
AnswerRe: How can I trace a windows installer project? Pin
Stephane Rodriguez.31-Dec-02 23:11
Stephane Rodriguez.31-Dec-02 23:11 
GeneralRe: How can I trace a windows installer project? Pin
mkomasi1-Jan-03 1:48
mkomasi1-Jan-03 1:48 
GeneralRe: How can I trace a windows installer project? Pin
Stephane Rodriguez.1-Jan-03 2:08
Stephane Rodriguez.1-Jan-03 2:08 
GeneralRe: How can I trace a windows installer project? Pin
Anonymous2-Jan-03 1:59
Anonymous2-Jan-03 1:59 
GeneralComboBox FixedHeight Pin
theahmed31-Dec-02 21:07
theahmed31-Dec-02 21:07 
GeneralRe: ComboBox FixedHeight Pin
Stephane Rodriguez.31-Dec-02 21:46
Stephane Rodriguez.31-Dec-02 21:46 

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.