0
Answer

ConfigurationFile and COM interop

Ask a question
benaudi

benaudi

19y
1.8k
1
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!!!