benaudi

benaudi

  • NA
  • 1
  • 0

ConfigurationFile and COM interop

Dec 1 2004 1:09 PM
Hi, I'm trying to load a .config file for a .net componant exposed to COM. the "codebase" of the .net component exposed to COM is "http://..." the configuration file is in the same place. It contains versionning informations. COM component is used in a VB6 program (myVB6app.exe). In the default appDomain, Configuration File is "myVB6app.exe.config" Does anybody know how my COM componant should use the Configuration File I want? ("http://...") I tryed to create a second appDomain. It works, but I could not use a objet created in another appDomain without loading Assembly in default appDomain, and if I load an assembly in default appDomain, I load with the definition found in "myVB6app.exe.config". thank for your help!!!