Shell not displaying

kirkm

Registered User.
Local time
Today, 11:12
Joined
Oct 30, 2008
Messages
1,257
After first testing and seemingly okay this is now failing to show the Thunderbird Window until clicked in the taskbar,

Code:
thund = "D:\Program Files (x86)\Mozilla Thunderbird\thunderbird.exe " & _
                    "-compose " & """" & _
                    "to='" & email & "'," & _
                    "cc='" & cc & "'," & _
                    "attachment='" & Attached & "'," & _
                    "subject='" & subj & "'," & _
                    "body='" & body & "'" & """"
        
            Call Shell(thund, vbNormalFocus)
            SendKeys "^+{ENTER}", True

Are Shell, vbNormalFocus and Sendkeys correct ?
 
Running shell event does not keep a cmd window open.
It just executes the command.
 
The Access window remains, the thunderbird window doesn't appear (whch is what's wanted). Is this what Sendkeys is intended to do?
 

Users who are viewing this thread

Back
Top Bottom