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

Reflection / Dependencies / Remoting

I have made a "shell" for Windows applications. The shell contains auto
update, authentication and other things that are common for applications. The
shell can contain 1 or more applications.

Each application is a plugin and resides in a separate assembly. The
applications are loaded with Reflection into the shell.

The file structure is as follows:
ShellApp Folder (contains Shell.exe)
Plugin Folder (contains all the applications)

Here comes my question:
I have made an application that uses remoting. The (client) application
consist of two assemblys: App.dll and CommonRemoting.dll. In
CommonRemoting.dll I have put the classes that are in common between the
server and client. App.dll has a dependency to CommonRemotin.dll.
My problem rises when I try to do remoting. Since Shell.exe has loaded
App.dll by remoting it seems as App.dll can't find CommonRemoting.dll as it
It works when App.dll connects to the server but when the server sends a
custom object (that is specified in CommonRemoting) I get an exception.

If I put Shell.exe, App.dll and CommonRemoting.dll in the same directory
then everything works, but I really don't want to do that.

Has anyone any ideas on how to solve my problem?

Best regards
Björn Jansson
Jul 21 '05 #1
0 1149

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

Similar topics

by: Sam Loveridge | last post by:
Hi all. I have a Web Service that I'm writing that needs to reference a VB.NET dll. The catch is that the VB.NET dll has a dependency on a COBOL dll which I can't load in my development...
by: Mike Malter | last post by:
I am just starting to work with reflection and I want to create a log that saves relevant information if a method call fails so I can call that method again later using reflection. I am...
by: Michael Bcker-Larsen | last post by:
Hi I'v been stuck on this problem for ages now. I have found that I'm not the only one with this problem, by looking through the different newsgroups. Hope you can help me! I know there is a...
by: Jeff | last post by:
I am trying to dynamically load an assembly via reflection and then invoke a method of that assembly that will populate a custom type collection passed into the method byref. I am able to...
by: Björn Jansson | last post by:
Hi, I have made a "shell" for Windows applications. The shell contains auto update, authentication and other things that are common for applications. The shell can contain 1 or more applications....
by: Tim Marsden | last post by:
Hi, I am running the following vb code. I am trying to dymanically load my assembly at runtime and run a method in it. Dim ad As AppDomain Dim i as myinterface ad =...
by: Jan | last post by:
How do I grant permission to use reflection by a remoting server object? I'm trying to use Type.InvokeMethod in the server object class but I get a MissingMethodException: "Method '<namenot...
by: Miro | last post by:
I can run an exe ( and its install ) i have created on my machine. The exe has a button that populates a dataset and then shoots it to a crystal report. But... Installing the setup.exe on my...
by: Miro | last post by:
<i have also added this reply to the other newsgroup - now that I have realizd ( and assuming ) it is not a localized error directly to vb.> I have found this link on the website:...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
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
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...
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...
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...

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.