Hi Ziv,
From your descriptions, I understood that function AppActivate could not be
active in MDE but it works well in MDB files. Have I understood you? If
there is anything I misunderstood, please feel free to let me know
However, I am not sure about your coding of AppActivate. Could you show me
how it works in your scenario? Will there be any error message when you try
to make it effective? Would you please show me more detailed information so
that I could make it reproduced in my machine?
Based on my testing, I make a mdb file in Access 2002-2003 format and add a
command button in one new created Form, add sub like
Private Sub Command2_Click()
'Method 1
Dim MyAppID, ReturnValue
AppActivate "Microsoft Word" ' Activate Microsoft Word
'Method 2: AppActivate can also use the return value of the Shell function.
MyAppID = Shell("C:\Program Files\Microsoft Office\OFFICE11\WINWORD.EXE",
1)
' Run icrosoft Word.
End Sub
The codes above could be both effective in mdb file and mde file on my
machine
Thank you for your patience and cooperation. If you have any questions or
concerns, don't hesitate to let me know. We are here to be of assistance!
Sincerely yours,
Michael Cheng
Microsoft Online Support
***********************************************************
Get Secure! -
www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
Please reply to newsgroups only, many thanks.