Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
COM DLL Error
Message
De
02/03/1999 05:21:51
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
COM DLL Error
Divers
Thread ID:
00193057
Message ID:
00193057
Vues:
61
Thanks for your help Rick, Jim and Tim.

The problem is certainly that the command 'REPORT FORM' inherently has a UI, the popup dialog for starters which counts the no. of pages spooled. It might interest you to know that the same behaviour is encountered when we treat VFP as an OLE server from within VB. Namely,

Dim oVFP as Object
Set oVFP = CreateObject(VisualFoxpro.Application)
oVFP.DoCmd("REPORT FORM 'myReport' TO PRINT")

An identical error message is received.

The happy news is that it works fine as an OutOfProcess EXE.
Sanjay Kapoor

Relatively speaking is a conversation with Einstein
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform