Transfering Files With The Internet Transfer Control

Max - Demian Net December 2, 2004 Page 1 of 5
We\'ll also use the status bar control that ships with VB to display status information about the connection. To add the status-bar control to your application, choose the Project | Components... menu item, then select Microsoft Windows Common Controls 5.0 and click OK.
The sample application lets users transfer files by dragging them from one list box to the other. Although this feature is optional, it\'s very user-friendly. The sample code found in Listing A shows you the steps to implement this drag-and-drop feature--pay particular attention to the MouseDown, MouseUp, and DragDrop events. We\'ll examine how those transfers are performed throughout the rest of this article.