Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Integrating SDT
Message
From
24/11/1999 15:09:34
 
 
To
24/11/1999 10:53:11
Steven Herbin
SNH Computing Corporation
Swan Lake, New York, United States
General information
Forum:
Visual FoxPro
Category:
Third party products
Title:
Miscellaneous
Thread ID:
00295051
Message ID:
00295230
Views:
28
Here is code that you can put in the class AppApplication in BeforeReadEvents


SET DATABASE TO AppData

PUBLIC oMeta
oMeta = newobject('DBCXMgr', 'DBCXMGR.VCX', '', .F.)
if type('oMeta') <> 'O' or isnull(oMeta)
* display an error message and exit, because DBCX cannot be used
endif type('oMeta') <> 'O' ...
oMeta.SetDatabase(dbc())

* Require successful logon before application may continue.
* If you dont care about secutity issues, you can remove this line.
RETURN IIF(ISNULL(THIS.oSecurity), .T., THIS.oSecurity.AutoLogonDialog())



HTH
*******************************************************
Save a tree, eat a beaver.
Denis Chassé
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform