Here is a userlib to do it:
http://www.blitzbasic.com/toolbox/toolbox.php?tool=151
Edit: Okay, it's updated.
You can use the Windows API to send WM_COPYDATA messages between your two programs. (Just send program 2 your window handle through the command line, and things should be sorted).
If you need help with that Windows API stuff, feel free to ask.
A search in these forums should reveal everything you need, though -- I know that there is at least one very big post about it. (By me). Then there's the person from whom I learned it, who is also on these very forums...
http://www.blitzbasic.com/toolbox/toolbox.php?tool=151
Edit: Okay, it's updated.
You can use the Windows API to send WM_COPYDATA messages between your two programs. (Just send program 2 your window handle through the command line, and things should be sorted).
If you need help with that Windows API stuff, feel free to ask.
A search in these forums should reveal everything you need, though -- I know that there is at least one very big post about it. (By me). Then there's the person from whom I learned it, who is also on these very forums...