PLZ任何一个告诉我使用visual basic打开带并行端口的exe文件的程序 [英] PLZ any one tell me the program to open an exe file with parallel port using visual basic

查看:158
本文介绍了PLZ任何一个告诉我使用visual basic打开带并行端口的exe文件的程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在一个目录中有一个exe文件,例如:c:\。现在我想使用与交换机连接的并行端口调用该文件。当我在交换机上时,信号通过并行端口和vb脚本的帮助和使用

shell()命令我们需要调用..... plz任何人帮我编码这个

i hav an exe file in a directory ,example:"c:\".now i want to call the file using parallel port to which a switch is connected .when i on the switch the signal is passes through the parallel port and with the help of vb script and using
"shell ()" command we need to call.....plz any one help me in coding this

推荐答案

没有办法通过将任何设备连接到并行端口来自动运行exe文件 - 它只是不能那样工作。

你必须有一个程序坐在PC​​上监控并行端口并在被告知时执行程序。



见这里: I / O端口编程(并行端口)使用VB.NET读/写+监控系统 [ ^ ]



和这里:进程类 [ ^ ]
There is no way to automatically run an exe file by just connecting any device to a parallel port - it just doesn''t work like that.
You would have to have a program sitting on the PC monitoring the parallel port and executing the program when told to.

See here: I/O Ports Programming (Parallel port) Reading / Writing + Surveillance System using VB.NET[^]

and here: Process Class[^]


这篇关于PLZ任何一个告诉我使用visual basic打开带并行端口的exe文件的程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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