In your dll you can have something like this:
Code:
Public Sub RunExe(prog As String, arglist As String)
Shell prog & " " & arglist, vbNormalFocus
End Sub
where
- PROG must have full exe path+name
- and arglist is some list of command line arguments
In the program that will run on main ,form_load OR sub main you'll have to parse command line args like this:
Code:
Private Sub Form_Load()
Dim myComArgs As String
myComArgs = Command()
'you take from here...
End Sub