从ASP调用VB exe [英] Call VB exe from ASP

查看:61
本文介绍了从ASP调用VB exe的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问候全部,


我有一个名为print.exe的执行文件,使用VB6开发,它在页面加载中有一些打印功能。我有一个ASP页面,其中有一个打印单击时将启动此exe的按钮。我可以知道我应该如何解决这个问题吗?或者无论如何我可以在ASP页面内合并exe(用按钮执行打印),以便最终用户可以点击VB打印按钮。按钮打印?


非常感谢。


最好的问候

灰色新手

Greetings All,

I have an execution file called print.exe developed by using VB6, it has some printing function in the page load. I have an ASP page that has a "Print" button which will launch this exe when click. May I know how am I supposed to go about this? Or is it anyway I could incorporate the exe (with a button to perform the printing) inside the ASP page so that the end user can click on the VB "Print" button to print?

Thank you very much.

Best Regards
Gray d Newbie

推荐答案

您好灰色,


使用shell命令在服务器上运行exe。查看这些让我知道你是怎么过的。


希望这会有所帮助,


B博士
Hi gray,

Use a shell command to run an exe on the server. Check out these and let me know how you get on.

Hope this helps,

Dr B


你好B博士,


非常感谢你的导游。我尝试了一些代码,但它没有按计划运行。也许代码的结构不正确。你能帮我检查一下并发现我的错误吗?我的代码是这样的:

Hi Dr B,

Thank you so much for your guide. I tried some of the code but it doesn''t work as planned. Perhaps the structure of the code is not correct. Can you please check for me and identified my error? My code is something like this:

展开 | 选择 | Wrap | 行号


顺便说一下Gray,欢迎来到Bytes.com!我希望你发现网站很有用。


你需要输入你想要运行的exe的完整路径。例如
By the way Gray, welcome to Bytes.com! I hope you find the site useful.

You need to put in the full path of the exe you are trying to run. e.g.
展开 | 选择 | Wrap | 行号


这篇关于从ASP调用VB exe的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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