Home
Forums
New posts
Search forums
Articles
Latest reviews
Search resources
Members
Current visitors
Newsgroups
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Home
Forums
Newsgroups
Microsoft Access
Microsoft Access Form Coding
Can't launch mde using button on form
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Stefan Hoffmann, post: 12971446"] hi, MrDavePet wrpte: In VBA you cannot declare by enum. stAppName is declared as Variant if you omit the type. Sure? I don't think so. The problem is that you need to enclose path/file names in quotes when they contain spaces: Dim stAppName As String Dim MyFile As String MyFile = """C:\Program Files\_ICDB\ICDBFEr2.mde""" stAppName = """C:\Program Files\" & _ "Microsoft Office\OFFICE11\MSACCESS.EXE""" Call Shell(stAppName & MyFile, 1) mfG --> stefan <-- [/QUOTE]
Verification
Post reply
Home
Forums
Newsgroups
Microsoft Access
Microsoft Access Form Coding
Can't launch mde using button on form
Top