将值传递给VB6 [英] Passing a value to VB6

查看:52
本文介绍了将值传递给VB6的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我试图将ASP脚本中的值传递给服务器上运行

的VB应用程序。我有这个工作的唯一方法是使用一个文件,

这太慢了。我尝试使用DDE,但如果一个VB应用程序包含一个表单,那么我不能让它在IIS下运行。有人做过类似的事吗?

Hi,

I am trying to pass a value from an ASP script to a VB application running
on the server. The only way I have got this to work is by using a file,
which is too slow. I tried using DDE but if a VB app contains a form then I
can''t get it to run under IIS. Anybody done something similar?

推荐答案

你是如何调用VB应用程序的?你刚刚用shell

命令执行它,或者它是一个activeX的东西你是否在你的ASP

应用程序中创建它?


Ray在工作


" Freeserve" <无**** @ bigfoot.com>在消息中写道

news:bl ********** @ newsg1.svr.pol.co.uk ...
How are you calling the VB app? Are you just executing it with a shell
command, or is it an activeX thing and you''re creating it within your ASP
app?

Ray at work

"Freeserve" <no****@bigfoot.com> wrote in message
news:bl**********@newsg1.svr.pol.co.uk...

我试图将ASP脚本中的值传递给服务器上运行
的VB应用程序。我使用它的唯一方法是使用一个文件,这太慢了。我尝试使用DDE,但如果一个VB应用程序包含一个表单然后
我不能让它在IIS下运行。有人做过类似的事吗?
Hi,

I am trying to pass a value from an ASP script to a VB application running
on the server. The only way I have got this to work is by using a file,
which is too slow. I tried using DDE but if a VB app contains a form then I can''t get it to run under IIS. Anybody done something similar?



是的。它是一个小型的VB应用程序,它将DDE字符串发送到另一个VB应用程序,它始终在运行
。它可以在命令行中运行,但由于它使用了一个

表单,因此从ASP脚本调用它时会挂起,因为我认为它正在尝试与桌面进行交互。 (您可以在任务管理器中看到该应用程序)。一个

类似的应用程序,只需写入文件即可。


Ray at<%= sLocation%> < myfirstname at lane34 dot com>在消息中写道

新闻:uH ************** @ TK2MSFTNGP11.phx.gbl ...
Yes. It is a small VB app which sends a DDE string to another VB app which
is running all the time. It works from the command line, but as it uses a
form it hangs when called from an ASP script as I think it is trying to
interact with the desktop. (you can see the app in Task Manager). A
similar app which just writes to a file works OK.

"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:uH**************@TK2MSFTNGP11.phx.gbl...
你怎么称呼VB应用程序?你刚刚用shell
命令执行它,或者它是一个activeX的东西,你是否在你的ASP
应用程序中创建它?

雷在工作
Freeserve <无**** @ bigfoot.com>在消息中写道
新闻:bl ********** @ newsg1.svr.pol.co.uk ...
How are you calling the VB app? Are you just executing it with a shell
command, or is it an activeX thing and you''re creating it within your ASP
app?

Ray at work

"Freeserve" <no****@bigfoot.com> wrote in message
news:bl**********@newsg1.svr.pol.co.uk...

我正在尝试将值从ASP脚本传递到服务器上运行的VB应用程序
。我使用它的唯一方法是使用一个文件,这太慢了。我尝试使用DDE但是如果一个VB应用程序包含一个表单
Hi,

I am trying to pass a value from an ASP script to a VB application running on the server. The only way I have got this to work is by using a file,
which is too slow. I tried using DDE but if a VB app contains a form


那么我

不能让它在IIS下运行。有人做过类似的事吗?
can''t get it to run under IIS. Anybody done something similar?




Person1:是A还是B?

Person2:是


很好。 ;]


如果它在命令行中起作用,它是否接受命令
Person1: Is it A or B?
Person2: Yes

Nice. ;]

If it works from the command line, does it accept command


这篇关于将值传递给VB6的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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