VB.NET,通过宏调用带参数的可执行文件
我有一个使用宏的应用程序。
在这个宏中,我想调用一个外部可执行文件,如下所示:
SYSTEM( "C:\Programme\Transform.exe" ,
"C:\Programme\Vectors.txt" ,
"C:\Programme\Vectors_Compensate.txt",
"C:\Programme\Vectors_Final.txt" )
该可执行文件根据模板文件重建修改后的文件。 最后,创建一个新文件。
Transform.exe 打开一个询问路径的表单 - 模板文件 - 修改文件 - 您想要放置新的重建文件的位置。
之后您按开始。
我希望当您调用该命令行时,
SYSTEM( "C:\Programme\Transform.exe" ,
"C:\Programme\Vectors.txt" ,
"C:\Programme\Vectors_Compensate.txt",
"C:\Programme\Vectors_Final.txt" )
参数将位于表单中的位置。
我怎样才能做到这一点 ???
谢谢。
I have an application that used Macro.
In this macro I would like to call an external executable like this:
SYSTEM( "C:\Programme\Transform.exe" ,
"C:\Programme\Vectors.txt" ,
"C:\Programme\Vectors_Compensate.txt",
"C:\Programme\Vectors_Final.txt" )
This executable reconstruct a modified file according to a template file.
Finally, a new file is create.
Transform.exe open a form that ask the Path for
- Template File
- Modified file
- where you want to put the new reconstruct file.
After this you press start.
I would like that when you call that command line
SYSTEM( "C:\Programme\Transform.exe" ,
"C:\Programme\Vectors.txt" ,
"C:\Programme\Vectors_Compensate.txt",
"C:\Programme\Vectors_Final.txt" )
The parameter will go in the place in the form.
How can I do that ???
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在此处输入代码
我找到了它:enter code here
I found it :