Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Yousfi Benameur
  Where is Yousfi Benameur?
 El Bayadh
 Algeria
 Yousfi Benameur
 To: chetan solanki
  Where is chetan solanki?
 Mumbai
 India
 chetan solanki
 Tags
Subject: RE: call cobol program from Visual foxpro 6.
Thread ID: 209478 Message ID: 209561 # Views: 2 # Ratings: 0
Version: Visual FoxPro 6 Category: General VFP Topics
Date: Monday, December 29, 2008 3:28:54 PM         
   


> Hi All,
>
> i need call cobol program from Visual foxpro 6.0 without using adodb, please help.

I this program have an association call in windows explorer (dbclick to execute in) then you can use shellexecute from vfp
DECLARE INTEGER ShellExecute IN shell32.dll ; 
  INTEGER hndWin, STRING cAction, STRING cFileName, ; 
  STRING cParams, STRING cDir, INTEGER nShowWin

aa="myCobolprogram..."  &&with extension
ShellExecute(0,"open",aa,"","",1)   &&3 for full window

regards

ENTIRE THREAD

call cobol program from Visual foxpro 6. Posted by chetan solanki @ 12/29/2008 8:03:19 AM
RE: call cobol program from Visual foxpro 6. Posted by Eric den Doop @ 12/29/2008 8:37:49 AM
RE: call cobol program from Visual foxpro 6. Posted by Yousfi Benameur @ 12/29/2008 3:28:54 PM