473,414 Members | 1,980 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,414 software developers and data experts.

Loading Resource

Hi all
I have some resources for some languages.
1-To create diffrent resources,Do I have to use VC++ environment or Can I
create them from C#?
2-How can I load different resources dynamically?
thx :)
Nov 17 '05 #1
3 1316
What do you mean by resources? If DLLs, just include them as
references. If an image, add the image to your project and set its
build action to embed resource -
http://msdn.microsoft.com/library/de...sInProject.asp.

To load DLLs or invoke methods in other assemblies dynamically for
example, use reflection. Take a look at these snippets:

http://weblogs.asp.net/rosherove/articles/7610.aspx

http://my.execpc.com/~gopalan/dotnet/reflection.html

http://www.codeproject.com/csharp/IntroReflection.asp

Brett

Nov 17 '05 #2
I mean resource file (*.rc) like sting table ,ico,image,cursor.
"Brett Romero" <ac*****@cygen.com> wrote in message
news:11**********************@g44g2000cwa.googlegr oups.com...
What do you mean by resources? If DLLs, just include them as
references. If an image, add the image to your project and set its
build action to embed resource -
http://msdn.microsoft.com/library/de...us/vbcon/html/
vbtskEmbeddingImageResourcesInProject.asp.
To load DLLs or invoke methods in other assemblies dynamically for
example, use reflection. Take a look at these snippets:

http://weblogs.asp.net/rosherove/articles/7610.aspx

http://my.execpc.com/~gopalan/dotnet/reflection.html

http://www.codeproject.com/csharp/IntroReflection.asp

Brett

Nov 17 '05 #3
This might provide some help -
http://blogs.msdn.com/grantri/archiv...05/108049.aspx
and from MSDN -
http://msdn2.microsoft.com/library/8...us,vs.80).aspx.

It seems as though the process is to turn it into a res file by using a
stand alone compiler. Then the res file can be integrated into the
VS.NET project.

Brett

Nov 17 '05 #4

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

Similar topics

1
by: Cindy Lee | last post by:
I need to insert rows into MySql database from oracle, which I imagine is a rather common task. The path I decided to take is write a java procedure, as recommended in the manual. However, java...
4
by: Adrian MacNair | last post by:
Hi, I created an image gallery which displays 63 images in a slideshow. The problem is that the show was slow because each image loaded one at a time during the show. No problem right? I just...
5
by: Drew | last post by:
Assembly asm = Assembly.GetExecutingAssembly(); me = new Bitmap(asm.GetManifestResourceStream("me.gif")); I have used this before without any problem, but now I get: An unhandled exception...
7
by: Christofer Dutz | last post by:
Hi, I am trying to read a XML-File which I marked as embedded resource from within the code of my DLL. Unfortunately it doesn't work. On my search for the error I inserted some code for...
0
by: Jason | last post by:
I am loading a resource manager object (Resources.ResourceManager.CreateFileBasedResourceManager (resourceName, ".", Nothing) ) and there are no problems. However, when I try to access a key...
0
by: npthomson | last post by:
Hi all, This could get a bit complicated but I'll try to be as clear as possible. I've written an application that discovers plugins at runtime using reflection from a subdirectory of the...
2
by: boczek | last post by:
Hello all. I'm writing a small async webapp. in JavaScript and I'm using <script> element technique to load data. I'm usign <scriptbecause of cross domain restrictions with XmlRequest. The...
6
by: ernesto.tejeda | last post by:
Hello, I have a couple of questions regarding the loading of .js files for the browser and would like anyone to point me wher to find the answer (or if you know the answer and tell me will do just...
1
by: FreeXenon | last post by:
OK, I am having a lot of problems loading an XML file via a Server-Side JavaScript based ASP page. Below is the code that I am using as well as the different methods of loading the XML file and the...
2
by: Nader | last post by:
I'm trying to use satellite assemblies in my web application. I got a problem with loading resource files. I have the falowing code: protected ResourceManager GetStrings = new...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.