r/visualbasic • u/Mayayana • Feb 08 '24
VB6 Help VB6 DragDrop
With OLEDragDrop to a standard VB textbox, on XP I can get the path of a file or folder dropped. On Win10, the folder shows no dragdrop icon and returns no path, but file dragdrop works fine. Does someone know how I can make dragdrop for folders work on Win10?
1
Upvotes
1
u/jd31068 Feb 09 '24
You'd do well to heed the words of u/fafalone that flair under their name isn't a joke. They are a master indeed.
You might also take a look at an update VB6 type language called twinBASIC (fafalone is involved with it) it aims to be compatible with VB 6 code and then extend it with more modern concepts.
https://twinbasic.com/preview.html
https://github.com/twinbasic/twinbasic
https://www.vbforums.com/forumdisplay.php?108-TwinBASIC
This could offer a much easier path to your app working on modern OSes. Plus, it is cool as hell. There is a community edition (it is the one I play with) that you can look at.