Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing Graph through MSWord
Message
De
01/06/2003 23:52:31
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00794886
Message ID:
00795069
Vues:
13
After Reading your message i tried to check error in which line it is coming
as follows

---------------------------
IF ISNULL(THISFORM.oWord)
THISFORM.oWord=CREATEOBJECT("Word.Application")
ENDIF
WAIT WINDOW "1"
oDoc=THISFORM.oWord.Documents.Add()
WAIT WINDOW "2"
THISFORM.Simplechart1.EditCopy()
THISFORM.oWord.Selection.PasteSpecial(.F., .F., 0, .F., 3)
WAIT WINDOW "3"
oDoc.PrintOut
oDoc.Close(0)
---------------------------
but this time it is printing without any error.

but when i removed wait window command

it again reports error

i don't understand why this is happening. (Wait window is playing some role)

My setup is WinXp,Office XP and VFP 8.0

Anand
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform