![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Remoting and ActiveX - Location of .Net Assemblies I have a VB6 ActiveX exe application that uses a .Net DLL that is exposed as a COM DLL. The VB6 application is stored in ParentFolder. The .Net DLL is stored and registered in ChildFolder. I have several other .Net DLL's (Com exposed) loaded in ParentFolder that are used by the VB6 app. I have 2 setup programs to install the software. The main server software is in ParentFolder, the optional special software is loaded to ChildFolder only when needed. The .Net DLL does a remoting call to another computer that is setup as the remoting server, hence the server is now the client. The response from the remote computer is returned but the application fails because of a missing assembly. The missing assembly is present in ChildFolder not ParentFolder. This works just fine if the 2 software systems are installed in the same folder. It appears that on the return from remoting, the location of the original VB6 application is used to look for the .Net assemblies instead of the COM registered location, ChildFolder. Is there a way to specify the location of the assembly so that I can keep the 2 folder architecture??? The remoting config file contains very little info: Client Remoting config file: <configuration> <system.runtime.remoting> <application> <channels> <channel ref="tcp" secure="true" TokenImpersonationLevel="identification" port="0" /> </channels> <clientProviders> <formatter ref="binary" /> <formatter ref="soap" /> </clientProviders> <serverProviders> <provider ref="wsdl" /> <formatter ref="soap" typeFilterLevel="Full" /> <formatter ref="binary" typeFilterLevel="Full" /> </serverProviders> </application> <customErrors mode="Off"/> </system.runtime.remoting> </configuration> -- Steve G |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Powershell Assemblies | PowerShell | |||
| Powershell 2.0 with remoting : ok what is Remoting ? | PowerShell | |||
| Powershell assemblies | PowerShell | |||
| ActiveX Control prompt "An ActiveX control on this page might be u | Vista General | |||