Hi Brad,
A VFP .APP file is compiled code that can only be run from inside the VFP
IDE or can be called by a VFP .EXE file, which has code added to make it
able to be executed against the VFP runtime files by themselves.
The correct way to do what you want is to compile the code as a "Win 32
executable / COM server (exe)" or as a "Single-threaded COM server (dll)"
(or Multi-threaded).
As far as instantiating an object from a Fox DLL in VB.NET, and then using
the Fox DLL to instantiate another object from a second Fox DLL, I did an
experiment (wrote a text file instead of instantiating a form) and was
successful with a VB.NET project instantiating an object from Fox DLL #1
which instantiated an object from Fox DLL #2, which also wrote a text file
to verify its existence.
--
Cindy Winegarden
(e-mail address removed)
VFP OLE DB:
http://msdn2.microsoft.com/en-us/vfoxpro/bb190232.aspx
VFP ODBC:
http://msdn2.microsoft.com/en-us/vfoxpro/bb190233.aspx