Jump to content

Resources

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
3 replies to this topic

#1
Guest_allen331_*

Guest_allen331_*
  • Guests
Hi.

ResxResourceWriter/Reader as well as ResourceManager classes.

There does not appear to be a way to remove a Resource from a .resx or .resource file?

They only have methods such as "AddResource"?


If there is a way to programatically remove a resource it would be appreciated.

Or is the only way to do this is to go into these files via some editor and remove them yourself?

Thanks.
Al

#2
Lop

Lop

    Speaks fluent binary

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,172 posts
I am a little confused by the question. Do you want to remove a resource such as a combobox?

#3
Void

Void

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 411 posts
http://msdn2.microso...rcemanager.aspx is all I could find. Are you adding images? Can you post your code?
Void

#4
Guest_allen331_*

Guest_allen331_*
  • Guests
Hi.

I have not written code, yet.

I was simply planning to create a .resx file or .resource file to give users the options of adding/removing images from an application.

The application would then load these same images the next time it ran.

I was planning to store these images in an resx file, but seeing there are only "addReource" methods, the resx file will only inappropriately get larger, hence there needed to be a way to remove files as well.

Seeing this may not possible I will think of another way.

Al