Just trying to start out simple with Drop Object. Read what I could online but haven't been able to make it work.
So, when a users drags a file onto a Bevel Button, I want to a message box the native path to the file.
Here's what I've got in the Open EvenHandler for the BevelButton
dim msifile as new filetype msifile.Extensions = "msi" me.AcceptFileDrop FileType(msifile)
And here's what I have the the Drop Object Event Handler
if obj.FolderItemAvailable then dim f as FolderItem = obj.FolderItem dim path as String = f.NativePath MsgBox path end
Not only does that message box not come up, but I get a the circle with the line through it on the drag, showing it's not accepting the file. And yes, the file ends with .msi extension.