Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Building Controls > Embedded resources and extened namespaces

Thread Tools

Embedded resources and extened namespaces

Philipp Seidel
Posts: n/a
Hi there!

I have a minor problem with embedded resources, which puzzles me quite a
I'd be glad if anyone can help me on this:

I've added a few files (images) to an assembly as embedded resources.
Within the project folder these files are in a subfolder named "images".

Now while trying to access them I expected to get them this way:

This is how it is explained in here:
Understanding Embedded Resources in Visual Studio .NET

But what I experience under VB.NET, ist that it is not possible to organize
embedded resources this way - meaning: the name space won't extend by the
name of the subfolder.

It's just this way:

This behavoir fits more to what is discribed this article:
How to Embed Resource Files in .NET Assemblies (cont'd)

Ok, so far you'd might think, that one of the authors is wrong.
But the answer is: No, they both seem to be right!

I have downloaded and tried a C#-example from Eric Woodroff:
A Resource Server Handler Class For Custom Controls

As you can see there, the namespace extends, as expected first.

This drives me nuts!!!

Is there a difference how VB.NET and C# handle embedded Resources?
Did I forget to configuere something?
Did I misunderstand something?

Please help me - otherwise I can't take off for the weekend!


Philipp Seidel

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
VPN concentrator extened key usage RJ45 Cisco 0 11-24-2006 11:00 AM
py2app question: Resources/Python -> Resources/lib/python2.4 Russell E. Owen Python 0 09-08-2006 08:08 PM
Problem/Error with Embedded Resources (Sound File) Vanessa ASP .Net 1 08-04-2005 03:23 PM
Any Macheads know how much an extened warranty is? I'm a Trampoline NZ Computing 8 01-27-2004 05:03 AM
Locating and matching resources in embedded and external resource files Johann Blake ASP .Net 0 12-17-2003 06:18 PM