Click here to Skip to main content
16,006,535 members
Home / Discussions / C#
   

C#

 
Questioncrestal report Pin
TAREQ F ABUZUHRI30-Aug-06 3:09
TAREQ F ABUZUHRI30-Aug-06 3:09 
Questionusing an eventhandler for a serialport Pin
Yustme30-Aug-06 2:52
Yustme30-Aug-06 2:52 
QuestionHow to insert data in a sql database from datagrid column Pin
choopie30-Aug-06 2:41
choopie30-Aug-06 2:41 
AnswerRe: How to insert data in a sql database from datagrid column Pin
mikone30-Aug-06 2:58
mikone30-Aug-06 2:58 
GeneralRe: How to insert data in a sql database from datagrid column Pin
choopie30-Aug-06 3:12
choopie30-Aug-06 3:12 
GeneralRe: How to insert data in a sql database from datagrid column Pin
Tom Wright30-Aug-06 4:18
Tom Wright30-Aug-06 4:18 
QuestionGeneric Classes and Pointer to one of its Typeparameters [modified] Pin
mikone30-Aug-06 2:30
mikone30-Aug-06 2:30 
QuestionHow Microsoft does it? Pin
jayvardhanpatil30-Aug-06 0:36
jayvardhanpatil30-Aug-06 0:36 
Dear All,

I am creating a Image Library and want to know what can the best and standard procedure to do this.

Concept is to have all the images needed by all projects (dlls and exes) in the product at a central place (in a single DLL) making it easy to distribute and maintain.

There are 2 ways of doing this.
1) Creating a new project, add all the images to it using "Add Existing Item" and set Build Action=Embeded Resource for each image.
OR
2) Creating a new project>Add new Item>Resources File and then adding all the images to it and setting Build Action=Embeded Resource for each image. Doing this will provide me a strongly typed DLL which will provide a property like access to all images. But .resx are mainly for localization. And here I am not localizing images.

My question is what is the standard way of doing this?
Do you guys know pros or cons of any of these methods?
Is anybody there knowing how Microsoft do it??? (When they need to create an image library)
Any links or articles for this?
Most important is, will the second (2) way will have any negative effect on start up time?

Regards,
----------------------------------------------------------------------------------
Jayvardhan Patil.

QuestionGetting Icon information from which an application is run Pin
Sgg24530-Aug-06 0:10
Sgg24530-Aug-06 0:10 
AnswerRe: Getting Icon information from which an application is run Pin
leppie30-Aug-06 0:59
leppie30-Aug-06 0:59 
QuestionIs it possible to serialise this in C#? [modified] Pin
stevenykl29-Aug-06 23:46
stevenykl29-Aug-06 23:46 
AnswerRe: Is it possible to serialise this in C#? Pin
Andrei Ungureanu29-Aug-06 23:56
Andrei Ungureanu29-Aug-06 23:56 
GeneralRe: Is it possible to serialise this in C#? Pin
stevenykl30-Aug-06 0:11
stevenykl30-Aug-06 0:11 
QuestionRegarting tree view Drag drop Pin
chandler8329-Aug-06 22:32
chandler8329-Aug-06 22:32 
QuestionDrawing Pin
Vsree29-Aug-06 22:03
Vsree29-Aug-06 22:03 
AnswerRe: Drawing Pin
Andrei Ungureanu29-Aug-06 23:39
Andrei Ungureanu29-Aug-06 23:39 
GeneralRe: Drawing Pin
Vsree30-Aug-06 0:06
Vsree30-Aug-06 0:06 
GeneralRe: Drawing Pin
Andrei Ungureanu30-Aug-06 0:22
Andrei Ungureanu30-Aug-06 0:22 
GeneralRe: Drawing Pin
Robert Rohde30-Aug-06 5:05
Robert Rohde30-Aug-06 5:05 
QuestionWM_SETFOCUS? Pin
wbjohnson29-Aug-06 22:01
wbjohnson29-Aug-06 22:01 
AnswerRe: WM_SETFOCUS? Pin
mav.northwind30-Aug-06 9:47
mav.northwind30-Aug-06 9:47 
QuestionAGC Control Pin
Rahul.RK29-Aug-06 21:35
Rahul.RK29-Aug-06 21:35 
QuestionGet & Set Pin
Legolas_Bilbao29-Aug-06 21:15
Legolas_Bilbao29-Aug-06 21:15 
AnswerRe: Get & Set Pin
Kevin McFarlane29-Aug-06 22:33
Kevin McFarlane29-Aug-06 22:33 
AnswerRe: Get & Set Pin
Divyang Mithaiwala29-Aug-06 22:36
Divyang Mithaiwala29-Aug-06 22:36 

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.