473,387 Members | 1,641 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.

URGENT Help: Assembly reflexion problem

Hello

I have an application which works with plug-ins components that I load using follwoing code

AppDomain.CurrentDomain.AppendPrivatePath("." + Global.ENVIRONMENT_PATH.PLUGINS_FILE_PATH
obj = AppDomain.CurrentDomain.CreateInstanceFromAndUnwra p(FileName, "PluginApp.PlugInVideo

If I display the Appdomain.CurrentDomain.BaseDirectory it display m
application executable path with "\" at the en

Then I have try to append relative path a
AppDomain.CurrentDomain.AppenPrivatePath("PLugins" ) because all my plugin library will be located in PlugIn folde

I am able to load the assembly only if they belongs to same location as my executed application folder..
Plug in folder is not scan at all for reflexio

Do you have any ideas why

thnaks for your hel
Regard
serge
Jul 21 '05 #1
0 1172

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

Similar topics

4
by: serge calderara | last post by:
Dear all, I need to create an instance object of a library wit the following way: obj = AppDomain.CurrentDomain.CreateInstanceFromAndUnwrap ("Mylib.dll, "PluginApp.PlugIn") This works fine...
2
by: aerge calderara | last post by:
dear all, I am using the GetTypes method of an assembly object in order to check that it implement a particular needed interface for my application. ...
2
by: Serge calderara | last post by:
Hello, I have try to use the AppenPrivate path to current domain for assembly reflexion as follow : AppDomain.CurrentDomain.AppendPrivatePath( Global.ENVIRONMENT_PATH.PLUGINS_FILE_PATH) ...
2
by: Serge calderara | last post by:
Dear all I am using the following code in my applciation AppDomain.CurrentDomain.AppendPrivatePath("\Plugins" objDomain = AppDomain.CurrentDomain.CreateInstanceFromAndUnwrap(Name + ".dll",...
5
by: RickDee | last post by:
Please help, anybody. I am trying to write a program so that it can launch an exe file ( which is also genereated in C# ) and then simulate the button clicking and invoke the methods inside the...
4
by: Jie | last post by:
Hi, I am using Visual Studio .Net 2003 in XP environment. It keeps coming up the following error. So I have to restart the PC every time it comes. Please advise what is wrong with this. Thanks. ...
2
by: Jean-Yves | last post by:
Hi people. I am trying to replace the old CallByName function of VB6 with those of .NET I have a Class with a String Property and a Method with 3 arguments which returns a DateValue. How do I...
0
by: Serge calderara | last post by:
Hello I have an application which works with plug-ins components that I load using follwoing code AppDomain.CurrentDomain.AppendPrivatePath("." + Global.ENVIRONMENT_PATH.PLUGINS_FILE_PATH obj...
3
by: Bratislav Jevtic | last post by:
Hi, I've just installed Ajax November CTP, changed app according to instructions and I am (was) satisfied. Next step - deployment to server. I'm receiving error:...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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
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,...

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.