Visual Basic和dos软件转换 [英] Visual basic and dos software transover

查看:109
本文介绍了Visual Basic和dos软件转换的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我有一个dos软件可以接受一些输入并产生输出结果。所以现在我想用gui软件将其转换为使用visual basic更加用户友好,想法是dos软件将在gui软件的背景下工作,输入和输出将由gui软件照顾。那有可能吗?



如果还是请建议一些链接。



我尝试了什么:



dos软件工作正常。它逐步询问其相关输入并产生输出。

hi everyone,

i had one dos software that take some inputs and produce its output result. so now i want to convert it in gui software to make is more user friendly using visual basic, idea is dos software will work in background of gui software and inputs and output will take care by gui software. So is it possible?

if than please suggest some link.

What I have tried:

dos software is working fine. it ask step by step of its relevant input and than produce output.

推荐答案

可以使用ProcessStartInfo.RedirectStandardOutput Property(System.Diagnostics) [ ^ ]和ProcessStartInfo.RedirectStandardInput Property(System.Diagnostics) [< a href =https://msdn.microsoft.com/en-us/library/system.diagnostics.processstartinfo.redirectstandardinput(v=vs.110).aspx\"target =_ blanktitle =New Window> ^ ]。



但我建议编写一个新的应用程序,实现命令行应用程序的任务,如果t帽子很简单,或者您可以访问源代码。
It is possible using the ProcessStartInfo.RedirectStandardOutput Property (System.Diagnostics)[^] and ProcessStartInfo.RedirectStandardInput Property (System.Diagnostics)[^].

But I suggest to write a new application implementing the tasks of the command line application if that is rather simple or you have access to the source code.


这篇关于Visual Basic和dos软件转换的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆