在服务器端运行access.exe [英] run access.exe on server side

查看:62
本文介绍了在服务器端运行access.exe的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以在服务器端打开客户端pc触发器access.exe

pc?

i想让服务器运行特殊功能并返回输出

给客户而不让客户自己运行这些功能。

can i have a client pc trigger access.exe to open on the server side
pc?
i want to have the server run special functions and return the output
to the clients without having the clients run the functions itself.

推荐答案

" Gil" < GI ******* @ gmail.com>在消息中写道

news:11 ********************** @ z14g2000cwz.googlegr oups.com ...
"Gil" <gi*******@gmail.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
我可以在客户端PC上触发access.exe在服务器端打开
pc?
我想让服务器运行特殊功能并将输出返回给客户端没有客户端自己运行函数。
can i have a client pc trigger access.exe to open on the server side
pc?
i want to have the server run special functions and return the output
to the clients without having the clients run the functions itself.



可能没有人需要运行Access - 这取决于这些是什么?b $ b''特殊功能' ' 是。客户会使用什么软件?即他们如何启动这些命令以及他们将如何收到

状态的通知?客户端是否安装了ms访问权限,或者您是否需要使用其他东西运行这些功能,例如Web浏览器。


There may well be no need for anyone to run Access - it depends what these
''special functions'' are. What software will the clients have? ie how will
they initiate these commands and how will they receive notification of the
status? Do the clients have ms access installed or would you need to run
these functions using soemthing else, eg a web browser.


严格回答您的问题问题,是的,您可以使用Shell命令在客户端PC上运行

MSACCESS.EXE。语法为:

Shell" Path:\ Too \ MSACCESS.EXE"


这会生成一个命令窗口并直接调用程序文件。


但是,如果你想要特殊功能,你会想要在服务器上调用你的自定义数据库。运行 - MSACCESS.EXE只打开父

MDI窗口。所以相反,你会使用ShellPath:\ Too \CustomMDB.mdb

并将你的特殊功能放在
$ b中,无论它们是什么。 $ b您的启动表单的Form_Load事件。

Strictly answering your question, yes, you can have your client PC run
MSACCESS.EXE on the server by using the Shell command. The syntax is:
Shell "Path:\To\MSACCESS.EXE"

This spawns a command window and calls the program file directly.

However, you''ll want to call your custom database on the server, if you
want "special functions" to run - MSACCESS.EXE just opens the parent
MDI window. So instead, you would use Shell "Path:\To\CustomMDB.mdb"
and put your "special functions", whatever they may be, in the
Form_Load event of your startup form.


Steve写道:
严格回答您的问题,是的,您可以拥有客户端PC使用Shell命令在服务器上运行MSACCESS.EXE。语法是:
Shell" Path:\ Too \ MSACCESS.EXE"

这会生成一个命令窗口并直接调用程序文件。
Strictly answering your question, yes, you can have your client PC run
MSACCESS.EXE on the server by using the Shell command. The syntax is:
Shell "Path:\To\MSACCESS.EXE"

This spawns a command window and calls the program file directly.




那肯定行不通。如果该exe是需要实际安装的exe,那么在另一台计算机上调用exe将不会起作用。程序(大多数情况下是
)。系统仍然会在本地PC上查找所有支持文件和注册表

条目,因为它们不存在,可执行文件将无法运行




对于像Calculator这样完全自包含的可执行文件,它可以使用
,但可执行的在服务器上是可行的。实际上仍然是使用本地资源在本地PC上执行的
。可执行文件只需通过局域网拉出并装入本地内存即可。


-

我不喜欢检查此邮件附带的电子邮件帐户

。发送给...

在Hunter dot com的RBrandt



That will certainly not work. Calling an exe on another computer will not
work if that exe is one that requires an actual "installation" program (as
most do). The system will still look for all support files and registry
entries on the local PC and since they don''t exist the executable will fail
to run.

For an executable like Calculator that is completely self-contained then it
would work, but the exeutable "on the server" would still actually be
executed on the local PC using local resources. The executable file would
simply be pulled over the LAN and loaded into local memory.

--
I don''t check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com


这篇关于在服务器端运行access.exe的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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