Message 1 of 3
running Tcl-Application from VBA 6.0
Not applicable
08-07-2001
06:41 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I'd like to start a Tcl-Script from VBA. In the NT-Dos-Shell the following
command works properly :
" tclsh83 D:/TCL_Programme/test.tcl > D:/TCL_Programme/rest_0.txt "
The Vba-Code doesn't have any result:
Dim Ergebnis
Dim strName As String
strName= "D:/TCL_Programme/test.tcl > D:/TCL_Programme/rest_0.txt"
Ergebnis = Shell("tclsh83 & Space(1) & strName, 1)
Also using the SendKey-Method :
Ergebnis = Shell("tclsh83.exe ") // is successful
SendKeys "D:/TCL_Programme/test.tcl > D:/TCL_Programme/rest_0.txt", True
or even SendKeys "exit, True" in order to terminate doesn't work.
Any Ideas how surrender Parameteres to tcl83 ?
Thanx
I'd like to start a Tcl-Script from VBA. In the NT-Dos-Shell the following
command works properly :
" tclsh83 D:/TCL_Programme/test.tcl > D:/TCL_Programme/rest_0.txt "
The Vba-Code doesn't have any result:
Dim Ergebnis
Dim strName As String
strName= "D:/TCL_Programme/test.tcl > D:/TCL_Programme/rest_0.txt"
Ergebnis = Shell("tclsh83 & Space(1) & strName, 1)
Also using the SendKey-Method :
Ergebnis = Shell("tclsh83.exe ") // is successful
SendKeys "D:/TCL_Programme/test.tcl > D:/TCL_Programme/rest_0.txt", True
or even SendKeys "exit, True" in order to terminate doesn't work.
Any Ideas how surrender Parameteres to tcl83 ?
Thanx