使用Access 2000运行.exe [英] Run a .exe with Access 2000

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

问题描述

您好,我需要一些帮助.
我只是设法用命令Shell("root/name.exe")运行.exe前端Access 2000,但是现在我需要在前窗口中显示新窗口(我的外部应用程序),因为当我运行Shell命令将其最小化.

预先输入

Hello i need a bit of help.
I just managed to run a .exe front Access 2000 with the command Shell ("root/name.exe"), but now i need that the new window(my outside app) shows up in the front window, because when i run the Shell command it comes minimized.

Ty in advances

推荐答案

这在VB中,但对您有帮助
http://office.microsoft.com/en-us/access-help/shell-function-HA001228906.aspx [ ^ ]

基本上,您应该致电
This is in VB, but it should help you
http://office.microsoft.com/en-us/access-help/shell-function-HA001228906.aspx[^]

Basically you should call
Shell("root/name.exe", 1)


谢谢.
我使用了一个变体
thanks.
i used a variant
 Dim name as Variant
name= Shell("root/name.exe",vbMaximizedFocus)

或vbNormalFocus也很好,但是谢谢:)

or the vbNormalFocus was good also, but thanks :)


这篇关于使用Access 2000运行.exe的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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