|
-
June 28th, 2001, 05:18 PM
#1
open word
I'm opening Microsoft word from VB 6 application.
i use command
app_path is winword.exe path from registry and trial.doc is in the same directory.
taskId = Shell(app_path & "trial.doc", 1)
error message says "File could not be found.
i use similar code for Acrobat reader and that works fine.
I have one more question,
When another application is opened from VB. How to make that application active window. In my case, sometime it is active and sometime it goes in background. I tried AppActivate, but it does not work.
Any help will be highly appreciated.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|