Click here to Skip to main content
15,921,793 members
Home / Discussions / C#
   

C#

 
GeneralRe: Best way to accomplish... Pin
Matt Newman6-Jan-05 16:31
Matt Newman6-Jan-05 16:31 
GeneralRe: Best way to accomplish... Pin
Vega026-Jan-05 16:54
Vega026-Jan-05 16:54 
GeneralRe: Best way to accomplish... Pin
leppie6-Jan-05 20:27
leppie6-Jan-05 20:27 
Generalclear viewstate when postback Pin
esakal6-Jan-05 14:38
esakal6-Jan-05 14:38 
GeneralRe: clear viewstate when postback Pin
Heath Stewart6-Jan-05 14:52
protectorHeath Stewart6-Jan-05 14:52 
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 
The DetailsActions.resources - generated from DetailsActions.resx - was not embedded into the assembly. You won't see this by default in the IDE, so you'll need to go to Project->Show Hidden Files to see it. It should be nested under the form or control to which it's related. The images or image strip that you assigm to an ImageList is base64-encoded into a ResX file, which gets generated into a .resources file and embedded.

If you want to forego the ResX file, then add the images or image list to your project and set the Build Action to Embedded Resource. To create the image or images to add to the ImageList, use something like the following:
Image img;
using (Stream s = GetType().Assembly.GetManifestResourceStream("NameSpace.ImageStrip.png"))
  img = Image.FromStream(s);
Make sure that "NameSpace" is the fully-qualified namespace of the object you added. So, if your project's default namespace is "RDC" and your image was called "ImageStrip.png" under a folder named "Example", then the fully-qualified manifest resource name is "RDC.Example.ImageStrip.png". Any embedded resources - even .resources files - use this convention unless you explicitly embedded the resources into the assembly (i.e., not using VS.NET or re-assemblying the assembly).

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 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 
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 

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.