Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to place the data to MS-project 4.0 (URGENT)!!!!!
Message
De
26/11/1997 23:22:00
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
How to place the data to MS-project 4.0 (URGENT)!!!!!
Divers
Thread ID:
00062530
Message ID:
00062530
Vues:
74
Pls help me how to place the data in an Ms-project 4.0 from VFP???(URGENT)

#DEFINE TAB CHR(9)
#DEFINE CRLF CHR(13)
#DEFINE LINKMODE 2

PUBLIC CHANNEL_NO
LOCAL I,J,K,L

SET DEFA TO D:\TEST
USE TEST SHARE
RUN /N D:\Program Files\Microsoft Office\Office\EXCEL.EXE
*RUN /N D:\Program Files\Microsoft Office\Office\WINWORD.EXE
*RUN /N C:\WINPROJ\WINPROJ.EXE
CHANNEL_NO = DDEINITIATE("","SYSTEM")
IF CHANNEL_NO = -1
WAIT WINDOW "Excel DDE can't build!"
CANCEL
ENDIF
L = 3
FOR I = 1 TO L
GO RECORD I
=DDEEXECUTE(CHANNEL_NO,TASK_NAME+tab)
J = DTOC(START)
=DDEEXECUTE(CHANNEL_NO,J+tab)
K = dtoc(finish)
=DDEEXECUTE(CHANNEL_NO,K+CRLF)
NEXT

In that program , i can place the data in excel and word!!
but it can not place to MS-project 4.0
can someone help me how to modify that program that it can place data
to ms-project????

Pooh
Répondre
Fil
Voir

Click here to load this message in the networking platform