OLEDragDrop from Explorer to VB5 ListView 
Author Message
 OLEDragDrop from Explorer to VB5 ListView

Why is it that when the sample code from Books Online on how to drag a
file from Windows Explorer to a VB prog works for a textbox but not for
a ListView control?

If Data.GetFormat(vbCFFiles) Then
    'Do for each file
    For Each vFN In Data.Files       'Fails on this line
        Call AddFile(vFN)
    Next vFN
End if

TIA,

-Mike

Sent via Deja.com http://www.*-*-*.com/
Share what you know. Learn what you don't.



Sun, 27 Jan 2002 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. OleDragDrop event in ListView

2. ListView OLEDragDrop selection funny (solved)

3. ListView OLEDragDrop selection funny

4. TreeView and ListView to work like Windows Explorer

5. Explorer Like ListView.....but not quite.

6. Explorer style listview?

7. Makings Explorer like ListView box

8. Still Learning, now Looking to reduce complexity of explorer control or how to use treeview/listview

9. How to sort listview items by colHeader clicked as in Explorer

10. Help! re: Listview Treeview simulation of Windows Explorer

11. FileListView Beta 3 - Explorer Style Listview ActiveX Control

12. Listview & Explorer file-type icons

 

 
Powered by phpBB® Forum Software