|
3#
楼主 |
发表于 2007-4-24 17:26:00
|
只看该作者
试用vb搞的直接运行access程序,请高手搞个完全无启动画面的.
代码:
Private Sub Main()
Dim strAPP As String
Dim strSecuredFileName As String
Dim strAppFileName As String
Dim AccApp As New Access.Application
Dim AccPath As String
AccPath = AccApp.SysCmd(acSysCmdAccessDir)
Set AccApp = Nothing
strAppFileName = App.Path & "\test.mde" & """UNTIME"
strAPP = """" & AccPath & "\msaccess.exe"" """ & _
strAppFileName
Shell strAPP, 3
If Err <> 0 Then
MsgBox Err.Description
End If
End Sub
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?注册
x
|