Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Encapsulated dictionaries
Message
 
To
10/09/1997 04:12:57
Andrzej Majlich
Vulcan sp. z o. o.
Wroclaw, Poland
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00049272
Message ID:
00049300
Views:
52
>I'm trying to implement a set of applications which have to use common dictionaries. For example two different applications (not necessarily VFP apps) should call the same inventory dictionary or the account dictionary.
>I tried to implement the dictionaries as activex multi out-of-process servers (inspired by the article by Gary DeWitt in the August issue of FoxPro Advisor).
>
>Everything worked fine but the form controlling a dictionary database appeared as separate window outside my controller (VFP main window). My attempts to force it to show itself in main foxpro window by manipulating form's properties "Desktop" and "ShowWindow" failed. I got the dictionary form launched by simply "do form" issued in the custom method of server object.
>I've tried to convert my form to object and controll it directly by it's own properties.The attempt of creating form object by "ox = createobj('test.formobj')" caused an error: "OLE error code 0x80020009: Exception occured".
>
>Is it possible anyway to create a server which could behave like any native controller's window or will appear in controller's window?
>
>Or maybe I'm using a heavy cannon to kill a mosquito?
>
>Thanks for any clue.

Hi Andrzej,

I may have misunderstood but it seems to me that all you want to accomplish is to access data from applications written in different languages. Wouldn't it be easier to just pick a data format to store the information in and then have your varying apps access this data using ODBC.

Hope this helps.
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada

cmagee@metroland.com

Never mistake having a career with having a life.
Previous
Reply
Map
View

Click here to load this message in the networking platform