code:
MSN.SendFile(<contact>, "")
This should work (replace 'MSN' with the name of your variable). It will open the File dialog.
If you want to process the return value, assign it to a MessengerWindow object.
Find attached a .chm file that details the Messenger API for both C++ and VB.