I need to pass 2 variables in a shell command that opens another program I have written. I have successfly passed one variable but can't seem to get two to get thru. Here is my code.

******* In sending program ******

Private Sub Command3_Click()
Dim strDBPath As String
Dim strmail As String
strDBPath = Layout.Text67.Text
strmail = Text17.Text
Shell "C:\Program Files\Denali\Page Print.exe " & strDBPath & " " & strmail


End Sub

****** In receiving program *******

Private Sub Form_Load()

Dim strDBPath As String
Dim strmail As String

strDBPath = Command
Text68.Text = strDBPath

strmail = Command
Text34.Text = strmail



Printlayout.WindowState = 0
End Sub

Thank you for your help