Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Run cmd
Message
From
06/07/2009 07:03:02
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01410136
Message ID:
01410234
Views:
83
thank you for reply and code
is there away to show (display) result at cmd after run your code

thanks again
>Try
>
>#DEFINE SW_HIDE             0
>lcDir = "c:\qasim\"
>lcCmd = lcDir + "sqlldr"
>lcPrm = "download/ddd@itdd load_mst.ctl"
>DECLARE Long ShellExecute IN "Shell32.dll" ;
>	Long hwnd, String lpVerb, String lpFile, ;
>	String lpParameters, String lpDirectory, Long nShowCmd
>ShellExecute(0, "", lcCmd, lcPrm, lcDir, SW_HIDE)
>
>
>> i need help to run this code via vfp command button
>>
>> run/n cmd
>>c:
>>cd\qasim
>>sqlldr download/ddd@itdd load_mst.ctl
>>
>>or as
>>c:\qasim>sqlldr download/ddd@itdd load_mst.ctl
>>
>>
>>
>>thanks
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform