Click here to Skip to main content
15,914,488 members
Home / Discussions / C#
   

C#

 
GeneralAngry DBA Pin
Anonymous6-Jan-05 14:26
Anonymous6-Jan-05 14:26 
GeneralImageList - MissingMainfest exception Pin
Christian Graus6-Jan-05 12:24
protectorChristian Graus6-Jan-05 12:24 
GeneralRe: ImageList - MissingMainfest exception Pin
Heath Stewart6-Jan-05 13:16
protectorHeath Stewart6-Jan-05 13:16 
GeneralRe: ImageList - MissingMainfest exception Pin
Christian Graus6-Jan-05 13:24
protectorChristian Graus6-Jan-05 13:24 
GeneralRe: ImageList - MissingMainfest exception Pin
Christian Graus6-Jan-05 13:49
protectorChristian Graus6-Jan-05 13:49 
GeneralRe: ImageList - MissingMainfest exception Pin
Heath Stewart6-Jan-05 13:59
protectorHeath Stewart6-Jan-05 13:59 
GeneralRe: ImageList - MissingMainfest exception Pin
Christian Graus6-Jan-05 14:08
protectorChristian Graus6-Jan-05 14:08 
GeneralRe: ImageList - MissingMainfest exception Pin
Heath Stewart6-Jan-05 14:49
protectorHeath Stewart6-Jan-05 14:49 
Then in your DetailsActions.cs (assuming similar class and filename) do this:
new ResourceManager(typeof(DetailsActions))
The ResourceManager uses the Type namespace and class name and appends ".resources" to get the resource. If you were to specify the resource yourself, you would have to do:
new ResourceManager("RDC.controls.DetailsActions.resources", Assembly.GetExecutingAssembly());
Though the example isn't right, you might - for sanity's sake - look in the ResX file to make sure a data name with "imageList1.Images" (or whatever the key is) exists in the file.

Any class defaults to using the project's root namespace (configured in the project) + any folders. This is for C#. VB.NET, on the other hand, builds the namespace up for each folder and is not cummulative. Make sure your class files don't repeat namespace parts for folder that already exist.

Resources, in both cases, are handled like classes in VB.NET: the "namespace" is built from the project root namespace + any folders down the line to the file to embed.

This posting is provided "AS IS" with no warranties, and confers no rights.

Software Design Engineer
Developer Division Sustained Engineering
Microsoft

[My Articles] [My Blog]
GeneralRe: ImageList - MissingMainfest exception Pin
Christian Graus6-Jan-05 14:54
protectorChristian Graus6-Jan-05 14:54 
GeneralRe: ImageList - MissingMainfest exception Pin
Heath Stewart6-Jan-05 15:00
protectorHeath Stewart6-Jan-05 15:00 
GeneralRe: ImageList - MissingMainfest exception Pin
Christian Graus6-Jan-05 15:07
protectorChristian Graus6-Jan-05 15:07 
GeneralRe: ImageList - MissingMainfest exception Pin
Heath Stewart6-Jan-05 15:48
protectorHeath Stewart6-Jan-05 15:48 
GeneralRe: ImageList - MissingMainfest exception Pin
Christian Graus6-Jan-05 21:21
protectorChristian Graus6-Jan-05 21:21 
GeneralRe: ImageList - MissingMainfest exception Pin
Heath Stewart7-Jan-05 5:49
protectorHeath Stewart7-Jan-05 5:49 
GeneralRe: ImageList - MissingMainfest exception Pin
Christian Graus7-Jan-05 10:46
protectorChristian Graus7-Jan-05 10:46 
GeneralRe: ImageList - MissingMainfest exception Pin
Russell Morris7-Jan-05 3:42
Russell Morris7-Jan-05 3:42 
GeneralRe: ImageList - MissingMainfest exception Pin
Heath Stewart7-Jan-05 5:50
protectorHeath Stewart7-Jan-05 5:50 
GeneralRe: ImageList - MissingMainfest exception Pin
Andy Brummer7-Jan-05 5:59
sitebuilderAndy Brummer7-Jan-05 5:59 
Generalsimple chat........ Pin
Sakkijha6-Jan-05 10:17
Sakkijha6-Jan-05 10:17 
GeneralRe: simple chat........ Pin
TyronX6-Jan-05 10:33
TyronX6-Jan-05 10:33 
GeneralRe: simple chat........ Pin
Sakkijha7-Jan-05 2:51
Sakkijha7-Jan-05 2:51 
GeneralRe: simple chat........ Pin
Heath Stewart6-Jan-05 13:18
protectorHeath Stewart6-Jan-05 13:18 
GeneralPoor Points Pin
TyronX6-Jan-05 10:05
TyronX6-Jan-05 10:05 
GeneralRe: Poor Points Pin
leppie6-Jan-05 11:46
leppie6-Jan-05 11:46 
GeneralRe: Poor Points Pin
leppie6-Jan-05 11:53
leppie6-Jan-05 11:53 

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.