Because you can send command line parameters when opening a database, you can customize form-B in db-B to accept the parameters from the "Command" variable, rather than from the OpenArgs method of form-B in db-B.
That sounds much cleaner than the work around that I came up with.
I'm having a bit of trouble getting db-B to open with the switch. I keep getting error 7866 - Microsoft Office Access can't open the database because it is missing, or opened exclusively by another user.
This is what I got when I put "My Sample Criteria" into strCrit, then did a debug print of strDBName after using what you posted as your code to fill strDBName.
C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE" "C:\test\test.mdb" /cmd "My Sample Criteria"
Please note there is no double quote (") in front of the C:\Program Files ... line. Maybe the shortcut fills that in for you, but VBA will not. Maybe add the Chr(34) in front of the "C:\...." and try that.