Adding resource

  • Thread starter Thread starter Bern
  • Start date Start date
B

Bern

This message is probably out of topic but I get no response from the less
popular microsoft.public.dotnet.general newsgroup.

Is there a resource manager of some sort in VS C# .NET which you can use to
add resources such as icons, textfiles, etc. ? AS far as I see it, pictures
can only be added through the properties of controls such as
"BackgroundImage". I opened up the resource view and it is always blank. I
tried creating a .RESX file but when opened it, it is just some creepy
editor.
 
Hi Bern,

I've found the community member have provided some resource on the
ResEditor tool in dotnet.general group:

Resource Editor (RESEDITOR)
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cptutorials
/html/resource_editor__reseditor_.asp

It is a managed application which can help generate .resource file via
adding different kind of resource files(image, script file ...)
Also, we can also use the Assembly linker (al.exe) to emebeded resources
into assembly

#Assembly Linker (Al.exe)
http://msdn.microsoft.com/library/en-us/cptutorials/html/Assembly_Linker_Res
ources.asp?frame=true


In addition, if you're using VS.NET, we can use the "Add existing item"
menu to add a existing resource item( image , txt file ...) into the
project , then, set the file's "Build Action" as "embeded resource" so
that the item will be compiled as resource into our project's main assembly:
#HOW TO: Embed and Access Resources by Using Visual C# .NET
http://support.microsoft.com/default.aspx?scid=kb;en-us;319292

Hope these helps. Thanks.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 
Hi Bern,

Any progress or furthur ideas on this issue? If there're anything else we
can help, please feel free to post here.Thanks.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 
Back
Top