🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.csharpbuilder.ide.general
1 messages
1 total messages Started by Art Sherwood Sat, 12 Nov 2005 00:41
Embedding arbitrary file as resource
#58
Author: Art Sherwood
Date: Sat, 12 Nov 2005 00:41
11 lines
1474 bytes
How can I embed an arbitrary file as a resource in C# project in D2005?

I can add the files to the project but the compiler does not know what to do 
with them.  I suppose it has something to do with the ContainerID attribute 
of the files in the project file list.  I know if I add a bitmap file to the 
project, it sets the ContainerID to "Bmp", likewise .resx files get a 
"ResXCompiler" ContainerID.  Is there a way I can add my own custom 
ContainerIDs?

Thanks
-Art 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads