Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Run VFP app without a UI
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00929177
Message ID:
00929198
Vues:
11
I just recently did this and it works. The biggest problem is the paths. I just created a class and called it from a prg. The prg is the main program in the project manager

The config.fpw has SCREEN=OFF

* turn off NT login services
=SYS(2340, 1)

* set the environment
DO SetEnv

* the error handler does a STRTOFILE() with the error information
ON ERROR DO errhand WITH ;
ERROR( ), MESSAGE( ), MESSAGE(1), PROGRAM( ), LINENO( )

LOCAL o
o = NEWOBJECT('cMyServer', 'MyServer.vcx')
READ EVENTS

o = .null.

CLOSE ALL
CLEAR ALL
RELEASE ALL

QUIT
Jeff Johnson
SanDC, Inc.
www.san-dc.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform