473,387 Members | 3,033 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Guidance on Identifying Resource

Hi,

I'm in a situation where I need the user to specify a resource in via XML
configuration. For example, they need to be able to specify an image
embedded in their assembly. I'm just wondering whether there's a standard
format for such strings as there is for types:

<config type="MyNamespace.MyType, MyAssembly"/>

I guess I need something like:

<config resource="MyResourceName, MyNamespace.MyType, MyAssembly"/>

Then I would extract out "MyResourceName" and load the type using
Type.GetType and then use a ResourceManager to load the resource called
"MyResourceName".

Can anyone offer any advice on whether my suggestion above is somewhat
standard, or whether there is a better way to do this?

Thanks,
Kent
Nov 22 '05 #1
0 987

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: David | last post by:
I know that identifying the user IP address with HTTP_SERVER_VARS; is reliant on the browser agent but I have stumpled upon the following code which I have tried to understand but failed! ...
0
by: Kent Boogaart | last post by:
Hi, I'm in a situation where I need the user to specify a resource in via XML configuration. For example, they need to be able to specify an image embedded in their assembly. I'm just wondering...
7
by: bill.brennum | last post by:
Hi, Have a number of Access Databases that I inherited and want to zip a few of them. My concern is that other active Microsoft Applications may be linking to the database or its tables. Is...
11
by: Ken Durden | last post by:
I am in search of a comprehensive methodology of using these two object cleanup approaches to get rid of a number of bugs, unpleasantries, and cleanup-ordering issues we currently have in our...
2
by: Tim Marsden | last post by:
Hi, Please excuse me, I am complete ASP novice. I use VB.NET in VS 2003. I am trying to achieve the following. Display a list of items, this list needs to be user specific, so my first...
0
by: Patrick.O.Ige | last post by:
This what i got from microsoft! GDluck Dear ASP.NET Customer, This alert is to advise you of the availability of a web page that discusses an investigation Microsoft is currently conducting...
5
by: jensen bredal | last post by:
I need to keep track on user "session data" while still turning session off as i do not want users login to expire? Thanks JB
0
by: JB | last post by:
I hope I can explain what it is I'm trying to do and hopefully someone can point me in the right direction. I'm using the activex control Windows Media Player, added to my toolbox by adding the...
0
by: skip | last post by:
The thread John Nagle started about building Python 2.5 on Fedora Core 6 led me to implement a slight change to Python's setup.py. You clearly can't have the build stop if the bits needed to build...
10
by: Frankie | last post by:
It appears that System.Random would provide an acceptable means through which to generate a unique value used to identify multiple/concurrent asynchronous tasks. The usage of the value under...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.