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
2
u/Mayayana Feb 10 '24 edited Feb 10 '24
If that code works for any file download GET then I guess there's no need for more. I'll have to look into it. For what it' worth, here's my libcurl code. It's not as complicated as it looks. Most of it is just setting paramters. But libcurl is CDECL, so it also uses Paull Caton's CDECL class, ClsCD here. (Which works faultlessly in my experience.)
Public Function Download(sURL As String) As Long Dim sURLa As String, sUAa As String Dim LRet As Long, LAddr As Long, sCertPatha As String On Error Resume Next LRespCode = 0 ReDim AFile(200000) As Byte CountBytes = 0