Actually that worked in intial testing as long as MyAncientVB6App.exe
and MyAncientVB6App.exe.config exist in the same common output
directory as the original C# dll.

Thanks much...I wish this VB app would disappear!!

On Feb 22, 9:05 am, Diego Mijelshon <[email protected]> wrote:
> What if you copy it as MyAncientVB6App.exe.config?
> In any case, this is not a NH thread anymore.. I suggest you post your
> question in Stackoverflow.
>
>    Diego
>
>
>
> On Mon, Feb 22, 2010 at 11:26, CSLem <[email protected]> wrote:
> > 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]<nhusers%[email protected]­>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/nhusers?hl=en.- Hide quoted text -
>
> - Show quoted text -

-- 
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.

Reply via email to