The C# code is controlled by all the settings in the app.config of the primary app (not the VB6 app). I am trying to add a COM interop to show one of the forms in the primary app from an old VB6 app. Since the settings are in the app.config of the primary app they are not available in the VB6 app.
When the VB6 app does the COM call and the form makes the NHibernateHelper call there is no config loaded since the original C# app calls for the config of the executing app - now the VB6 app - and that does not exist. Is there a better way to set up the app.config? On Feb 22, 2:57 am, haarrrgh <[email protected]> wrote: > Why don't you just use the same C# data access code via COM-Interop > from VB6? -- You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/nhusers?hl=en.
