473,327 Members | 2,012 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,327 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 1166

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: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.