Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to place the data in an MS-project 4.0????
Message
From
20/11/1997 04:52:06
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
How to place the data in an MS-project 4.0????
Miscellaneous
Thread ID:
00061333
Message ID:
00061333
Views:
103
pls help me how to place the data in an Msproject 4.0 form VFP???

#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 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
Next
Reply
Map
View

Click here to load this message in the networking platform