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

C#

 
AnswerRe: microsoft.pointofservice.dll Pin
Cimperiali4-Mar-09 21:49
Cimperiali4-Mar-09 21:49 
QuestionDynamic crystal report Pin
Butterfly_h29-Jan-07 6:45
Butterfly_h29-Jan-07 6:45 
Questioncustom user control Pin
netJP12L29-Jan-07 6:35
netJP12L29-Jan-07 6:35 
AnswerRe: custom user control Pin
Not Active29-Jan-07 7:28
mentorNot Active29-Jan-07 7:28 
Questionswitching resources - at design time or compile time Pin
BlackDice29-Jan-07 6:09
BlackDice29-Jan-07 6:09 
AnswerRe: switching resources - at design time or compile time Pin
Luc Pattyn29-Jan-07 6:31
sitebuilderLuc Pattyn29-Jan-07 6:31 
GeneralRe: switching resources - at design time or compile time Pin
BlackDice29-Jan-07 7:44
BlackDice29-Jan-07 7:44 
GeneralRe: switching resources - at design time or compile time [modified] Pin
Luc Pattyn29-Jan-07 8:11
sitebuilderLuc Pattyn29-Jan-07 8:11 
Well, I have not done this myself, but this is how I understand it:
- you make a new project targetting a dll instead of an exe,
and you add your images to that project just as you did so far for your exe project
- in your existing exe project, you remove the images you currently have as resources;
and you add code to decide which image dll is required (assuming you did build more than
one image dll), you then load it dynamically, and then get the images from there.
For dynamic dll load, and how to get at its content, please search "late binding" on CP.

Come to think of it, there must be yet another alternative, based on internationalization;
this is an official mechanism to support alternate sets of resources, normally intended
to easily port your app to other languages/countries without changing the main code.
I guess you could use it to just substitute alternate sets of images (and maybe some strings,
such as company name).
This too I have never done, and it also involves extra dlls, so it is very similar (if not
identical) to what I described earlier. One possible difference is internationalization
also supports a "default" country/language, which can be built-in (i.e. when no country-specific
dlls are available or selected). More on this surely in the MS documentation.

Smile | :)


-- modified at 14:22 Monday 29th January, 2007

Luc Pattyn

QuestionC# problem! Pin
TuanNH8529-Jan-07 5:50
TuanNH8529-Jan-07 5:50 
AnswerRe: C# problem! Pin
Colin Angus Mackay29-Jan-07 5:58
Colin Angus Mackay29-Jan-07 5:58 
GeneralRe: C# problem! Pin
TuanNH8529-Jan-07 6:11
TuanNH8529-Jan-07 6:11 
GeneralRe: C# problem! Pin
Christian Graus29-Jan-07 9:09
protectorChristian Graus29-Jan-07 9:09 
QuestionHow do I create an XML file from a datatable based off a schema file ? Pin
csharpguyfromde29-Jan-07 4:52
csharpguyfromde29-Jan-07 4:52 
QuestionCode sample of Printing a panel Pin
Rick van Woudenberg29-Jan-07 4:34
Rick van Woudenberg29-Jan-07 4:34 
AnswerRe: Code sample of Printing a panel Pin
Robert Rohde29-Jan-07 4:59
Robert Rohde29-Jan-07 4:59 
AnswerRe: Code sample of Printing a panel Pin
netJP12L29-Jan-07 5:25
netJP12L29-Jan-07 5:25 
QuestionHow do you create a colored border for label control Pin
ssmerk29-Jan-07 4:04
ssmerk29-Jan-07 4:04 
AnswerRe: How do you create a colored border for label control Pin
bobsugar22229-Jan-07 4:13
bobsugar22229-Jan-07 4:13 
GeneralRe: How do you create a colored border for label control Pin
ssmerk29-Jan-07 6:14
ssmerk29-Jan-07 6:14 
GeneralRe: How do you create a colored border for label control Pin
ssmerk30-Jan-07 2:00
ssmerk30-Jan-07 2:00 
Questiontreeview as a treenode Pin
Alaric_29-Jan-07 3:53
professionalAlaric_29-Jan-07 3:53 
AnswerRe: treeview as a treenode Pin
bobsugar22229-Jan-07 4:06
bobsugar22229-Jan-07 4:06 
GeneralRe: treeview as a treenode Pin
Alaric_29-Jan-07 4:52
professionalAlaric_29-Jan-07 4:52 
GeneralRe: treeview as a treenode Pin
bobsugar22229-Jan-07 5:17
bobsugar22229-Jan-07 5:17 
GeneralRe: treeview as a treenode Pin
Alaric_29-Jan-07 5:24
professionalAlaric_29-Jan-07 5:24 

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.